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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/security/postMessage/invalid-origin-throws-exception-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 unified diff | Download patch
OLDNEW
1 CONSOLE ERROR: line 15: Failed to execute 'postMessage' on 'DOMWindow': The targ et origin provided ('asdf://') does not match the recipient window's origin ('ht tp://localhost:8000').
2 window.location.href = http://127.0.0.1:8000/security/postMessage/invalid-origin -throws-exception.html 1 window.location.href = http://127.0.0.1:8000/security/postMessage/invalid-origin -throws-exception.html
3 waiting... 2 waiting...
4 Encountered exception "SyntaxError: Failed to execute 'postMessage' on 'Window': Invalid target origin '' in a call to 'postMessage'." while posting message to ''. 3 Encountered exception "SyntaxError: Failed to execute 'postMessage' on 'Window': Invalid target origin '' in a call to 'postMessage'." while posting message to ''.
5 Encountered exception "SyntaxError: Failed to execute 'postMessage' on 'Window': Invalid target origin 'asdf' in a call to 'postMessage'." while posting message to 'asdf'. 4 Encountered exception "SyntaxError: Failed to execute 'postMessage' on 'Window': Invalid target origin 'asdf' in a call to 'postMessage'." while posting message to 'asdf'.
6 Encountered exception "SyntaxError: Failed to execute 'postMessage' on 'Window': Invalid target origin '/tmp/foo' in a call to 'postMessage'." while posting mes sage to '/tmp/foo'. 5 Encountered exception "SyntaxError: Failed to execute 'postMessage' on 'Window': Invalid target origin '/tmp/foo' in a call to 'postMessage'." while posting mes sage to '/tmp/foo'.
7 Encountered exception "SyntaxError: Failed to execute 'postMessage' on 'Window': Invalid target origin '//localhost' in a call to 'postMessage'." while posting message to '//localhost'. 6 Encountered exception "SyntaxError: Failed to execute 'postMessage' on 'Window': Invalid target origin '//localhost' in a call to 'postMessage'." while posting message to '//localhost'.
8 Posted message to 'asdf:' without any exceptions. 7 Posted message to 'asdf:' without any exceptions.
9 Encountered exception "SyntaxError: Failed to execute 'postMessage' on 'Window': Invalid target origin 'http:' in a call to 'postMessage'." while posting messag e to 'http:'. 8 Encountered exception "SyntaxError: Failed to execute 'postMessage' on 'Window': Invalid target origin 'http:' in a call to 'postMessage'." while posting messag e to 'http:'.
10 Received message: data="Received message: data="done" origin="http://127.0.0.1:8 000"" origin="http://localhost:8000" 9 Received message: data="Received message: data="done" origin="http://127.0.0.1:8 000"" origin="http://localhost:8000"
11 10
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698