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

Side by Side Diff: LayoutTests/fast/dom/shadow/focus-navigation-tabstop-crash.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 <script src="../../../resources/js-test.js"></script> 2 <script src="../../../resources/js-test.js"></script>
3 <p>crbug.com/463486 when tab navigation skips a node with tabStop=false to chrom e, crash happens</p> 3 <p>crbug.com/463486 when tab navigation skips a node with tabStop=false to chrom e, crash happens</p>
4 <input id="first"><input id="second"> 4 <input id="first"><input id="second">
5 <pre id="console"></pre> 5 <pre id="console"></pre>
6 <script> 6 <script>
7 if (window.testRunner)
8 testRunner.dumpAsText();
9
10 if (!window.eventSender) 7 if (!window.eventSender)
11 testFailed(''); 8 testFailed('');
12 9
13 document.querySelector('#first').focus(); 10 document.querySelector('#first').focus();
14 document.querySelector('#second').tabStop = false; 11 document.querySelector('#second').tabStop = false;
15 eventSender.keyDown('\t'); 12 eventSender.keyDown('\t');
16 13
17 debug('Test finished.'); 14 debug('Test finished.');
18 </script> 15 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698