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

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

Issue 104503006: Sync DOMImplementation IDL with spec (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: update test 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/DOMImplementation/missing-arguments-expected.txt
diff --git a/LayoutTests/fast/dom/DOMImplementation/missing-arguments-expected.txt b/LayoutTests/fast/dom/DOMImplementation/missing-arguments-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5d96a0ddac4a8defedee4631f27f024fac37d1b3
--- /dev/null
+++ b/LayoutTests/fast/dom/DOMImplementation/missing-arguments-expected.txt
@@ -0,0 +1,11 @@
+PASS document.implementation.createDocument() threw exception TypeError: Failed to execute 'createDocument' on 'DOMImplementation': 2 arguments required, but only 0 present..
+PASS document.implementation.createDocument('http://example.com/') threw exception TypeError: Failed to execute 'createDocument' on 'DOMImplementation': 2 arguments required, but only 1 present..
+PASS document.implementation.createDocumentType() threw exception TypeError: Failed to execute 'createDocumentType' on 'DOMImplementation': 3 arguments required, but only 0 present..
+PASS document.implementation.createDocumentType('svg:svg') threw exception TypeError: Failed to execute 'createDocumentType' on 'DOMImplementation': 3 arguments required, but only 1 present..
+PASS document.implementation.createDocumentType('svg:svg', '-//W3C//DTD SVG 1.1//EN') threw exception TypeError: Failed to execute 'createDocumentType' on 'DOMImplementation': 3 arguments required, but only 2 present..
+PASS document.implementation.hasFeature() threw exception TypeError: Failed to execute 'hasFeature' on 'DOMImplementation': 2 arguments required, but only 0 present..
+PASS document.implementation.hasFeature('') threw exception TypeError: Failed to execute 'hasFeature' on 'DOMImplementation': 2 arguments required, but only 1 present..
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/fast/dom/DOMImplementation/missing-arguments.html ('k') | Source/core/dom/DOMImplementation.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698