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

Side by Side Diff: LayoutTests/fast/dom/shadow/focus-navigation-with-tabstop.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 <script src="resources/shadow-dom.js"></script> 5 <script src="resources/shadow-dom.js"></script>
6 </head> 6 </head>
7 <body> 7 <body>
8 <p>This tests TAB focus navigation with tabStop property on elements</p> 8 <p>This tests TAB focus navigation with tabStop property on elements</p>
9 <pre id="console"></pre> 9 <pre id="console"></pre>
10 <script> 10 <script>
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 // 'host-div', // should skip host when tabStop = false 139 // 'host-div', // should skip host when tabStop = false
140 'host-div/inner-input' 140 'host-div/inner-input'
141 ]; 141 ];
142 142
143 testFocusNavigationForward(expectedOrder); 143 testFocusNavigationForward(expectedOrder);
144 expectedOrder.reverse(); 144 expectedOrder.reverse();
145 testFocusNavigationBackward(expectedOrder); 145 testFocusNavigationBackward(expectedOrder);
146 } 146 }
147 147
148 function run_tests() { 148 function run_tests() {
149 if (window.testRunner)
150 testRunner.dumpAsText();
151
152 if (!window.eventSender) { 149 if (!window.eventSender) {
153 testFailed(''); 150 testFailed('');
154 return; 151 return;
155 } 152 }
156 153
157 prepareDOMTree(document.body); 154 prepareDOMTree(document.body);
158 test(); 155 test();
159 156
160 debug('Test finished.'); 157 debug('Test finished.');
161 } 158 }
162 159
163 run_tests(); 160 run_tests();
164 </script> 161 </script>
165 </body> 162 </body>
166 </html> 163 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698