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

Unified Diff: LayoutTests/fast/dom/Element/missing-arguments.html

Issue 737133002: Make arguments to some Document and Element methods non-optional (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase+adapt Created 6 years, 1 month 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/fast/dom/Element/missing-arguments.html
diff --git a/LayoutTests/fast/dom/Element/missing-arguments.html b/LayoutTests/fast/dom/Element/missing-arguments.html
index 02e016012428fc95251d7c085d23bd78d23599c5..19c9d54029874e8f4dac6c2419bdabfd8a5060d7 100644
--- a/LayoutTests/fast/dom/Element/missing-arguments.html
+++ b/LayoutTests/fast/dom/Element/missing-arguments.html
@@ -10,6 +10,9 @@ var element = document.createElementNS("http://example.com/", "example");
"getAttribute()",
"getAttributeNS()",
"getAttributeNS('http://example.com/')",
+ "getAttributeNode()",
+ "getAttributeNodeNS()",
+ "getAttributeNodeNS('http://www.w3.org/2000/svg')",
"getElementsByClassName()",
"getElementsByTagName()",
"getElementsByTagNameNS()",
@@ -19,11 +22,14 @@ var element = document.createElementNS("http://example.com/", "example");
"removeAttribute()",
"removeAttributeNS()",
"removeAttributeNS('http://example.com/')",
+ "removeAttributeNode()",
"setAttribute()",
"setAttribute('example')",
"setAttributeNS()",
"setAttributeNS('http://example.com/')",
- "setAttributeNS('http://example.com/', 'example')"
+ "setAttributeNS('http://example.com/', 'example')",
+ "setAttributeNode()",
+ "setAttributeNodeNS()"
].forEach(function(expr)
{
shouldThrow("element." + expr);

Powered by Google App Engine
This is Rietveld 408576698