Bug 47670

Summary: Pages that use DeviceOrientation and DeviceMotion should be able to use the PageCache
Product: WebKit Reporter: Steve Block <steveblock>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: ap, beidson, mitz
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 30335    

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.