Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(269)

Side by Side Diff: LayoutTests/http/tests/xmlhttprequest/XMLHttpRequestException-expected.txt

Issue 14200030: Remove XMLHttpRequestException in favor of DOMException (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix tests after rebasing... Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 Tests the properties of the XMLHttpRequestException object. 1 Tests the properties of XMLHttpRequest exceptions.
2 2
3 PASS e.toString() is "Error: NETWORK_ERR: XMLHttpRequest Exception 101" 3 PASS e.toString() is "Error: NetworkError: DOM Exception 19"
4 PASS Object.prototype.toString.call(e) is "[object XMLHttpRequestException]" 4 PASS Object.prototype.toString.call(e) is "[object DOMException]"
5 FAIL Object.prototype.toString.call(e.__proto__) is not "[object XMLHttpRequestE xception]". Was "[object Object]" 5 FAIL Object.prototype.toString.call(e.__proto__) is not "[object DOMException]". Was "[object DOMExceptionPrototype]"
6 FAIL e.constructor.toString() is not "[object XMLHttpRequestExceptionConstructor ]". Was "function XMLHttpRequestException() { [native code] }" 6 PASS e.constructor.toString() is "[object DOMExceptionConstructor]"
7 PASS e.constructor is window.XMLHttpRequestException 7 PASS e.constructor is window.DOMException
8 PASS e.NETWORK_ERR is e.constructor.NETWORK_ERR 8 PASS e.NETWORK_ERR is e.constructor.NETWORK_ERR
9 PASS e.NETWORK_ERR is 101 9 PASS e.NETWORK_ERR is 101
10 10
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698