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

Unified Diff: LayoutTests/fast/dom/NamedNodeMap-missing-arguments-expected.txt

Issue 758173002: Make arguments to NamedNodeMap methods non-optional (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: tests 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/NamedNodeMap-missing-arguments-expected.txt
diff --git a/LayoutTests/fast/dom/NamedNodeMap-missing-arguments-expected.txt b/LayoutTests/fast/dom/NamedNodeMap-missing-arguments-expected.txt
index 2b874af92ad6ef4a6cd4172ff23590da001564fd..f1e945307cd8fd21286af25136e98d3b1f2fc968 100644
--- a/LayoutTests/fast/dom/NamedNodeMap-missing-arguments-expected.txt
+++ b/LayoutTests/fast/dom/NamedNodeMap-missing-arguments-expected.txt
@@ -1,3 +1,10 @@
+PASS attributes.getNamedItem() threw exception TypeError: Failed to execute 'getNamedItem' on 'NamedNodeMap': 1 argument required, but only 0 present..
+PASS attributes.getNamedItemNS() threw exception TypeError: Failed to execute 'getNamedItemNS' on 'NamedNodeMap': 2 arguments required, but only 0 present..
+PASS attributes.getNamedItemNS('http://www.w3.org/2000/svg') threw exception TypeError: Failed to execute 'getNamedItemNS' on 'NamedNodeMap': 2 arguments required, but only 1 present..
+PASS attributes.item() threw exception TypeError: Failed to execute 'item' on 'NamedNodeMap': 1 argument required, but only 0 present..
+PASS attributes.removeNamedItem() threw exception TypeError: Failed to execute 'removeNamedItem' on 'NamedNodeMap': 1 argument required, but only 0 present..
+PASS attributes.removeNamedItemNS() threw exception TypeError: Failed to execute 'removeNamedItemNS' on 'NamedNodeMap': 2 arguments required, but only 0 present..
+PASS attributes.removeNamedItemNS('http://www.w3.org/2000/svg') threw exception TypeError: Failed to execute 'removeNamedItemNS' on 'NamedNodeMap': 2 arguments required, but only 1 present..
PASS attributes.setNamedItem() threw exception TypeError: Failed to execute 'setNamedItem' on 'NamedNodeMap': 1 argument required, but only 0 present..
PASS attributes.setNamedItemNS() threw exception TypeError: Failed to execute 'setNamedItemNS' on 'NamedNodeMap': 1 argument required, but only 0 present..
PASS successfullyParsed is true

Powered by Google App Engine
This is Rietveld 408576698