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

Unified Diff: LayoutTests/fast/dom/DOMImplementation/createDocument-XMLDocument-expected.txt

Issue 144063004: Add support for DOM4's XMLDocument interface (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove FIXME about XMLDocument.load() 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/DOMImplementation/createDocument-XMLDocument-expected.txt
diff --git a/LayoutTests/fast/dom/DOMImplementation/createDocument-XMLDocument-expected.txt b/LayoutTests/fast/dom/DOMImplementation/createDocument-XMLDocument-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bdbb3f5a7463cb0ce5955e470793bbb8a32c725b
--- /dev/null
+++ b/LayoutTests/fast/dom/DOMImplementation/createDocument-XMLDocument-expected.txt
@@ -0,0 +1,16 @@
+Check that DOMImplementation.createDocument() returns an XMLDocument.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS window.XMLDocument.name is "XMLDocument"
+PASS XMLDocument.prototype.__proto__ is Document.prototype
+PASS document.implementation.createDocument("", "").__proto__ is XMLDocument.prototype
+PASS document.implementation.createDocument("", "html").__proto__ is XMLDocument.prototype
+PASS document.implementation.createDocument("http://www.w3.org/1999/xhtml", "html").__proto__ is XMLDocument.prototype
+PASS document.implementation.createDocument("http://www.w3.org/2000/xmlns/", "xmlns:test").__proto__ is XMLDocument.prototype
+FAIL document.implementation.createDocument("http://www.w3.org/2000/svg", "svg").__proto__ should be [object Object]. Was [object Object].
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/fast/dom/DOMImplementation/createDocument-XMLDocument.html ('k') | LayoutTests/fast/dom/Document/clone-node.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698