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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/dom/traversal/unfinished/001.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: Basics</title> 3 <title>DOM Traversal: NodeIterator: Basics</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, null, false); 6 var iterator = document.createNodeIterator(document, NodeFilter.SHOW_ALL, null, false);
7 var expected = new Array(9, // document 7 var expected = new Array(9, // document
8 1, // html 8 1, // html
9 3, 1, // head 9 3, 1, // head
10 3, 1, 3, // title 10 3, 1, 3, // title
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 else 42 else
43 p.firstChild.data = 'PASS'; 43 p.firstChild.data = 'PASS';
44 } 44 }
45 ]]></script> 45 ]]></script>
46 </head> 46 </head>
47 <body onload="doTest()"> 47 <body onload="doTest()">
48 <pre id="result">FAIL: Script failed to run.</pre> 48 <pre id="result">FAIL: Script failed to run.</pre>
49 </body> 49 </body>
50 <!-- some more nodes to test this: --> 50 <!-- some more nodes to test this: -->
51 <?test node?> 51 <?test node?>
52 52 <![CDATA[]]>
53 </html> 53 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698