Details
-
Task
-
Resolution: Done
-
P1: Critical
-
6.6
-
None
-
f95f070e5 (dev), 68797cb01 (dev), 2a2eee5f0 (dev), 44a78d01b (dev), c75a4ab1f (6.6), 4b1109bcb (6.6), 526e3556a (6.6), d5c411f11 (6.6)
Description
Add support for currently unsupported JS-stuff in the Dom or avoid crashing when encountering them. Also write tests for it.
See also following files that asserts in qqmldomastcreator:
excludedFiles << u"tests/auto/qml/qmlformat/data/ecmaScriptClassInQml.qml"_s; // we dont need ecmascriptclass support, so avoid crashing on this file
excludedFiles << u"tests/auto/qml/qmlformat/data/Example1.qml"_s; // this should be supported in the Dom!
excludedFiles << u"tests/auto/qml/qmlformat/data/nestedFunctions.qml"_s; // this should be supported too!
See https://codereview.qt-project.org/c/qt/qtdeclarative/+/491538 on an example on how to avoid the crashes for the unsupported constructs.
Attachments
Issue Links
- relates to
-
QTBUG-118688 dom: support enumerations in QML
-
- Closed
-