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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 CONSOLE MESSAGE: Unable to post message to asdf://. Recipient has origin http:// localhost:8000. 1 CONSOLE MESSAGE: Unable to post message to asdf://. Recipient has origin http:// localhost:8000.
2 2
3 window.location.href = http://127.0.0.1:8000/security/postMessage/invalid-origin -throws-exception.html 3 window.location.href = http://127.0.0.1:8000/security/postMessage/invalid-origin -throws-exception.html
4 waiting... 4 waiting...
5 Encountered exception Error: SyntaxError: DOM Exception 12 while posting message to ''. 5 Encountered exception SyntaxError: An invalid or illegal string was specified. w hile posting message to ''.
6 Encountered exception Error: SyntaxError: DOM Exception 12 while posting message to 'asdf'. 6 Encountered exception SyntaxError: An invalid or illegal string was specified. w hile posting message to 'asdf'.
7 Encountered exception Error: SyntaxError: DOM Exception 12 while posting message to '/tmp/foo'. 7 Encountered exception SyntaxError: An invalid or illegal string was specified. w hile posting message to '/tmp/foo'.
8 Encountered exception Error: SyntaxError: DOM Exception 12 while posting message to '//localhost'. 8 Encountered exception SyntaxError: An invalid or illegal string was specified. w hile posting message to '//localhost'.
9 Posted message to 'asdf:' without any exceptions. 9 Posted message to 'asdf:' without any exceptions.
10 Encountered exception Error: SyntaxError: DOM Exception 12 while posting message to 'http:'. 10 Encountered exception SyntaxError: An invalid or illegal string was specified. w hile posting message to 'http:'.
11 Received message: data="Received message: data="done" origin="http://127.0.0.1:8 000"" origin="http://localhost:8000" 11 Received message: data="Received message: data="done" origin="http://127.0.0.1:8 000"" origin="http://localhost:8000"
12 12
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698