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

Unified Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/collections/namednodemap-supported-property-names.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/collections/namednodemap-supported-property-names.html
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/collections/namednodemap-supported-property-names.html b/third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/collections/namednodemap-supported-property-names.html
deleted file mode 100644
index 1ad8547e484424ffc42f4991ca11316465523d65..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/collections/namednodemap-supported-property-names.html
+++ /dev/null
@@ -1,30 +0,0 @@
-<!DOCTYPE HTML>
-<meta charset=utf-8>
-<title>NamedNodeMap Test: Supported property names</title>
-<script src="../../../../resources/testharness.js"></script>
-<script src="../../../../resources/testharnessreport.js"></script>
-<div id="log"></div>
-<div id="simple" class="fancy">Simple</div>
-<input id="result" type="text" value="" width="200px">
-<script>
-
-test(function() {
- var elt = document.querySelector('#simple');
- assert_array_equals(Object.getOwnPropertyNames(elt.attributes),
- ['0','1','id','class']);
-}, "Object.getOwnPropertyNames on NamedNodeMap");
-
-test(function() {
- var result = document.getElementById("result");
- assert_array_equals(Object.getOwnPropertyNames(result.attributes),
- ['0','1','2','3','id','type','value','width']);
-}, "Object.getOwnPropertyNames on NamedNodeMap of input");
-
-test(function() {
- var result = document.getElementById("result");
- result.removeAttribute("width");
- assert_array_equals(Object.getOwnPropertyNames(result.attributes),
- ['0','1','2','id','type','value']);
-}, "Object.getOwnPropertyNames on NamedNodeMap after attribute removal");
-
-</script>

Powered by Google App Engine
This is Rietveld 408576698