[Webkit-unassigned] [Bug 203105] VRDisplay should not prevent entering the back/forward cache

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 30 08:19:40 PDT 2019


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

--- Comment #6 from Chris Dumez <cdumez at apple.com> ---

> > This method needs to be removed to allow the page to enter the back/forward
> > cache. Then you'll likely need to override ActiveDOMObject's suspend() and
> > resume() to implement correct suspension. Looking at VRDisplay, it is likely
> > the following needs to be done:
> > 1. Instead of dispatching events synchronously, append tasks to the
> > WindowEventLoop to dispatch them. The WindowEventLoop correctly suspends
> > while in the cache.
> > 2. Call suspend() / resume() on m_scriptedAnimationController to suspend
> > animations while in the cache
> > 3. Maybe call stopPresenting() on suspension? I don't know much about
> > VRDisplay.
> 
> I understand the issue now, I'll come up with something.

Thanks for you help.

-- 
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/20191030/05a047e0/attachment-0001.htm>


More information about the webkit-unassigned mailing list