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

Side by Side Diff: LayoutTests/fast/dom/shadow/content-selector-query.html

Issue 1169613002: Remove unnecessary testRunner.dumpAsText in LayoutTests/fast/dom/shadow (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../../resources/js-test.js"></script> 4 <script src="../../../resources/js-test.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <p>This test checks select attribute of content element is valid.</p> 7 <p>This test checks select attribute of content element is valid.</p>
8 <pre id="console"></pre> 8 <pre id="console"></pre>
9 <div id="container"></div> 9 <div id="container"></div>
10 10
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 'div:nth-last-of-type(1)', 'div:first-child', 'div:last-child', 'div:first-o f-type', 51 'div:nth-last-of-type(1)', 'div:first-child', 'div:last-child', 'div:first-o f-type',
52 'div:last-of-type', 'div:only-of-type', 52 'div:last-of-type', 'div:only-of-type',
53 'div:first-of-type:last-of-type', 'div.elem:visited', '*:visited', 53 'div:first-of-type:last-of-type', 'div.elem:visited', '*:visited',
54 'div:first-of-type, div', 'div, div:first-of-type', 'div:first-of-type, div: last-of-type', 'div:not(:not(div))', 'div:not(:hover)', 'div:not(div div)', 'div :not(div div:not)', 'div:not(div div:hover)', 'div div:not(:hover)', 54 'div:first-of-type, div', 'div, div:first-of-type', 'div:first-of-type, div: last-of-type', 'div:not(:not(div))', 'div:not(:hover)', 'div:not(div div)', 'div :not(div div:not)', 'div:not(div div:hover)', 'div div:not(:hover)',
55 ]; 55 ];
56 56
57 function doTest() { 57 function doTest() {
58 if (!window.internals) 58 if (!window.internals)
59 return; 59 return;
60 60
61 if (window.testRunner)
62 testRunner.dumpAsText();
63
64 for (var i = 0; i < dataOfValidCases.length; ++i) { 61 for (var i = 0; i < dataOfValidCases.length; ++i) {
65 test(dataOfValidCases[i], true); 62 test(dataOfValidCases[i], true);
66 } 63 }
67 for (var i = 0; i < dataOfInvalidCases.length; ++i) { 64 for (var i = 0; i < dataOfInvalidCases.length; ++i) {
68 test(dataOfInvalidCases[i], false); 65 test(dataOfInvalidCases[i], false);
69 } 66 }
70 } 67 }
71 68
72 doTest(); 69 doTest();
73 var successfullyParsed = true; 70 var successfullyParsed = true;
74 </script> 71 </script>
75 </body> 72 </body>
76 </html> 73 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698