[Webkit-unassigned] [Bug 214765] [WebGL2] expando-loss and expando-loss-2 conformance tests are failing

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 7 18:09:35 PDT 2020


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

--- Comment #5 from Sam Weinig <sam at webkit.org> ---
(In reply to Sam Weinig from comment #4)
> Using Strong is usually not the right solution for GC problems. Rather, the
> bindings layer likely needs custom marking to inform the GC about the
> relationships. 
> 
> In most cases, this is done by using the JSCustomMarkFunction extended
> attribute in the IDL file, and then implementing a custom
> visitAdditionalChildren for the wrapper.

Alternatively, if the objects that are getting collected have references to their parents, you could fix this on their side, by marking them reachable from the WebGLRenderingContextBase. It work was done towards this for WebGL1 maybe, see     uses of GenerateIsReachable=ImplWebGLRenderingContext.

-- 
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/20200808/1f6b65eb/attachment.htm>


More information about the webkit-unassigned mailing list