Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.2.0, 5.2.1
-
None
-
7d25db8ff452926e58b7a66608666b35c194fc69
Description
Loading the following code via WorkerScript will result in "Invalid write to global property 'func'" in 5.2:
"jstest.js"
function func() {
console.log("success!")
}
"JsTest.qml"
WorkerScript {
id: worker
source: "jstest.js"
}
An example that can be run via qmlscene is attached.
This is a regression against 5.1.x.
Attachments
Issue Links
- relates to
-
QTBUG-36881 Regression: tst_QQuickWorkerScript::script_included() failing in Qt 5.2
-
- Closed
-
For Gerrit Dashboard: QTBUG-36874 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
78367,1 | Allow functions to be defined in worker script JS files. | release | qt/qtdeclarative | Status: ABANDONED | -2 | 0 |
79208,1 | Fix global object handling in worker script JS files. | stable | qt/qtdeclarative | Status: MERGED | +2 | 0 |