[Webkit-unassigned] [Bug 234913] Safari iOS stops rendering after switching away and back when using RobotoBold Font

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 6 00:49:06 PST 2022


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

--- Comment #1 from Gregg Tavares <gman at chromium.org> ---
Also note, FWIW, switching to rAF seems to fix the issue. Change the code from

   setInterval(draw, 10);

to

   // setInterval(draw, 10);
   function animate() {
     draw();
     requestAnimationFrame(animate);
   }
   requestAnimationFrame(animate);

It's great there's a workaround but it seems like some kind of memory corruption is happening in the bad case given that setInterval starts running at ~5-10 seconds per callback instead of 10ms and that drawing commands don't actually draw and that refresh fails.

-- 
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/20220106/e18579f1/attachment-0001.htm>


More information about the webkit-unassigned mailing list