Changeset 85495 in webkit
- Timestamp:
- May 2, 2011 11:14:43 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 2 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r85481 r85495 1 2011-05-02 Daniel Bates <dbates@webkit.org> 2 3 Reviewed by Sam Weinig. 4 5 Convert manual test onblur-remove.html to a DRT test; onblur-remove.html fails 6 https://bugs.webkit.org/show_bug.cgi?id=59379 7 8 Make onblur-remove.html a DRT test. As of 04/25/2011 this test fails. See bug #59379 9 for more details. 10 11 * fast/events/onblur-remove-expected.txt: Added; expected failure results. 12 * fast/events/onblur-remove.html: Copied from Source/WebCore/manual-tests/onblur-remove.html. 13 1 14 2011-05-02 Martin Robinson <mrobinson@igalia.com> 2 15 -
trunk/LayoutTests/fast/events/onblur-remove.html
r85494 r85495 1 1 <html> 2 2 <head> 3 <link rel="stylesheet" href="../js/resources/js-test-style.css"> 4 <script src="../js/resources/js-test-pre.js"></script> 3 5 <script> 6 if (window.layoutTestController) 7 layoutTestController.waitUntilDone(); 8 4 9 var numBlurs = 0; 5 10 6 function debug(str) { 7 var c = document.getElementById('console') 8 c.innerHTML += str + "<br>" 9 10 } 11 window.onload = function() { document.getElementById("input").focus(); } 11 12 12 13 function finish() { … … 16 17 17 18 if (numBlurs) 18 debug('FAILURE: Onblur handler called!')19 testFailed('Onblur handler called.'); 19 20 else 20 debug('SUCCESS!') 21 testPassed('Onblur handler not called.'); 22 23 debug('<br /><span class="pass">TEST COMPLETE</span>'); 24 if (window.layoutTestController) 25 layoutTestController.notifyDone(); 21 26 } 22 27 </script> 23 28 </head> 24 29 <body> 25 <p >This tests that elements shouldn't emit any onblur events when they are being removed from the document. To test this, click inside the input field. If If this test is successful, "SUCCESS" should be shown below, otherwise "FAILURE" is shown.</p>30 <p id="description"></p> 26 31 <form id='f'> 27 <input onblur="numBlurs++" onfocus="setTimeout('finish()', 0)">32 <input id="input" onblur="numBlurs++" onfocus="setTimeout('finish()', 0)"> 28 33 </form> 29 <pre id="console"></pre> 34 <div id="console"></div> 35 <script> 36 description("This tests that elements shouldn't emit any onblur events when they are being removed from the document. <br>" + 37 "Note, this test is expected to fail as of 04/25/2011. See bug #59379."); 38 var successfullyParsed = true; 39 </script> 30 40 </body> 31 41 </html> -
trunk/Source/WebCore/ChangeLog
r85492 r85495 1 2011-05-02 Daniel Bates <dbates@webkit.org> 2 3 Reviewed by Sam Weinig. 4 5 Convert manual test onblur-remove.html to a DRT test; onblur-remove.html fails 6 https://bugs.webkit.org/show_bug.cgi?id=59379 7 8 Move manual test onblur-remove.html to LayoutTests/fast/events. 9 10 Test: fast/events/onblur-remove.html 11 12 * manual-tests/onblur-remove.html: Removed. 13 1 14 2011-05-02 Sailesh Agrawal <sail@chromium.org> 2 15
Note: See TracChangeset
for help on using the changeset viewer.