[Webkit-unassigned] [Bug 186221] throw/catch(e) abandons a Document

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 1 20:55:59 PDT 2018


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

--- Comment #3 from Simon Fraser (smfr) <simon.fraser at apple.com> ---
My heap inspector tool shows a reference chain thus:

Exception (GC root—VM exceptions) -> Internal -> 
ProgramCodeBlock  ->  Internal -> 
Window  -> Variable document  -> 
HTMLDocument  “file:///Volumes/Data/Development/apple/webkit/OpenSource/LayoutTests/fast/css/invalid-import-rule-insertion.html”

m_vm->lastException() is a GC root (see slotVisitor.appendUnbarriered(m_vm->lastException()) in Heap.cpp).

Seems like we should clear this at some point.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180602/048cd00c/attachment.html>


More information about the webkit-unassigned mailing list