Changeset 85495 in webkit


Ignore:
Timestamp:
May 2, 2011 11:14:43 AM (13 years ago)
Author:
dbates@webkit.org
Message:

2011-05-02 Daniel Bates <dbates@webkit.org>

Reviewed by Sam Weinig.

Convert manual test onblur-remove.html to a DRT test; onblur-remove.html fails
https://bugs.webkit.org/show_bug.cgi?id=59379

Make onblur-remove.html a DRT test. As of 04/25/2011 this test fails. See bug #59379
for more details.

  • fast/events/onblur-remove-expected.txt: Added; expected failure results.
  • fast/events/onblur-remove.html: Copied from Source/WebCore/manual-tests/onblur-remove.html.

2011-05-02 Daniel Bates <dbates@webkit.org>

Reviewed by Sam Weinig.

Convert manual test onblur-remove.html to a DRT test; onblur-remove.html fails
https://bugs.webkit.org/show_bug.cgi?id=59379

Move manual test onblur-remove.html to LayoutTests/fast/events.

Test: fast/events/onblur-remove.html

  • manual-tests/onblur-remove.html: Removed.
Location:
trunk
Files:
1 added
2 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r85481 r85495  
     12011-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
    1142011-05-02  Martin Robinson  <mrobinson@igalia.com>
    215
  • trunk/LayoutTests/fast/events/onblur-remove.html

    r85494 r85495  
    11<html>
    22  <head>
     3      <link rel="stylesheet" href="../js/resources/js-test-style.css">
     4      <script src="../js/resources/js-test-pre.js"></script>
    35    <script>
     6        if (window.layoutTestController)
     7            layoutTestController.waitUntilDone();
     8
    49        var numBlurs = 0;
    510
    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(); }
    1112
    1213        function finish() {
     
    1617
    1718            if (numBlurs)
    18                 debug('FAILURE: Onblur handler called!')
     19                testFailed('Onblur handler called.');
    1920            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();
    2126        }
    2227    </script>
    2328  </head>
    2429<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>
    2631    <form id='f'>
    27       <input onblur="numBlurs++" onfocus="setTimeout('finish()', 0)">
     32      <input id="input" onblur="numBlurs++" onfocus="setTimeout('finish()', 0)">
    2833    </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>
    3040  </body>
    3141</html>
  • trunk/Source/WebCore/ChangeLog

    r85492 r85495  
     12011-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
    1142011-05-02  Sailesh Agrawal  <sail@chromium.org>
    215
Note: See TracChangeset for help on using the changeset viewer.