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

Side by Side Diff: LayoutTests/fast/forms/access-key-for-all-elements.html

Issue 48903019: Delete js-test-post.js. (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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../js/resources/js-test-pre.js"></script> 4 <script src="../js/resources/js-test-pre.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <script> 7 <script>
8 description('This test checks to see if accesskey attributes works on all elemen ts.'); 8 description('This test checks to see if accesskey attributes works on all elemen ts.');
9 9
10 function pressKey(key) 10 function pressKey(key)
(...skipping 20 matching lines...) Expand all
31 testElement.onclick = function () { clicked = true; } 31 testElement.onclick = function () { clicked = true; }
32 var focused = false; 32 var focused = false;
33 testElement.onfocus = function () { focused = true; } 33 testElement.onfocus = function () { focused = true; }
34 debug('Check for ' + testElement.tagName + ' tag'); 34 debug('Check for ' + testElement.tagName + ' tag');
35 shouldBeDefined('testElement.accessKey'); 35 shouldBeDefined('testElement.accessKey');
36 shouldBeTrue("testElement.accessKey ='k'; testElement.accessKey == 'k'"); 36 shouldBeTrue("testElement.accessKey ='k'; testElement.accessKey == 'k'");
37 shouldBe("pressKey(testElement.accessKey);[clicked, focused]", "[true, false ]"); 37 shouldBe("pressKey(testElement.accessKey);[clicked, focused]", "[true, false ]");
38 debug(''); 38 debug('');
39 } 39 }
40 </script> 40 </script>
41 <script src="../js/resources/js-test-post.js"></script>
42 <div id="console"></div> 41 <div id="console"></div>
43 </body> 42 </body>
44 </html> 43 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/forms/access-key-case-insensitive.html ('k') | LayoutTests/fast/forms/access-key-mutated.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698