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

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

Issue 2323113002: Revert "Import wpt@65954a35b4e0a5cee1f4839271ba0e44f187c0a6" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 3 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/wpt/dom/nodes/DOMImplementation-hasFeature.html
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/dom/nodes/DOMImplementation-hasFeature.html b/third_party/WebKit/LayoutTests/imported/wpt/dom/nodes/DOMImplementation-hasFeature.html
index 637565a60f4e89ad76e319da7f0813eab7f6cea8..2912051e73114dceb5042a308512b3f0b39afee5 100644
--- a/third_party/WebKit/LayoutTests/imported/wpt/dom/nodes/DOMImplementation-hasFeature.html
+++ b/third_party/WebKit/LayoutTests/imported/wpt/dom/nodes/DOMImplementation-hasFeature.html
@@ -8,12 +8,6 @@
<script>
test(function() {
var tests = [
- [],
- ["Core"],
- ["XML"],
- ["org.w3c.svg"],
- ["org.w3c.dom.svg"],
- ["http://www.w3.org/TR/SVG11/feature#Script"],
["Core", "1.0"],
["Core", "2.0"],
["Core", "3.0"],
@@ -137,19 +131,11 @@ test(function() {
["This is filler text.", ""],
[null, ""],
[undefined, ""],
- ["org.w3c.svg", ""],
- ["org.w3c.svg", "1.0"],
- ["org.w3c.svg", "1.1"],
- ["org.w3c.dom.svg", ""],
- ["org.w3c.dom.svg", "1.0"],
- ["org.w3c.dom.svg", "1.1"],
- ["http://www.w3.org/TR/SVG11/feature#Script", "7.5"],
];
tests.forEach(function(data) {
test(function() {
- assert_equals(document.implementation.hasFeature
- .apply(document.implementation, data), true)
- }, "hasFeature(" + data.map(format_value).join(", ") + ")")
+ 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