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

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

Issue 91383002: Switch V8WindowCustom to the new-style ExceptionState (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Expectations. Created 7 years 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 7dc23f64e2e96199250e926918a843e1c654026e..544aa8f93708c3b4e316dbf087f7121642c34f35 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
@@ -1,11 +1,11 @@
CONSOLE ERROR: Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('asdf://') does not match the recipient window's origin ('http://localhost:8000').
window.location.href = http://127.0.0.1:8000/security/postMessage/invalid-origin-throws-exception.html
waiting...
-Encountered exception "SyntaxError: Invalid target origin '' in a call to 'postMessage'." while posting message to ''.
-Encountered exception "SyntaxError: Invalid target origin 'asdf' in a call to 'postMessage'." while posting message to 'asdf'.
-Encountered exception "SyntaxError: Invalid target origin '/tmp/foo' in a call to 'postMessage'." while posting message to '/tmp/foo'.
-Encountered exception "SyntaxError: Invalid target origin '//localhost' in a call to 'postMessage'." while posting message to '//localhost'.
+Encountered exception "SyntaxError: Failed to execute 'postMessage' on 'Window': Invalid target origin '' in a call to 'postMessage'." while posting message to ''.
+Encountered exception "SyntaxError: Failed to execute 'postMessage' on 'Window': Invalid target origin 'asdf' in a call to 'postMessage'." while posting message to 'asdf'.
+Encountered exception "SyntaxError: Failed to execute 'postMessage' on 'Window': Invalid target origin '/tmp/foo' in a call to 'postMessage'." while posting message to '/tmp/foo'.
+Encountered exception "SyntaxError: Failed to execute 'postMessage' on 'Window': Invalid target origin '//localhost' in a call to 'postMessage'." while posting message to '//localhost'.
Posted message to 'asdf:' without any exceptions.
-Encountered exception "SyntaxError: Invalid target origin 'http:' in a call to 'postMessage'." while posting message to 'http:'.
+Encountered exception "SyntaxError: Failed to execute 'postMessage' on 'Window': Invalid target origin 'http:' in a call to 'postMessage'." 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