Details
-
Bug
-
Resolution: Won't Do
-
P3: Somewhat important
-
None
-
4.6.0
-
None
Description
If you have a native function that's called by a JS function that was invoked as a constructor (i.e. using the new operator), and call the parent context's (i.e. JS context's) isCalledAsConstructor() function, it always returns false. This only happens when the JIT is enabled.
This is a behavioral change from 4.5.
Attachments
Issue Links
- is required for
-
QTBUG-17856 Resolve QtScript behavioral differences due to switching to JavaScriptCore
-
- Closed
-
-
QTBUG-16571 Resolve QtScript behavior that reflects implementation of old ("classic") back-end
-
- Closed
-