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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/Element/script-tests/attr-param-typechecking.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/Element/script-tests/attr-param-typechecking.js
diff --git a/third_party/WebKit/LayoutTests/fast/dom/Element/script-tests/attr-param-typechecking.js b/third_party/WebKit/LayoutTests/fast/dom/Element/script-tests/attr-param-typechecking.js
deleted file mode 100644
index 88061fa11f3e1d62b4350b7a6ba658551234789b..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/dom/Element/script-tests/attr-param-typechecking.js
+++ /dev/null
@@ -1,18 +0,0 @@
-description(
-'This test checks whether passing wrong types to setAttributeNode causes a crash.'
-);
-
-var element = document.createElement("input");
-
-shouldThrow('element.setAttributeNode("style");');
-shouldThrow('element.setAttributeNode(null);');
-shouldThrow('element.setAttributeNode(undefined);');
-shouldThrow('element.setAttributeNode(new Object);');
-shouldThrow('element.removeAttributeNode("style");');
-shouldThrow('element.removeAttributeNode(null);');
-shouldThrow('element.removeAttributeNode(undefined);');
-shouldThrow('element.removeAttributeNode(new Object);');
-shouldThrow('element.setAttributeNodeNS("style");');
-shouldThrow('element.setAttributeNodeNS(null);');
-shouldThrow('element.setAttributeNodeNS(undefined);');
-shouldThrow('element.setAttributeNodeNS(new Object);');

Powered by Google App Engine
This is Rietveld 408576698