Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
5.15.15, 6.5.3
-
445a52209 (dev), 6aae5b1bf (6.6), fcae6b3dd (tqtc/lts-6.5), 197275cc4 (tqtc/lts-5.15), d71cd40e4 (tqtc/lts-6.2)
Description
Empty script element in a state chart ends up in Q_UNREACHABLE. Attached example should reproduce this.
However, according to the spec there should be src or some content in the script tag:
https://www.w3.org/TR/scxml/#script
So I am guessing this isn't conformant and probably something that should have been failing at compile/parsing time already.
Attachments
For Gerrit Dashboard: QTBUG-118050 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
516584,4 | qtscxml: Error out when no script content given | dev | qt/qtscxml | Status: MERGED | +2 | 0 |
516617,2 | qtscxml: Error out when no script content given | 6.6 | qt/qtscxml | Status: MERGED | +2 | 0 |
516704,2 | qtscxml: Error out when no script content given | tqtc/lts-6.5 | qt/tqtc-qtscxml | Status: MERGED | +2 | 0 |
516731,3 | qtscxml: Error out when no script content given | tqtc/lts-5.15 | qt/tqtc-qtscxml | Status: MERGED | +2 | 0 |
516794,3 | qtscxml: Error out when no script content given | tqtc/lts-6.2 | qt/tqtc-qtscxml | Status: MERGED | +2 | 0 |