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

Side by Side Diff: LayoutTests/fast/dom/shadow/focusable-elements-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 focusable elements</ p> 8 <p>This tests TAB focus navigation with tabStop property on focusable elements</ p>
9 <pre id="console"></pre> 9 <pre id="console"></pre>
10 <div id="sandbox"></div> 10 <div id="sandbox"></div>
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 'anchor-host/anchor-inner', 165 'anchor-host/anchor-inner',
166 'anchor-after' 166 'anchor-after'
167 ]; 167 ];
168 168
169 testFocusNavigationForward(expectedOrder); 169 testFocusNavigationForward(expectedOrder);
170 expectedOrder.reverse(); 170 expectedOrder.reverse();
171 testFocusNavigationBackward(expectedOrder); 171 testFocusNavigationBackward(expectedOrder);
172 } 172 }
173 173
174 function run_tests() { 174 function run_tests() {
175 if (window.testRunner)
176 testRunner.dumpAsText();
177
178 if (!window.eventSender) { 175 if (!window.eventSender) {
179 testFailed(''); 176 testFailed('');
180 return; 177 return;
181 } 178 }
182 179
183 testRunner.overridePreference("WebKitTabToLinksPreferenceKey", true); 180 testRunner.overridePreference("WebKitTabToLinksPreferenceKey", true);
184 181
185 testFocusableElementsWithIsTabStop(); 182 testFocusableElementsWithIsTabStop();
186 sandbox.innerHTML = ''; 183 sandbox.innerHTML = '';
187 184
188 testButton(); 185 testButton();
189 sandbox.innerHTML = ''; 186 sandbox.innerHTML = '';
190 187
191 testAnchor(); 188 testAnchor();
192 189
193 debug('Test finished.'); 190 debug('Test finished.');
194 } 191 }
195 192
196 run_tests(); 193 run_tests();
197 </script> 194 </script>
198 </body> 195 </body>
199 </html> 196 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/shadow/focus-slide-on-shadow-host.html ('k') | LayoutTests/fast/dom/shadow/gesture-tap.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698