| OLD | NEW |
| 1 CONSOLE WARNING: Avoid synchronous requests as it hampers user experience due to
unresponsiveness of the web page. Refer https://xhr.spec.whatwg.org/#sync-warni
ng. |
| 1 Tests the properties of XMLHttpRequest exceptions. | 2 Tests the properties of XMLHttpRequest exceptions. |
| 2 | 3 |
| 3 PASS e.toString() is "NetworkError: Failed to execute 'send' on 'XMLHttpRequest'
: Failed to load 'http://127.0.0.1:8000/xmlhttprequest/resources/infinite-loop.p
hp'." | 4 PASS e.toString() is "NetworkError: Failed to execute 'send' on 'XMLHttpRequest'
: Failed to load 'http://127.0.0.1:8000/xmlhttprequest/resources/infinite-loop.p
hp'." |
| 4 PASS Object.prototype.toString.call(e) is "[object DOMException]" | 5 PASS Object.prototype.toString.call(e) is "[object DOMException]" |
| 5 FAIL Object.prototype.toString.call(e.__proto__) is not "[object DOMExceptionPro
totype]". Was "[object Object]" | 6 FAIL Object.prototype.toString.call(e.__proto__) is not "[object DOMExceptionPro
totype]". Was "[object Object]" |
| 6 PASS e.constructor.toString() is "function DOMException() { [native code] }" | 7 PASS e.constructor.toString() is "function DOMException() { [native code] }" |
| 7 PASS e.constructor is window.DOMException | 8 PASS e.constructor is window.DOMException |
| 8 PASS e.NETWORK_ERR is e.constructor.NETWORK_ERR | 9 PASS e.NETWORK_ERR is e.constructor.NETWORK_ERR |
| 9 PASS e.NETWORK_ERR is 19 | 10 PASS e.NETWORK_ERR is 19 |
| 10 | 11 |
| OLD | NEW |