Changeset 112204 in webkit
- Timestamp:
- Mar 26, 2012 9:25:16 PM (12 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 1 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r112202 r112204 1 2012-03-26 Pablo Flouret <pablof@motorola.com> 2 3 Fix flaky test fast/eventsource/eventsource-url-attribute.html 4 https://bugs.webkit.org/show_bug.cgi?id=82257 5 6 Reviewed by Ryosuke Niwa. 7 8 The test used http://localhost, chosen as a semi-random url, but since 9 it doesn't return a text/event-stream mime-type sometimes a console 10 warning would appear. Moved the test to the http folder and changed it 11 to use a resource with the correct mime-type. 12 13 * http/tests/eventsource/eventsource-url-attribute-expected.txt: Renamed from LayoutTests/fast/eventsource/eventsource-url-attribute-expected.txt. 14 * http/tests/eventsource/eventsource-url-attribute.html: Renamed from LayoutTests/fast/eventsource/eventsource-url-attribute.html. 15 1 16 2012-03-26 David Grogan <dgrogan@chromium.org> 2 17 -
trunk/LayoutTests/http/tests/eventsource/eventsource-url-attribute-expected.txt
r112203 r112204 4 4 5 5 6 PASS source.URL is "http:// localhost/"7 PASS source.url is "http:// localhost/"6 PASS source.URL is "http://127.0.0.1:8000/eventsource/resources/event-stream.php" 7 PASS source.url is "http://127.0.0.1:8000/eventsource/resources/event-stream.php" 8 8 PASS source.URL === source.url is true 9 9 PASS successfullyParsed is true -
trunk/LayoutTests/http/tests/eventsource/eventsource-url-attribute.html
r112203 r112204 3 3 <head> 4 4 <meta charset="utf-8"> 5 <script src="../ js/resources/js-test-pre.js"></script>5 <script src="../../js-test-resources/js-test-pre.js"></script> 6 6 </head> 7 7 <body> … … 10 10 description("Both .URL and .url should work (for compatibility reasons)."); 11 11 12 var url = "http:// localhost/";12 var url = "http://127.0.0.1:8000/eventsource/resources/event-stream.php"; 13 13 var source = new EventSource(url); 14 14 … … 18 18 19 19 </script> 20 <script src="../ js/resources/js-test-post.js"></script>20 <script src="../../js-test-resources/js-test-post.js"></script> 21 21 </body> 22 22 </html>
Note: See TracChangeset
for help on using the changeset viewer.