Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
5.0.0 Beta 2
-
None
-
c18e04b2e61f174a4883f6884cf9a0712c5725e3 (qt/qtdeclarative)
Description
When a XMLHttpRequest is performed from within the calling context of an external script, a reference to the context is created by QXMLHttpRequest and stored in a non-persistent v8 variable.
When this variable is garbage collected after the XMLHttpRequest completes, QV8ContextResource clears the associated QQmlContextData and no further XMLHttpRequests are possible from this context.
A patch for this issue is available at https://codereview.qt-project.org/41481