[Webkit-unassigned] [Bug 26361] New: Test case LayoutTests\editing\deleting\5156801.html is borken

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 12 16:27:30 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=26361

           Summary: Test case LayoutTests\editing\deleting\5156801.html is
                    borken
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Critical
          Priority: P5
         Component: Tools / Tests
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: rniwa at google.com
                CC: justin.garcia at apple.com


The explanation and code in
LayoutTests\editing\deleting\5156801.html
does not match.

In fact, the test seems to be missing some code.

The following is the original code:
<p>This tests for a bug where delete would crash if a node just after the
selection to delete is removed in a DOMNodeRemoved event handler for the last
node in the selection to delete.</p> 
<div contenteditable="true">foo<span id="foo">x</span><span
id="removeme">y</span></div> 

<script> 
function removeHandler() {
    var removeme = document.getElementById("removeme");
    removeme.parentNode.removeChild(removeme);
}

document.getElementById("foo").addEventListener("DOMNodeRemoved",
removeHandler);
</script>


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list