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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 <meta charset=utf-8> 2 <meta charset=utf-8>
3 <title>NamedNodeMap Test: Supported property names</title> 3 <title>NamedNodeMap Test: Supported property names</title>
4 <script src="../../../../resources/testharness.js"></script> 4 <script src="../../../../resources/testharness.js"></script>
5 <script src="../../../../resources/testharnessreport.js"></script> 5 <script src="../../../../resources/testharnessreport.js"></script>
6 <div id="log"></div> 6 <div id="log"></div>
7 <div id="simple" class="fancy">Simple</div> 7 <div id="simple" class="fancy">Simple</div>
8 <input id="result" type="text" value="" width="200px"> 8 <input id="result" type="text" value="" width="200px">
9 <script> 9 <script>
10 10
(...skipping 10 matching lines...) Expand all
21 }, "Object.getOwnPropertyNames on NamedNodeMap of input"); 21 }, "Object.getOwnPropertyNames on NamedNodeMap of input");
22 22
23 test(function() { 23 test(function() {
24 var result = document.getElementById("result"); 24 var result = document.getElementById("result");
25 result.removeAttribute("width"); 25 result.removeAttribute("width");
26 assert_array_equals(Object.getOwnPropertyNames(result.attributes), 26 assert_array_equals(Object.getOwnPropertyNames(result.attributes),
27 ['0','1','2','id','type','value']); 27 ['0','1','2','id','type','value']);
28 }, "Object.getOwnPropertyNames on NamedNodeMap after attribute removal"); 28 }, "Object.getOwnPropertyNames on NamedNodeMap after attribute removal");
29 29
30 </script> 30 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698