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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/postMessage/target-origin-same-site-expected.txt

Issue 2015713002: Resolve console output in postMessage tests with site-per-process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: bug reference Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/LayoutTests/http/tests/security/postMessage/target-origin-same-site.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/http/tests/security/postMessage/target-origin-same-site-expected.txt
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/postMessage/target-origin-same-site-expected.txt b/third_party/WebKit/LayoutTests/http/tests/security/postMessage/target-origin-same-site-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6bcd160f719cfe4db772cec3b7b19d2f69f1ebdd
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/http/tests/security/postMessage/target-origin-same-site-expected.txt
@@ -0,0 +1,20 @@
+CONSOLE ERROR: line 16: Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('http://127.0.0.1:9090') does not match the recipient window's origin ('http://127.0.0.1:8000').
+CONSOLE ERROR: line 16: Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('http://127.0.0.1') does not match the recipient window's origin ('http://127.0.0.1:8000').
+CONSOLE ERROR: line 16: Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://127.0.0.1') does not match the recipient window's origin ('http://127.0.0.1:8000').
+CONSOLE ERROR: line 16: Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://127.0.0.1:8000') does not match the recipient window's origin ('http://127.0.0.1:8000').
+CONSOLE ERROR: line 16: Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('http://www.example.com') does not match the recipient window's origin ('http://127.0.0.1:8000').
+CONSOLE ERROR: line 16: Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('asdf://') does not match the recipient window's origin ('http://127.0.0.1:8000').
+window.location.href = http://127.0.0.1:8000/security/postMessage/target-origin-same-site.html
+
+waiting...
+Error sending message to . SyntaxError: Failed to execute 'postMessage' on 'Window': Invalid target origin '' in a call to 'postMessage'.
+Error sending message to asdf. SyntaxError: Failed to execute 'postMessage' on 'Window': Invalid target origin 'asdf' in a call to 'postMessage'.
+Error sending message to /tmp/foo. SyntaxError: Failed to execute 'postMessage' on 'Window': Invalid target origin '/tmp/foo' in a call to 'postMessage'.
+Error sending message to //localhost. SyntaxError: Failed to execute 'postMessage' on 'Window': Invalid target origin '//localhost' in a call to 'postMessage'.
+Error sending message to http:. SyntaxError: Failed to execute 'postMessage' on 'Window': Invalid target origin 'http:' in a call to 'postMessage'.
+Received message: data="Received message: data="Trying origin=http://127.0.0.1:8000" origin="http://127.0.0.1:8000"" origin="http://127.0.0.1:8000"
+Received message: data="Received message: data="Trying origin=http://127.0.0.1:8000/" origin="http://127.0.0.1:8000"" origin="http://127.0.0.1:8000"
+Received message: data="Received message: data="Trying origin=http://127.0.0.1:8000/foo" origin="http://127.0.0.1:8000"" origin="http://127.0.0.1:8000"
+Received message: data="Received message: data="Trying origin=http://127.0.0.1:8000/foo?bar" origin="http://127.0.0.1:8000"" origin="http://127.0.0.1:8000"
+Received message: data="Received message: data="Trying origin=http://127.0.0.1:8000/foo?bar#baz" origin="http://127.0.0.1:8000"" origin="http://127.0.0.1:8000"
+Received message: data="Received message: data="Trying origin=http://user:pass@127.0.0.1:8000/foo?bar#baz" origin="http://127.0.0.1:8000"" origin="http://127.0.0.1:8000"
« no previous file with comments | « third_party/WebKit/LayoutTests/http/tests/security/postMessage/target-origin-same-site.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698