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

Unified Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/html/dom/elements/global-attributes/classlist-nonstring.html

Issue 1979363002: Moved 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/html/dom/elements/global-attributes/classlist-nonstring.html
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/dom/elements/global-attributes/classlist-nonstring.html b/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/dom/elements/global-attributes/classlist-nonstring.html
deleted file mode 100644
index b3274d518c7198959bc8ebb76b7121f1098cf8b0..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/dom/elements/global-attributes/classlist-nonstring.html
+++ /dev/null
@@ -1,44 +0,0 @@
-<!DOCTYPE html>
-<title>classList: non-string contains</title>
-<link rel="author" title="Ms2ger" href="mailto:ms2ger@gmail.com">
-<link rel="help" href="https://html.spec.whatwg.org/multipage/#classes">
-<link rel="help" href="https://html.spec.whatwg.org/multipage/#domtokenlist">
-<link rel="help" href="https://heycam.github.io/webidl/#es-DOMString">
-<link rel="help" href="http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-262.pdf#page=57">
-<script src="../../../../../../resources/testharness.js"></script>
-<script src="../../../../../../resources/testharnessreport.js"></script>
-<div id="log"></div>
-<div id="test">
-<ul>
-<li class=undefined>
-<li class=null>
-<li class=0>
-<li class=NaN>
-<li class=Infinity>
-<li class=-Infinity>
-</ul>
-<script>
-var items = document.getElementById("test")
- .getElementsByTagName("li");
-var tests = [undefined, null, -0, +0, NaN, +Infinity, -Infinity];
-var results = [
- [true, false, false, false, false, false, false], // "undefined"
- [false, true, false, false, false, false, false], // "null"
- [false, false, true, true, false, false, false], // "0"
- [false, false, false, false, true, false, false], // "NaN"
- [false, false, false, false, false, true, false], // "Infinity"
- [false, false, false, false, false, false, true ] // "-Infinity"
-];
-</script>
-</div>
-<script>
-test(function() {
- for (var i = 0, il = items.length; i < il; ++i) {
- test(function() {
- for (var j = 0, jl = tests.length; j < jl; ++j) {
- assert_equals(items[i].classList.contains(tests[j]), results[i][j]);
- }
- })
- }
-})
-</script>

Powered by Google App Engine
This is Rietveld 408576698