Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
5.15.10, 6.3.1
Description
We have been developing test cases for Squish CoCo QML analysis.
I was trying to develop a test case where I try to use Javascript Atomics -objects in QML code.
My problem is that it seems the Qt qml runners returns a TypeError for these type of static objects, even they are listed here
Issue can be reproduced with a simple code snippet as follows:
import QtQuick 2.15 QtObject { Component.onCompleted: { const buffer = new ArrayBuffer(16) // Same issue with SharedArrayBuffer const uint8 = new Uint8Array(buffer) uint8[0] = 7 console.log(Atomics.load(uint8, 0)) Qt.callLater(Qt.quit) } }
Reproduced with both, Qt6.3.1 and Qt 5.15.10