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

Unified Diff: LayoutTests/fast/dom/Element/script-tests/setAttributeNS-namespace-err.js

Issue 133683004: Make arguments to Element methods non-optional (except setAttribute) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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: LayoutTests/fast/dom/Element/script-tests/setAttributeNS-namespace-err.js
diff --git a/LayoutTests/fast/dom/Element/script-tests/setAttributeNS-namespace-err.js b/LayoutTests/fast/dom/Element/script-tests/setAttributeNS-namespace-err.js
index d5af5e6fc57a27dc4dd5faec9035d79e2a48a28f..dbe8f561ddafb30158892e61a74a1658f4ffec21 100644
--- a/LayoutTests/fast/dom/Element/script-tests/setAttributeNS-namespace-err.js
+++ b/LayoutTests/fast/dom/Element/script-tests/setAttributeNS-namespace-err.js
@@ -124,10 +124,4 @@ function runNSTests()
}
}
-// Moz throws a "Not enough arguments" exception in these, we don't:
-var element = document.createElement("div");
-shouldBeUndefined("element.setAttributeNS()");
-shouldBeUndefined("element.setAttributeNS(\"http://www.example.com\")");
-shouldBeUndefined("element.setAttributeNS(\"http://www.example.com\", \"foo\")");
-
runNSTests();

Powered by Google App Engine
This is Rietveld 408576698