Chromium Code Reviews

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

Issue 347043002: Rework EventSource tests for better Worker test coverage. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Move out CORS tests Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: LayoutTests/http/tests/eventsource/eventsource-url-attribute.html
diff --git a/LayoutTests/http/tests/eventsource/eventsource-url-attribute.html b/LayoutTests/http/tests/eventsource/eventsource-url-attribute.html
index 231f86b307581b4fdc99fd0597867d17bfd37281..85e4f2fd03d835fef77079cafa91bd3d88ac3b74 100644
--- a/LayoutTests/http/tests/eventsource/eventsource-url-attribute.html
+++ b/LayoutTests/http/tests/eventsource/eventsource-url-attribute.html
@@ -1,21 +1,3 @@
<!DOCTYPE html>
-<html>
-<head>
-<meta charset="utf-8">
-<script src="../../js-test-resources/js-test.js"></script>
-</head>
-<body>
-<script>
-
-description("Both .URL and .url should work (for compatibility reasons).");
-
-var url = "http://127.0.0.1:8000/eventsource/resources/event-stream.php";
-var source = new EventSource(url);
-
-shouldBeEqualToString("source.URL", url);
-shouldBeEqualToString("source.url", url);
-shouldBeTrue("source.URL === source.url");
-
-</script>
-</body>
-</html>
+<script src="/js-test-resources/js-test.js"></script>
+<script src="script-tests/eventsource-url-attribute.js"></script>

Powered by Google App Engine