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

Side by Side Diff: LayoutTests/fast/forms/autofocus-keygen.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 <script> 5 <script>
6 window.jsTestIsAsync = true; 6 window.jsTestIsAsync = true;
7 7
8 function onLoad() { 8 function onLoad() {
9 shouldBe('document.activeElement', 'document.querySelector("keygen")'); 9 shouldBe('document.activeElement', 'document.querySelector("keygen")');
10 shouldBe('document.activeElement.autofocus', 'true'); 10 shouldBe('document.activeElement.autofocus', 'true');
11 finishJSTest(); 11 finishJSTest();
12 } 12 }
13 </script> 13 </script>
14 </head> 14 </head>
15 <body onload="onLoad();"> 15 <body onload="onLoad();">
16 <keygen autofocus> 16 <keygen autofocus>
17 <pre id="console"> 17 <pre id="console">
18 This tests whether the keygen element supports the autofocus attribute. 18 This tests whether the keygen element supports the autofocus attribute.
19 19
20 </pre> 20 </pre>
21 <script src="../js/resources/js-test-post.js"></script>
22 </body> 21 </body>
23 </html> 22 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/forms/autofocus-focus-only-once.html ('k') | LayoutTests/fast/forms/button/button-disabled-blur.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698