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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/HTMLImageElement/script-tests/parse-src.js

Issue 2667393002: Stop using script-tests in fast/dom/. (Closed)
Patch Set: . Created 3 years, 11 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: third_party/WebKit/LayoutTests/fast/dom/HTMLImageElement/script-tests/parse-src.js
diff --git a/third_party/WebKit/LayoutTests/fast/dom/HTMLImageElement/script-tests/parse-src.js b/third_party/WebKit/LayoutTests/fast/dom/HTMLImageElement/script-tests/parse-src.js
deleted file mode 100644
index 6b5f182f9c84bdecae6f906fc1646ad969a98729..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/dom/HTMLImageElement/script-tests/parse-src.js
+++ /dev/null
@@ -1,23 +0,0 @@
-description('Test that when using the JavaScript bindings to get the value of a URL attribute such \
- as \'src\', leading whitespace is ignored');
-
-function testURL(attribute, url)
-{
- img[attribute] = url;
- return img[attribute];
-}
-
-var img = new Image();
-var url = "about:blank";
-
-shouldBe('testURL("src", url)', 'url');
-shouldBe('testURL("src", "\\n" + url)', 'url');
-shouldBe('testURL("src", " " + url)', 'url');
-
-shouldBe('testURL("lowsrc", url)', 'url');
-shouldBe('testURL("lowsrc", "\\n" + url)', 'url');
-shouldBe('testURL("lowsrc", " " + url)', 'url');
-
-shouldBe('testURL("longDesc", url)', 'url');
-shouldBe('testURL("longDesc", "\\n" + url)', 'url');
-shouldBe('testURL("longDesc", " " + url)', 'url');

Powered by Google App Engine
This is Rietveld 408576698