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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/NodeList/nodelist-item-call-as-function.html

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/NodeList/nodelist-item-call-as-function.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/NodeList/nodelist-item-call-as-function.html b/third_party/WebKit/LayoutTests/fast/dom/NodeList/nodelist-item-call-as-function.html
index 257314cc11353030d7955bd0de2449994bbd50e0..14196f8345c621ee002c707330a71c80f648893d 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/NodeList/nodelist-item-call-as-function.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/NodeList/nodelist-item-call-as-function.html
@@ -4,6 +4,12 @@
<script src="../../../resources/js-test.js"></script>
</head>
<body>
-<script src="script-tests/nodelist-item-call-as-function.js"></script>
+<script>
+description('This tests that items in a NodeList cannot be called indexed using [[Call]].');
+
+var nodeList = document.getElementsByTagName('div');
+shouldThrow("nodeList(0)");
+
+</script>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698