[Webkit-unassigned] [Bug 225790] document.fonts.ready is sometimes still resolved too quickly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 13 20:00:28 PDT 2021


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

--- Comment #11 from Ryosuke Niwa <rniwa at webkit.org> ---
(In reply to Cameron McCormack (:heycam) from comment #10)
> I might be missing something but I can't find any code that does the
> replacement of FontFaceSet::m_readyPromise when we switch from FontFaceSet
> state "loaded" to "loading" or any of the requirements to wait for resolving
> when "pending on the environment".  This latter problem is what prevents the
> layout flush from making the testcase work.

That is indeed a problem although it's also strange that FontFaceSet.prototype.promise can end up returning different objects each time it is accessed.

-- 
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/20210514/46aecf79/attachment.htm>


More information about the webkit-unassigned mailing list