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

Side by Side Diff: LayoutTests/http/tests/websocket/url-parsing-expected.txt

Issue 422743002: Deprecate EventSource.URL and WebSocket.URL (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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
« no previous file with comments | « LayoutTests/http/tests/websocket/url-parsing.html ('k') | Source/core/frame/UseCounter.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Test WebSocket URL parsing. 1 Test WebSocket URL parsing.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 PASS new WebSocket() threw exception TypeError: Failed to construct 'WebSocket': 1 argument required, but only 0 present.. 5 PASS new WebSocket() threw exception TypeError: Failed to construct 'WebSocket': 1 argument required, but only 0 present..
6 PASS new WebSocket(null) threw exception SyntaxError: Failed to construct 'WebSo cket': The URL 'null' is invalid.. 6 PASS new WebSocket(null) threw exception SyntaxError: Failed to construct 'WebSo cket': The URL 'null' is invalid..
7 PASS new WebSocket("ws://javascript:a") threw exception SyntaxError: Failed to c onstruct 'WebSocket': The URL 'ws://javascript:a' is invalid.. 7 PASS new WebSocket("ws://javascript:a") threw exception SyntaxError: Failed to c onstruct 'WebSocket': The URL 'ws://javascript:a' is invalid..
8 PASS new WebSocket("/applet") threw exception SyntaxError: Failed to construct ' WebSocket': The URL '/applet' is invalid.. 8 PASS new WebSocket("/applet") threw exception SyntaxError: Failed to construct ' WebSocket': The URL '/applet' is invalid..
9 PASS new WebSocket("javascript:a") threw exception SyntaxError: Failed to constr uct 'WebSocket': The URL's scheme must be either 'ws' or 'wss'. 'javascript' is not allowed.. 9 PASS new WebSocket("javascript:a") threw exception SyntaxError: Failed to constr uct 'WebSocket': The URL's scheme must be either 'ws' or 'wss'. 'javascript' is not allowed..
10 PASS new WebSocket("ws://127.0.0.1:25/") threw exception SecurityError: Failed t o construct 'WebSocket': The port 25 is not allowed.. 10 PASS new WebSocket("ws://127.0.0.1:25/") threw exception SecurityError: Failed t o construct 'WebSocket': The port 25 is not allowed..
11 PASS (new WebSocket("ws://127.0.0.1:8880/a/../simple")).URL is "ws://127.0.0.1:8 880/simple" 11 PASS (new WebSocket("ws://127.0.0.1:8880/a/../simple")).url is "ws://127.0.0.1:8 880/simple"
12 PASS (new WebSocket("ws://127.0.0.1:8880/simple?")).URL is "ws://127.0.0.1:8880/ simple?" 12 PASS (new WebSocket("ws://127.0.0.1:8880/simple?")).url is "ws://127.0.0.1:8880/ simple?"
13 PASS (new WebSocket("ws://127.0.0.1:8880/simple?k=v")).URL is "ws://127.0.0.1:88 80/simple?k=v" 13 PASS (new WebSocket("ws://127.0.0.1:8880/simple?k=v")).url is "ws://127.0.0.1:88 80/simple?k=v"
14 PASS new WebSocket("ws://127.0.0.1/path#") threw exception SyntaxError: Failed t o construct 'WebSocket': The URL contains a fragment identifier (''). Fragment i dentifiers are not allowed in WebSocket URLs.. 14 PASS new WebSocket("ws://127.0.0.1/path#") threw exception SyntaxError: Failed t o construct 'WebSocket': The URL contains a fragment identifier (''). Fragment i dentifiers are not allowed in WebSocket URLs..
15 PASS new WebSocket("ws://127.0.0.1/path#fragment") threw exception SyntaxError: Failed to construct 'WebSocket': The URL contains a fragment identifier ('fragme nt'). Fragment identifiers are not allowed in WebSocket URLs.. 15 PASS new WebSocket("ws://127.0.0.1/path#fragment") threw exception SyntaxError: Failed to construct 'WebSocket': The URL contains a fragment identifier ('fragme nt'). Fragment identifiers are not allowed in WebSocket URLs..
16 PASS new WebSocket("ws:://127.0.0.1/") threw exception SyntaxError: Failed to co nstruct 'WebSocket': The URL 'ws:://127.0.0.1/' is invalid.. 16 PASS new WebSocket("ws:://127.0.0.1/") threw exception SyntaxError: Failed to co nstruct 'WebSocket': The URL 'ws:://127.0.0.1/' is invalid..
17 PASS successfullyParsed is true 17 PASS successfullyParsed is true
18 18
19 TEST COMPLETE 19 TEST COMPLETE
20 20
OLDNEW
« no previous file with comments | « LayoutTests/http/tests/websocket/url-parsing.html ('k') | Source/core/frame/UseCounter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698