| Index: third_party/WebKit/LayoutTests/fast/dom/Node/isEqualNode.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/dom/Node/isEqualNode.html b/third_party/WebKit/LayoutTests/fast/dom/Node/isEqualNode.html
|
| index 372276e5bf408f30f20880e1e6b783c28b3da572..a963db917a619faae36b13eb6ffa758bfb3b67d4 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/dom/Node/isEqualNode.html
|
| +++ b/third_party/WebKit/LayoutTests/fast/dom/Node/isEqualNode.html
|
| @@ -4,6 +4,18 @@
|
| <script src="../../../resources/js-test.js"></script>
|
| </head>
|
| <body>
|
| -<script src="script-tests/isEqualNode.js"></script>
|
| +<script>
|
| +description("Test the isEqualNode API.");
|
| +
|
| +debug("Test isEqualNode for DocumentType nodes.");
|
| +var docTypeAllSet = document.implementation.createDocumentType('html', '-//W3C//DTD XHTML 1.0 Strict//EN', 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd');
|
| +var docTypeAllSet2 = document.implementation.createDocumentType('html', '-//W3C//DTD XHTML 1.0 Strict//EN', 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd');
|
| +var docTypeDifferentPublicID = document.implementation.createDocumentType('html', 'foo', 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd');
|
| +var docTypeDifferentSystemID = document.implementation.createDocumentType('html', '-//W3C//DTD XHTML 1.0 Strict//EN', 'bar');
|
| +
|
| +shouldBeTrue("docTypeAllSet.isEqualNode(docTypeAllSet2)");
|
| +shouldBeFalse("docTypeAllSet.isEqualNode(docTypeDifferentPublicID)");
|
| +shouldBeFalse("docTypeAllSet.isEqualNode(docTypeDifferentSystemID)");
|
| +</script>
|
| </body>
|
| </html>
|
|
|