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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/Node/script-tests/isEqualNode.js

Issue 2667393002: Stop using script-tests in fast/dom/. (Closed)
Patch Set: . Created 3 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: third_party/WebKit/LayoutTests/fast/dom/Node/script-tests/isEqualNode.js
diff --git a/third_party/WebKit/LayoutTests/fast/dom/Node/script-tests/isEqualNode.js b/third_party/WebKit/LayoutTests/fast/dom/Node/script-tests/isEqualNode.js
deleted file mode 100644
index debb4f478bd84654ea58d6c44ff742b78ea2b961..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/dom/Node/script-tests/isEqualNode.js
+++ /dev/null
@@ -1,11 +0,0 @@
-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)");

Powered by Google App Engine
This is Rietveld 408576698