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

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

Issue 106773003: Make arguments to Document methods non-optional (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years 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/Document/missing-arguments-expected.txt
diff --git a/LayoutTests/fast/dom/Document/missing-arguments-expected.txt b/LayoutTests/fast/dom/Document/missing-arguments-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..312469ba1655dcde3b9743b4e3b2af2101a8ebbf
--- /dev/null
+++ b/LayoutTests/fast/dom/Document/missing-arguments-expected.txt
@@ -0,0 +1,19 @@
+PASS document.adoptNode() threw exception TypeError: Failed to execute 'adoptNode' on 'Document': 1 argument required, but only 0 present..
+PASS document.createComment() threw exception TypeError: Failed to execute 'createComment' on 'Document': 1 argument required, but only 0 present..
+PASS document.createElement() threw exception TypeError: Failed to execute 'createElement' on 'Document': 1 argument required, but only 0 present..
+PASS document.createElementNS('http://www.w3.org/2000/svg') threw exception TypeError: Failed to execute 'createElementNS' on 'Document': 2 arguments required, but only 1 present..
+PASS document.createElementNS() threw exception TypeError: Failed to execute 'createElementNS' on 'Document': 2 arguments required, but only 0 present..
+PASS document.createEvent() threw exception TypeError: Failed to execute 'createEvent' on 'Document': 1 argument required, but only 0 present..
+PASS document.createProcessingInstruction('xml') threw exception TypeError: Failed to execute 'createProcessingInstruction' on 'Document': 2 arguments required, but only 1 present..
+PASS document.createProcessingInstruction() threw exception TypeError: Failed to execute 'createProcessingInstruction' on 'Document': 2 arguments required, but only 0 present..
+PASS document.createTextNode() threw exception TypeError: Failed to execute 'createTextNode' on 'Document': 1 argument required, but only 0 present..
+PASS document.getElementById() threw exception TypeError: Failed to execute 'getElementById' on 'Document': 1 argument required, but only 0 present..
+PASS document.getElementsByClassName() threw exception TypeError: Failed to execute 'getElementsByClassName' on 'Document': 1 argument required, but only 0 present..
+PASS document.getElementsByTagName() threw exception TypeError: Failed to execute 'getElementsByTagName' on 'Document': 1 argument required, but only 0 present..
+PASS document.getElementsByTagNameNS('http://www.w3.org/2000/svg') threw exception TypeError: Failed to execute 'getElementsByTagNameNS' on 'Document': 2 arguments required, but only 1 present..
+PASS document.getElementsByTagNameNS() threw exception TypeError: Failed to execute 'getElementsByTagNameNS' on 'Document': 2 arguments required, but only 0 present..
+PASS document.importNode() threw exception TypeError: Failed to execute 'importNode' on 'Document': 1 argument required, but only 0 present..
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698