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

Side by Side Diff: LayoutTests/http/tests/websocket/url-attribute.html

Issue 316123003: Don't use WebSocket URL with path=/ when not needed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
« no previous file with comments | « no previous file | LayoutTests/http/tests/websocket/url-attribute-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="/js-test-resources/js-test.js"></script> 4 <script src="/js-test-resources/js-test.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <div id="description"></div> 7 <div id="description"></div>
8 <div id="console"></div> 8 <div id="console"></div>
9 <script type="text/javascript"> 9 <script type="text/javascript">
10 10
11 description("Both .URL and .url attributes should work (for compatibility reason s)."); 11 description("Both .URL and .url attributes should work (for compatibility reason s).");
12 12
13 var url = "ws://127.0.0.1:8880/"; 13 var url = "ws://127.0.0.1:8880/echo";
14 var ws = new WebSocket(url); 14 var ws = new WebSocket(url);
15 15
16 shouldBeEqualToString("ws.url", url); 16 shouldBeEqualToString("ws.url", url);
17 shouldBeEqualToString("ws.URL", url); 17 shouldBeEqualToString("ws.URL", url);
18 shouldBeTrue("ws.URL === ws.url"); 18 shouldBeTrue("ws.URL === ws.url");
19 19
20 </script> 20 </script>
21 </body> 21 </body>
22 </html> 22 </html>
23
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/http/tests/websocket/url-attribute-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698