Index: LayoutTests/http/tests/eventsource/script-tests/eventsource-url-attribute.js |
diff --git a/LayoutTests/http/tests/eventsource/script-tests/eventsource-url-attribute.js b/LayoutTests/http/tests/eventsource/script-tests/eventsource-url-attribute.js |
index 3df7cbf0f91b2d11ed04395309197d825d412562..f50673d8c72053d8ed21babff56e40eefaab48f5 100644 |
--- a/LayoutTests/http/tests/eventsource/script-tests/eventsource-url-attribute.js |
+++ b/LayoutTests/http/tests/eventsource/script-tests/eventsource-url-attribute.js |
@@ -1,12 +1,11 @@ |
if (self.importScripts) |
importScripts("/js-test-resources/js-test.js"); |
-description("Both .URL and .url should work (for compatibility reasons)."); |
+description("Only .url should work, previously supported .URL should not."); |
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"); |
+shouldBeUndefined("source.URL"); |
finishJSTest(); |