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

Unified Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/html/dom/documents/dom-tree-accessors/Element.getElementsByClassName-null-undef.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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/imported/web-platform-tests/html/dom/documents/dom-tree-accessors/Element.getElementsByClassName-null-undef.html
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/dom/documents/dom-tree-accessors/Element.getElementsByClassName-null-undef.html b/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/dom/documents/dom-tree-accessors/Element.getElementsByClassName-null-undef.html
deleted file mode 100644
index 491e6490333fcfdc15a12888875191b1de6dbbb8..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/dom/documents/dom-tree-accessors/Element.getElementsByClassName-null-undef.html
+++ /dev/null
@@ -1,30 +0,0 @@
-<!doctype html>
-<title>getElementsByClassName and null/undefined</title>
-<link rel="author" title="Ms2ger" href="mailto:ms2ger@gmail.com">
-<link rel="help" href="https://html.spec.whatwg.org/multipage/#dom-getelementsbyclassname">
-<script src="../../../../../../resources/testharness.js"></script>
-<script src="../../../../../../resources/testharnessreport.js"></script>
-<div id="log"></div>
-<div id="test">
-<p id="p1"></p>
-<p class="undefined" id="p2"></p>
-<p class="null" id="p3"></p>
-<p class="undefined null" id="p4"></p>
-</div>
-<script>
-test(function() {
- var wrapper = document.getElementById("test");
- assert_equals(wrapper.getElementsByClassName(undefined).length, 2);
- assert_equals(wrapper.getElementsByClassName(undefined)[0],
- document.getElementById("p2"));
- assert_equals(wrapper.getElementsByClassName(undefined)[1],
- document.getElementById("p4"));
-/*
- assert_equals(wrapper.getElementsByClassName(null).length, 2);
- assert_equals(wrapper.getElementsByClassName(null)[0],
- document.getElementById("p3"));
- assert_equals(wrapper.getElementsByClassName(null)[1],
- document.getElementById("p4"));
-*/
-});
-</script>

Powered by Google App Engine
This is Rietveld 408576698