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

Side by Side Diff: LayoutTests/fast/events/related-target-focusevent.html

Issue 58533003: Move fast/js/resources files to resources. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 | Annotate | Revision Log
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../js/resources/js-test-pre.js"></script> 3 <script src="../../resources/js-test.js"></script>
4 </head> 4 </head>
5 <body> 5 <body>
6 <p id="description"></p> 6 <p id="description"></p>
7 <input id="input1" type="text"></input> 7 <input id="input1" type="text"></input>
8 <input id="input2" type="text"></input> 8 <input id="input2" type="text"></input>
9 <input id="input3" type="text"></input> 9 <input id="input3" type="text"></input>
10 <script> 10 <script>
11 jsTestIsAsync = true; 11 jsTestIsAsync = true;
12 12
13 description("Checks that the relatedTarget attribute for FocusEvent objects is b eing set correctly when focusin/focusout events are dispatched. <b>Press tab fo ur times</b> to dispatch a focusin and focusout event for each of the inputs bel ow."); 13 description("Checks that the relatedTarget attribute for FocusEvent objects is b eing set correctly when focusin/focusout events are dispatched. <b>Press tab fo ur times</b> to dispatch a focusin and focusout event for each of the inputs bel ow.");
(...skipping 11 matching lines...) Expand all
25 input2.addEventListener("focus", function(event) { shouldBe('event.relatedTarget ', 'input1'); }); 25 input2.addEventListener("focus", function(event) { shouldBe('event.relatedTarget ', 'input1'); });
26 input2.addEventListener("blur", function(event) { shouldBe('event.relatedTarget' , 'input3'); finishJSTest(); }); 26 input2.addEventListener("blur", function(event) { shouldBe('event.relatedTarget' , 'input3'); finishJSTest(); });
27 27
28 input1.focus(); 28 input1.focus();
29 for (var i = 0; i < 2; i++) { 29 for (var i = 0; i < 2; i++) {
30 eventSender.keyDown('\t'); 30 eventSender.keyDown('\t');
31 } 31 }
32 </script> 32 </script>
33 </body> 33 </body>
34 </html> 34 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/events/popup-blocking-timers6.html ('k') | LayoutTests/fast/events/resize-events.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698