| Index: LayoutTests/http/tests/eventsource/script-tests/eventsource-url-attribute.js
|
| diff --git a/LayoutTests/http/tests/eventsource/eventsource-url-attribute.html b/LayoutTests/http/tests/eventsource/script-tests/eventsource-url-attribute.js
|
| similarity index 65%
|
| copy from LayoutTests/http/tests/eventsource/eventsource-url-attribute.html
|
| copy to LayoutTests/http/tests/eventsource/script-tests/eventsource-url-attribute.js
|
| index 231f86b307581b4fdc99fd0597867d17bfd37281..3df7cbf0f91b2d11ed04395309197d825d412562 100644
|
| --- a/LayoutTests/http/tests/eventsource/eventsource-url-attribute.html
|
| +++ b/LayoutTests/http/tests/eventsource/script-tests/eventsource-url-attribute.js
|
| @@ -1,11 +1,5 @@
|
| -<!DOCTYPE html>
|
| -<html>
|
| -<head>
|
| -<meta charset="utf-8">
|
| -<script src="../../js-test-resources/js-test.js"></script>
|
| -</head>
|
| -<body>
|
| -<script>
|
| +if (self.importScripts)
|
| + importScripts("/js-test-resources/js-test.js");
|
|
|
| description("Both .URL and .url should work (for compatibility reasons).");
|
|
|
| @@ -15,7 +9,4 @@ var source = new EventSource(url);
|
| shouldBeEqualToString("source.URL", url);
|
| shouldBeEqualToString("source.url", url);
|
| shouldBeTrue("source.URL === source.url");
|
| -
|
| -</script>
|
| -</body>
|
| -</html>
|
| +finishJSTest();
|
|
|