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> |