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

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

Issue 48903019: Delete js-test-post.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <meta charset="utf-8"> 4 <meta charset="utf-8">
5 <script src="../../js-test-resources/js-test-pre.js"></script> 5 <script src="../../js-test-resources/js-test-pre.js"></script>
6 </head> 6 </head>
7 <body> 7 <body>
8 <script> 8 <script>
9 9
10 description("Both .URL and .url should work (for compatibility reasons)."); 10 description("Both .URL and .url should work (for compatibility reasons).");
11 11
12 var url = "http://127.0.0.1:8000/eventsource/resources/event-stream.php"; 12 var url = "http://127.0.0.1:8000/eventsource/resources/event-stream.php";
13 var source = new EventSource(url); 13 var source = new EventSource(url);
14 14
15 shouldBeEqualToString("source.URL", url); 15 shouldBeEqualToString("source.URL", url);
16 shouldBeEqualToString("source.url", url); 16 shouldBeEqualToString("source.url", url);
17 shouldBeTrue("source.URL === source.url"); 17 shouldBeTrue("source.URL === source.url");
18 18
19 </script> 19 </script>
20 <script src="../../js-test-resources/js-test-post.js"></script>
21 </body> 20 </body>
22 </html> 21 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698