Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(44)

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

Issue 973873002: Remove deprecated URL attribute alias from EventSource interface (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698