| OLD | NEW |
| 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 <script> | 4 <script> |
| 5 if (window.testRunner) | 5 if (window.testRunner) |
| 6 testRunner.waitUntilDone(); | 6 testRunner.waitUntilDone(); |
| 7 | 7 |
| 8 var numBlurs = 0; | 8 var numBlurs = 0; |
| 9 | 9 |
| 10 window.onload = function() { document.getElementById("input").focus(); } | 10 window.onload = function() { document.getElementById("input").focus(); } |
| 11 | 11 |
| 12 function finish() { | 12 function finish() { |
| 13 var f = document.getElementById('f') | 13 var f = document.getElementById('f') |
| (...skipping 16 matching lines...) Expand all Loading... |
| 30 <form id='f'> | 30 <form id='f'> |
| 31 <input id="input" onblur="numBlurs++" onfocus="setTimeout('finish()', 0)"> | 31 <input id="input" onblur="numBlurs++" onfocus="setTimeout('finish()', 0)"> |
| 32 </form> | 32 </form> |
| 33 <div id="console"></div> | 33 <div id="console"></div> |
| 34 <script> | 34 <script> |
| 35 description("This tests that elements shouldn't emit any onblur events w
hen they are being removed from the document. <br>" + | 35 description("This tests that elements shouldn't emit any onblur events w
hen they are being removed from the document. <br>" + |
| 36 "Note, this test is expected to fail as of 04/25/2011. See b
ug #59379."); | 36 "Note, this test is expected to fail as of 04/25/2011. See b
ug #59379."); |
| 37 </script> | 37 </script> |
| 38 </body> | 38 </body> |
| 39 </html> | 39 </html> |
| OLD | NEW |