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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/dom/traversal/unfinished/010.xml

Issue 2479383004: Stop converting test contents for tests in imported/wpt. (Closed)
Patch Set: Created 4 years, 1 month 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 <html xmlns="http://www.w3.org/1999/xhtml"> 1 <html xmlns="http://www.w3.org/1999/xhtml">
2 <head> 2 <head>
3 <title>DOM Traversal: NodeIterator: Filters</title> 3 <title>DOM Traversal: NodeIterator: Filters</title>
4 <script type="text/javascript"> <![CDATA[ 4 <script type="text/javascript"> <![CDATA[
5 function doTest() { 5 function doTest() {
6 var iterator = document.createNodeIterator(document, NodeFilter.SHOW_ALL, testFilter, false); 6 var iterator = document.createNodeIterator(document, NodeFilter.SHOW_ALL, testFilter, false);
7 // skips text nodes and body element 7 // skips text nodes and body element
8 var expected = new Array(9, // document 8 var expected = new Array(9, // document
9 1, // html 9 1, // html
10 1, // head 10 1, // head
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 return 1; // FILTER_ACCEPT 53 return 1; // FILTER_ACCEPT
54 } 54 }
55 55
56 ]]></script> 56 ]]></script>
57 </head> 57 </head>
58 <body onload="doTest()"> 58 <body onload="doTest()">
59 <pre id="result">FAIL: Script failed to run.</pre> 59 <pre id="result">FAIL: Script failed to run.</pre>
60 </body> 60 </body>
61 <!-- some more nodes to test this: --> 61 <!-- some more nodes to test this: -->
62 <?body test?> 62 <?body test?>
63 63 <![CDATA[]]>
64 </html> 64 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698