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

Unified Diff: LayoutTests/http/tests/websocket/tests/hybi/url-parsing.html

Issue 52103004: WebSocket layout test cleanup (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 2 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
Index: LayoutTests/http/tests/websocket/tests/hybi/url-parsing.html
diff --git a/LayoutTests/http/tests/websocket/tests/hybi/url-parsing.html b/LayoutTests/http/tests/websocket/tests/hybi/url-parsing.html
index 36c73a1568020c124151ae8555f5519575c42103..09181f7ae7e37bfee38a6bb3461f8308d99de2e1 100644
--- a/LayoutTests/http/tests/websocket/tests/hybi/url-parsing.html
+++ b/LayoutTests/http/tests/websocket/tests/hybi/url-parsing.html
@@ -33,8 +33,8 @@ shouldBe('(new WebSocket("ws://127.0.0.1:8880/a/../websocket/tests/hybi/simple")
shouldBe('(new WebSocket("ws://127.0.0.1:8880/websocket/tests/hybi/simple?")).URL', '"ws://127.0.0.1:8880/websocket/tests/hybi/simple?"');
shouldBe('(new WebSocket("ws://127.0.0.1:8880/websocket/tests/hybi/simple?k=v")).URL', '"ws://127.0.0.1:8880/websocket/tests/hybi/simple?k=v"');
-// draft-hixie-thewebsocketprotocol-60 says If /url/ has a <fragment>
-// component, then fail the parsing Web Socket URLs, so throw a SYNTAX_ERR
+// The WebSocket API specification says If /url/ has a <fragment>
+// component, then fail the parsing WebSocket URLs, so throw a SYNTAX_ERR
// exception.
shouldThrow('new WebSocket("ws://127.0.0.1/path#")');
shouldThrow('new WebSocket("ws://127.0.0.1/path#fragment")');

Powered by Google App Engine
This is Rietveld 408576698