Bug 20381
| Summary: | 100% CPU DOMNodeRemovedFromDocument document.innerHTML='<x>' | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Berend-Jan Wever <skylined> |
| Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED CONFIGURATION CHANGED | ||
| Severity: | Normal | CC: | ahmad.saleem792, laszlo.gombos |
| Priority: | P2 | Keywords: | HasReduction, InRadar |
| Version: | 528+ (Nightly build) | ||
| Hardware: | PC | ||
| OS: | Windows Vista | ||
| URL: | http://skypher.com/SkyLined/Repro/Safari/100%25%20CPU%20DOMNodeRemovedFromDocument%20document.innerHTML='%5Bx%5D'/repro.html | ||
Berend-Jan Wever
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>
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
David Kilzer (:ddkilzer)
<rdar://problem/7082992>
Ahmad Saleem
I took test from Comment 0 and changed it into JSFiddle and couldn't find anything in CPU Activity on STP191.
Plus the URL from `URL` field does not exist on Wayback Archive.
Search via - http://skypher.com/SkyLined/Repro/Safari/
Marking this as 'RESOLVED CONFIGURATION CHANGED'. If it was an issue, it might have been resolved by now.