[Webkit-unassigned] [Bug 12457] New: crash if set innerHTML in onchange event

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 29 02:39:03 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=12457

           Summary: crash if set innerHTML in onchange event
           Product: WebKit
           Version: 419.x
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: nrlz at hotmail.com


I can crash Safari 419.3 with the following HTML:

<div id="a"><input type=checkbox onchange="prefill();"></div>

<script>
function prefill() {
  var elm = document.getElementById("a");
  elm.innerHTML = "<input type=checkbox>";
  elm.firstChild.onchange = prefill;
}
</script>


-- 
Configure bugmail: http://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