| Index: LayoutTests/fast/dom/Document/designMode-non-html.html
|
| diff --git a/LayoutTests/fast/dom/Document/scripts-non-html.html b/LayoutTests/fast/dom/Document/designMode-non-html.html
|
| similarity index 53%
|
| copy from LayoutTests/fast/dom/Document/scripts-non-html.html
|
| copy to LayoutTests/fast/dom/Document/designMode-non-html.html
|
| index 4d8340b85844b09ef3ab7c914614c9eaaa316413..42f59a95593395e3210a828adf66b59cc1f83739 100644
|
| --- a/LayoutTests/fast/dom/Document/scripts-non-html.html
|
| +++ b/LayoutTests/fast/dom/Document/designMode-non-html.html
|
| @@ -1,19 +1,20 @@
|
| <!DOCTYPE html>
|
| <html>
|
| <head>
|
| -<link rel="help" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/dom.html#dom-document-scripts"/>
|
| +<link rel="help" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/editing.html#making-entire-documents-editable:-the-designmode-idl-attribute"/>
|
| <script src="../../../resources/js-test.js"></script>
|
| </head>
|
| <body>
|
| <script>
|
| -description("Make sure the script attribute is exposed on non-HTML documents.");
|
| +description("Make sure the designMode attribute is exposed on non-HTML documents.");
|
|
|
| var xmlDocument = document.implementation.createDocument("", "", null);
|
| shouldBe("xmlDocument.__proto__", "XMLDocument.prototype");
|
| shouldBe("xmlDocument.__proto__.__proto__", "Document.prototype");
|
|
|
| -shouldBe("xmlDocument.scripts.__proto__", "HTMLCollection.prototype");
|
| -shouldBe("xmlDocument.scripts.length", "0");
|
| +shouldBeEqualToString("xmlDocument.designMode", "off");
|
| +shouldNotThrow("xmlDocument.designMode = 'on'");
|
| +shouldBeEqualToString("xmlDocument.designMode", "on");
|
| </script>
|
| </body>
|
| </html>
|
|
|