Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.5.1
-
None
-
Ic52fc9f7999f3dd00ef4022c959361782bd1ccd2
Description
Problem found on MacOSX, Ios & Android with Qt 5.5.1 official release for MacOSX
Here is a minimal code to reproduce the issue :
Window {
visible: true
Button {
text: "Test"
onClicked: {
var req = new XMLHttpRequest()
req.onreadystatechange = function (event) {
if (req.readyState === XMLHttpRequest.DONE)
}
req.open("GET", "http://www.google.fr", true)
req.send()
}
}
}
Steps to reproduce :
Execute the code above
Click on test : status = 200, you should see data from google
Turn off your wifi adapter
Click on test: status = 0, no data
Turn on your wifi adapter
Click on test several times: you can't reach data anymore. Status is always equals to 0
The same code works great with Qt 5.5.0