[Webkit-unassigned] [Bug 20381] New: 100% CPU DOMNodeRemovedFromDocument document.innerHTML='<x>'

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 14 05:25:21 PDT 2008


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

           Summary: 100% CPU DOMNodeRemovedFromDocument
                    document.innerHTML='<x>'
           Product: WebKit
           Version: 526+ (Nightly build)
          Platform: PC
               URL: http://skypher.com/SkyLined/Repro/Safari/100%25%20CPU%20
                    DOMNodeRemovedFromDocument%20document.innerHTML='%5Bx%5D
                    '/repro.html
        OS/Version: Windows Vista
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: berendjanwever at gmail.com


The following HTML causes WebKit to consume 100% CPU:
<BODY></BODY>
<SCRIPT>
       
document.body.addEventListener("DOMNodeRemovedFromDocument",function(){event.srcElement.innerHTML="<x>";},true);
        document.body.parentElement.removeChild(document.body);
</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