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

Side by Side Diff: LayoutTests/fast/dom/DOMImplementation/createDocument-XMLDocument.html

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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../../../resources/js-test.js"></script>
5 </head>
6 <body>
7 <script>
8 description('Check that DOMImplementation.createDocument() returns an XMLDocumen t.');
9
10 shouldBeEqualToString('window.XMLDocument.name', 'XMLDocument');
11 shouldBe('XMLDocument.prototype.__proto__', 'Document.prototype');
12
13 shouldBe('document.implementation.createDocument("", "").__proto__', 'XMLDocumen t.prototype');
14 shouldBe('document.implementation.createDocument("", "html").__proto__', 'XMLDoc ument.prototype');
15 shouldBe('document.implementation.createDocument("http://www.w3.org/1999/xhtml", "html").__proto__', 'XMLDocument.prototype');
16 shouldBe('document.implementation.createDocument("http://www.w3.org/2000/xmlns/" , "xmlns:test").__proto__', 'XMLDocument.prototype');
17 // FIXME: This is not passing yet, this currently returns an SVGDocument which i s no longer part of SVG2.
18 shouldBe('document.implementation.createDocument("http://www.w3.org/2000/svg", " svg").__proto__', 'XMLDocument.prototype');
19 </script>
20 </body>
21 </html>
22
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698