[Webkit-unassigned] [Bug 256262] HTMLCanvasElement is orphaned causing a HTMLDocument leak on YouTube video pages

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 3 21:28:53 PDT 2023


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

--- Comment #5 from Ryan Reno <rreno at apple.com> ---
I can't make the CanvasGradient hold a weak reference to a context - that doesn't make sense because the spec doesn't give me the option of throwing an exception if there is no associated context.

I can probably make the CanvasStyle hold a WeakPtr to the CanvasGradient though. That way the Stack object that holds the CanvasStyle won't create a circular reference via CanvasGradient in this case.

-- 
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/20230504/293e4b44/attachment-0001.htm>


More information about the webkit-unassigned mailing list