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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/StyleSheet/script-tests/get-stylesheet-byname.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/StyleSheet/script-tests/get-stylesheet-byname.js
diff --git a/third_party/WebKit/LayoutTests/fast/dom/StyleSheet/script-tests/get-stylesheet-byname.js b/third_party/WebKit/LayoutTests/fast/dom/StyleSheet/script-tests/get-stylesheet-byname.js
deleted file mode 100644
index 958fd7e5b0e81bb3527dda93866dfb9ba9f34f25..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/dom/StyleSheet/script-tests/get-stylesheet-byname.js
+++ /dev/null
@@ -1,6 +0,0 @@
-description("This test verifies that a StyleSheet object will be returned instead of a HTMLStyleElement when calling document.styleSheets named property getter.");
-
-var styleElement = document.createElement("style");
-styleElement.setAttribute("id", "test");
-document.head.appendChild(styleElement);
-shouldBe('document.styleSheets["test"]', 'styleElement.sheet');

Powered by Google App Engine
This is Rietveld 408576698