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

Unified Diff: LayoutTests/http/tests/xmlhttprequest/exceptions-expected.txt

Issue 96793002: Switch custom XMLHttpRequest bindings over to new-style ExceptionState. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Inline local binding in throwTypeError() Created 7 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/http/tests/xmlhttprequest/exceptions-expected.txt
diff --git a/LayoutTests/http/tests/xmlhttprequest/exceptions-expected.txt b/LayoutTests/http/tests/xmlhttprequest/exceptions-expected.txt
index 5bb22ddb216766eca0d3f170b260dc6226702086..17e370d61c956f8e199a4908e7b037a661447513 100644
--- a/LayoutTests/http/tests/xmlhttprequest/exceptions-expected.txt
+++ b/LayoutTests/http/tests/xmlhttprequest/exceptions-expected.txt
@@ -1,14 +1,14 @@
Test that XMLHttpRequest raises exceptions when it should.
new XMLHttpRequest()
-PASS: req.setRequestHeader("Foo", "bar") threw exception InvalidStateError: Failed to execute 'setRequestHeader' on 'XMLHttpRequest': the object's state must be OPENED..
-PASS: req.send(null) threw exception InvalidStateError: Failed to execute 'send' on 'XMLHttpRequest': the object's state must be OPENED..
+PASS: req.setRequestHeader("Foo", "bar") threw exception InvalidStateError: Failed to execute 'setRequestHeader' on 'XMLHttpRequest': The object's state must be OPENED..
+PASS: req.send(null) threw exception InvalidStateError: Failed to execute 'send' on 'XMLHttpRequest': The object's state must be OPENED..
open()
PASS: req.setRequestHeader() threw exception TypeError: Failed to execute 'setRequestHeader' on 'XMLHttpRequest': 2 arguments required, but only 0 present..
PASS: req.setRequestHeader("Foo") threw exception TypeError: Failed to execute 'setRequestHeader' on 'XMLHttpRequest': 2 arguments required, but only 1 present..
send()
-PASS: req.send(null) threw exception InvalidStateError: Failed to execute 'send' on 'XMLHttpRequest': the object's state must be OPENED..
-PASS: req.setRequestHeader("Foo", "bar") threw exception InvalidStateError: Failed to execute 'setRequestHeader' on 'XMLHttpRequest': the object's state must be OPENED..
+PASS: req.send(null) threw exception InvalidStateError: Failed to execute 'send' on 'XMLHttpRequest': The object's state must be OPENED..
+PASS: req.setRequestHeader("Foo", "bar") threw exception InvalidStateError: Failed to execute 'setRequestHeader' on 'XMLHttpRequest': The object's state must be OPENED..
PASS: req.getResponseHeader() threw exception TypeError: Failed to execute 'getResponseHeader' on 'XMLHttpRequest': 1 argument required, but only 0 present..
PASS: req.open() threw exception TypeError: Failed to execute 'open' on 'XMLHttpRequest': 2 arguments required, but only 0 present..
PASS: req.open(null) threw exception TypeError: Failed to execute 'open' on 'XMLHttpRequest': 2 arguments required, but only 1 present..

Powered by Google App Engine
This is Rietveld 408576698