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

Unified Diff: LayoutTests/http/tests/security/postMessage/invalid-origin-throws-exception-expected.txt

Issue 16818023: DOMException toString is not correct (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/http/tests/security/postMessage/invalid-origin-throws-exception-expected.txt
diff --git a/LayoutTests/http/tests/security/postMessage/invalid-origin-throws-exception-expected.txt b/LayoutTests/http/tests/security/postMessage/invalid-origin-throws-exception-expected.txt
index c7ed76f05079d77a86186ac31eb4f89f46382a55..a7adadb1837c97a6e3906a4e93d80a8bba66318e 100644
--- a/LayoutTests/http/tests/security/postMessage/invalid-origin-throws-exception-expected.txt
+++ b/LayoutTests/http/tests/security/postMessage/invalid-origin-throws-exception-expected.txt
@@ -2,11 +2,11 @@ CONSOLE MESSAGE: Unable to post message to asdf://. Recipient has origin http://
window.location.href = http://127.0.0.1:8000/security/postMessage/invalid-origin-throws-exception.html
waiting...
-Encountered exception Error: SyntaxError: DOM Exception 12 while posting message to ''.
-Encountered exception Error: SyntaxError: DOM Exception 12 while posting message to 'asdf'.
-Encountered exception Error: SyntaxError: DOM Exception 12 while posting message to '/tmp/foo'.
-Encountered exception Error: SyntaxError: DOM Exception 12 while posting message to '//localhost'.
+Encountered exception SyntaxError: An invalid or illegal string was specified. while posting message to ''.
+Encountered exception SyntaxError: An invalid or illegal string was specified. while posting message to 'asdf'.
+Encountered exception SyntaxError: An invalid or illegal string was specified. while posting message to '/tmp/foo'.
+Encountered exception SyntaxError: An invalid or illegal string was specified. while posting message to '//localhost'.
Posted message to 'asdf:' without any exceptions.
-Encountered exception Error: SyntaxError: DOM Exception 12 while posting message to 'http:'.
+Encountered exception SyntaxError: An invalid or illegal string was specified. while posting message to 'http:'.
Received message: data="Received message: data="done" origin="http://127.0.0.1:8000"" origin="http://localhost:8000"

Powered by Google App Engine
This is Rietveld 408576698