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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/dom/nodes/DOMImplementation-hasFeature.html

Issue 1988983002: Move the dom directory from web-platform-tests/ to wpt/. (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>DOMImplementation.hasFeature(feature, version)</title> 3 <title>DOMImplementation.hasFeature(feature, version)</title>
4 <link rel=help href="https://dom.spec.whatwg.org/#dom-domimplementation-hasfeatu re"> 4 <link rel=help href="https://dom.spec.whatwg.org/#dom-domimplementation-hasfeatu re">
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 <div id="log"></div> 7 <div id="log"></div>
8 <script> 8 <script>
9 test(function() { 9 test(function() {
10 var tests = [ 10 var tests = [
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 [null, ""], 132 [null, ""],
133 [undefined, ""], 133 [undefined, ""],
134 ]; 134 ];
135 tests.forEach(function(data) { 135 tests.forEach(function(data) {
136 test(function() { 136 test(function() {
137 assert_equals(document.implementation.hasFeature(data[0], data[1]), true) 137 assert_equals(document.implementation.hasFeature(data[0], data[1]), true)
138 }, "hasFeature(" + format_value(data[0]) + ", " + format_value(data[1]) + ") ") 138 }, "hasFeature(" + format_value(data[0]) + ", " + format_value(data[1]) + ") ")
139 }) 139 })
140 }) 140 })
141 </script> 141 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698