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

Unified Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/nodes/DOMImplementation-hasFeature.html
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/nodes/DOMImplementation-hasFeature.html b/third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/nodes/DOMImplementation-hasFeature.html
deleted file mode 100644
index ca28b0274641afc3aa3918122fb0eeb75853988a..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/nodes/DOMImplementation-hasFeature.html
+++ /dev/null
@@ -1,141 +0,0 @@
-<!doctype html>
-<meta charset=utf-8>
-<title>DOMImplementation.hasFeature(feature, version)</title>
-<link rel=help href="https://dom.spec.whatwg.org/#dom-domimplementation-hasfeature">
-<script src="../../../../resources/testharness.js"></script>
-<script src="../../../../resources/testharnessreport.js"></script>
-<div id="log"></div>
-<script>
-test(function() {
- var tests = [
- ["Core", "1.0"],
- ["Core", "2.0"],
- ["Core", "3.0"],
- ["Core", "100.0"],
- ["XML", "1.0"],
- ["XML", "2.0"],
- ["XML", "3.0"],
- ["XML", "100.0"],
- ["Core", "1"],
- ["Core", "2"],
- ["Core", "3"],
- ["Core", "100"],
- ["XML", "1"],
- ["XML", "2"],
- ["XML", "3"],
- ["XML", "100"],
- ["Core", "1.1"],
- ["Core", "2.1"],
- ["Core", "3.1"],
- ["Core", "100.1"],
- ["XML", "1.1"],
- ["XML", "2.1"],
- ["XML", "3.1"],
- ["XML", "100.1"],
- ["Core", ""],
- ["XML", ""],
- ["core", ""],
- ["xml", ""],
- ["CoRe", ""],
- ["XmL", ""],
- [" Core", ""],
- [" XML", ""],
- ["Core ", ""],
- ["XML ", ""],
- ["Co re", ""],
- ["XM L", ""],
- ["aCore", ""],
- ["aXML", ""],
- ["Corea", ""],
- ["XMLa", ""],
- ["Coare", ""],
- ["XMaL", ""],
- ["Core", " "],
- ["XML", " "],
- ["Core", " 1.0"],
- ["Core", " 2.0"],
- ["Core", " 3.0"],
- ["Core", " 100.0"],
- ["XML", " 1.0"],
- ["XML", " 2.0"],
- ["XML", " 3.0"],
- ["XML", " 100.0"],
- ["Core", "1.0 "],
- ["Core", "2.0 "],
- ["Core", "3.0 "],
- ["Core", "100.0 "],
- ["XML", "1.0 "],
- ["XML", "2.0 "],
- ["XML", "3.0 "],
- ["XML", "100.0 "],
- ["Core", "1. 0"],
- ["Core", "2. 0"],
- ["Core", "3. 0"],
- ["Core", "100. 0"],
- ["XML", "1. 0"],
- ["XML", "2. 0"],
- ["XML", "3. 0"],
- ["XML", "100. 0"],
- ["Core", "a1.0"],
- ["Core", "a2.0"],
- ["Core", "a3.0"],
- ["Core", "a100.0"],
- ["XML", "a1.0"],
- ["XML", "a2.0"],
- ["XML", "a3.0"],
- ["XML", "a100.0"],
- ["Core", "1.0a"],
- ["Core", "2.0a"],
- ["Core", "3.0a"],
- ["Core", "100.0a"],
- ["XML", "1.0a"],
- ["XML", "2.0a"],
- ["XML", "3.0a"],
- ["XML", "100.0a"],
- ["Core", "1.a0"],
- ["Core", "2.a0"],
- ["Core", "3.a0"],
- ["Core", "100.a0"],
- ["XML", "1.a0"],
- ["XML", "2.a0"],
- ["XML", "3.a0"],
- ["XML", "100.a0"],
- ["Core", 1],
- ["Core", 2],
- ["Core", 3],
- ["Core", 100],
- ["XML", 1],
- ["XML", 2],
- ["XML", 3],
- ["XML", 100],
- ["Core", null],
- ["XML", null],
- ["core", null],
- ["xml", null],
- ["CoRe", null],
- ["XmL", null],
- [" Core", null],
- [" XML", null],
- ["Core ", null],
- ["XML ", null],
- ["Co re", null],
- ["XM L", null],
- ["aCore", null],
- ["aXML", null],
- ["Corea", null],
- ["XMLa", null],
- ["Coare", null],
- ["XMaL", null],
- ["Core", undefined],
- ["XML", undefined],
- ["This is filler text.", ""],
- [null, ""],
- [undefined, ""],
- ];
- tests.forEach(function(data) {
- test(function() {
- assert_equals(document.implementation.hasFeature(data[0], data[1]), true)
- }, "hasFeature(" + format_value(data[0]) + ", " + format_value(data[1]) + ")")
- })
-})
-</script>

Powered by Google App Engine
This is Rietveld 408576698