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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/dom/nodes/Node-isSameNode.html

Issue 1984023002: Move web-platform-tests to wpt (part 1 of 2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <meta charset="utf-8"> 2 <meta charset="utf-8">
3 <title>Node.prototype.isSameNode</title> 3 <title>Node.prototype.isSameNode</title>
4 <link rel=help href="https://dom.spec.whatwg.org/#dom-node-issamenode"> 4 <link rel=help href="https://dom.spec.whatwg.org/#dom-node-issamenode">
5 <script src="../../../../resources/testharness.js"></script> 5 <script src="../../../../resources/testharness.js"></script>
6 <script src="../../../../resources/testharnessreport.js"></script> 6 <script src="../../../../resources/testharnessreport.js"></script>
7 <script> 7 <script>
8 "use strict"; 8 "use strict";
9 9
10 test(function() { 10 test(function() {
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 var document1 = document.implementation.createDocument("", ""); 91 var document1 = document.implementation.createDocument("", "");
92 var document2 = document.implementation.createDocument("", ""); 92 var document2 = document.implementation.createDocument("", "");
93 93
94 assert_true(document1.isSameNode(document1), "self-comparison"); 94 assert_true(document1.isSameNode(document1), "self-comparison");
95 assert_false(document1.isSameNode(document2), "another empty XML document"); 95 assert_false(document1.isSameNode(document2), "another empty XML document");
96 assert_false(document1.isSameNode(null), "with null other node"); 96 assert_false(document1.isSameNode(null), "with null other node");
97 97
98 }, "documents should not be compared on reference"); 98 }, "documents should not be compared on reference");
99 99
100 </script> 100 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698