NEW 47670
Pages that use DeviceOrientation and DeviceMotion should be able to use the PageCache
https://bugs.webkit.org/show_bug.cgi?id=47670
Summary Pages that use DeviceOrientation and DeviceMotion should be able to use the P...
Steve Block
Reported 2010-10-14 07:15:36 PDT
Pages that use DeviceOrientation and DeviceMotion were prevented from using the PageCache in http://trac.webkit.org/changeset/69646. This is because we want the client to be stopped as soon as the page is navigated away, but listeners are not removed, and hence the client is not stopped, if the page goes into the page cache. We should update the logic of the clients to allow them to be paused without the listeners being removed. This would allow the clients to be paused while the page is in the page cache and then resumed when the page is taken from the page cache. See also the test fast/dom/DeviceOrientation/event-after-navigation.html added in http://trac.webkit.org/changeset/69764.
Attachments
Note You need to log in before you can comment on or make changes to this bug.