Bug 20381 - 100% CPU DOMNodeRemovedFromDocument document.innerHTML='<x>'
Summary: 100% CPU DOMNodeRemovedFromDocument document.innerHTML='<x>'
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Windows Vista
: P2 Normal
Assignee: Nobody
URL: http://skypher.com/SkyLined/Repro/Saf...
Keywords: HasReduction, InRadar
Depends on:
Blocks:
 
Reported: 2008-08-14 05:25 PDT by Berend-Jan Wever
Modified: 2009-07-22 12:06 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Berend-Jan Wever 2008-08-14 05:25:21 PDT
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>
Comment 1 David Kilzer (:ddkilzer) 2009-07-22 12:06:49 PDT
<rdar://problem/7082992>