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

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

Issue 422743002: Deprecate EventSource.URL and WebSocket.URL (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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/url-parsing.html
diff --git a/LayoutTests/http/tests/websocket/url-parsing.html b/LayoutTests/http/tests/websocket/url-parsing.html
index 9b66b83cebef5f69f2766422cee90423a6170b80..8eaee8299c6cf3b587db694bf33d556f85b9312c 100644
--- a/LayoutTests/http/tests/websocket/url-parsing.html
+++ b/LayoutTests/http/tests/websocket/url-parsing.html
@@ -29,9 +29,9 @@ shouldThrow('new WebSocket("ws://127.0.0.1:25/")');
// Resolve the url string using the resolve a Web address algorithm.
// Use 127.0.0.1:8880 and existing ws handler to make sure we don't receive unexpected response (so no console message appears)
-shouldBe('(new WebSocket("ws://127.0.0.1:8880/a/../simple")).URL', '"ws://127.0.0.1:8880/simple"');
-shouldBe('(new WebSocket("ws://127.0.0.1:8880/simple?")).URL', '"ws://127.0.0.1:8880/simple?"');
-shouldBe('(new WebSocket("ws://127.0.0.1:8880/simple?k=v")).URL', '"ws://127.0.0.1:8880/simple?k=v"');
+shouldBe('(new WebSocket("ws://127.0.0.1:8880/a/../simple")).url', '"ws://127.0.0.1:8880/simple"');
+shouldBe('(new WebSocket("ws://127.0.0.1:8880/simple?")).url', '"ws://127.0.0.1:8880/simple?"');
+shouldBe('(new WebSocket("ws://127.0.0.1:8880/simple?k=v")).url', '"ws://127.0.0.1:8880/simple?k=v"');
// The WebSocket API specification says If /url/ has a <fragment>
// component, then fail the parsing WebSocket URLs, so throw a SYNTAX_ERR
« no previous file with comments | « LayoutTests/http/tests/websocket/url-attribute-expected.txt ('k') | LayoutTests/http/tests/websocket/url-parsing-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698