| OLD | NEW |
| 1 CONSOLE ERROR: Failed to execute 'postMessage' on 'DOMWindow': The target origin
provided ('asdf://') does not match the recipient window's origin ('http://loca
lhost:8000'). | 1 CONSOLE ERROR: Failed to execute 'postMessage' on 'DOMWindow': The target origin
provided ('asdf://') does not match the recipient window's origin ('http://loca
lhost:8000'). |
| 2 window.location.href = http://127.0.0.1:8000/security/postMessage/invalid-origin
-throws-exception.html | 2 window.location.href = http://127.0.0.1:8000/security/postMessage/invalid-origin
-throws-exception.html |
| 3 waiting... | 3 waiting... |
| 4 Encountered exception "SyntaxError: Invalid target origin '' in a call to 'postM
essage'." while posting message to ''. | 4 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: Invalid target origin 'asdf' in a call to 'p
ostMessage'." while posting message to 'asdf'. | 5 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: Invalid target origin '/tmp/foo' in a call t
o 'postMessage'." while posting message to '/tmp/foo'. | 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'. |
| 7 Encountered exception "SyntaxError: Invalid target origin '//localhost' in a cal
l to 'postMessage'." while posting message to '//localhost'. | 7 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. | 8 Posted message to 'asdf:' without any exceptions. |
| 9 Encountered exception "SyntaxError: Invalid target origin 'http:' in a call to '
postMessage'." while posting message to 'http:'. | 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:'. |
| 10 Received message: data="Received message: data="done" origin="http://127.0.0.1:8
000"" origin="http://localhost:8000" | 10 Received message: data="Received message: data="done" origin="http://127.0.0.1:8
000"" origin="http://localhost:8000" |
| 11 | 11 |
| OLD | NEW |