blob: 3e577135ee17d1f84c9076879a504b4619f73190 [file] [log] [blame]
Tests the properties of the exceptions related to XMLHttpRequest.
PASS e.toString() is "NetworkError: A network error occurred."
PASS Object.prototype.toString.call(e) is "[object DOMException]"
PASS Object.prototype.toString.call(e.__proto__) is "[object DOMException]"
PASS e.constructor.toString() is "function DOMException() {
[native code]
}"
PASS e.constructor is window.DOMException
PASS e.NETWORK_ERR is e.constructor.NETWORK_ERR
PASS e.NETWORK_ERR is 19