Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
None
-
5.12.3
-
None
-
Mac OS 10.14.4 (18E226), Apple LLVM version 10.0.1 (clang-1001.0.46.4)
Description
According to the MDN documentation, XMLHttpRequest.abort() method should set readyState property to 0 (UNSENT), but in QML implementation this property is set to 4 (DONE).
Example project is attached. The line 52 of main.qml sets some unreachable host and the following lines start a timeout timer. When this timer is triggered, the request is aborted, and its readyState should be set to 0, but actually it is set to 4.