[Webkit-unassigned] [Bug 208382] Garbage collection prevents FontFace.loaded promise from getting resolved

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 28 11:56:50 PST 2020


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

--- Comment #5 from Ryosuke Niwa <rniwa at webkit.org> ---
(In reply to Alexey Proskuryakov from comment #4)
> > FontFace probably needs to be an active DOM object and make it have a pending activity while there is font loading happening
> 
> I'm not sure if that would be sufficient. Doesn't promise resolving need to
> work even when loading isn't happening (either not started, or already
> finished)?

Sure.

> As an aside, I found that custom properties on FontFace wrappers don't
> survive GC either.

Not surprised. Almost all DOM objects have this bug because people don't know how GC works. FontFace isn't an ActiveDOMObject nor is it reachable from anything so yeah, it'd get GC'ed immediately.

-- 
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/20200228/9dc57cda/attachment.htm>


More information about the webkit-unassigned mailing list