Bug 133891 - [iOS][wk2] Swipe snapshots are removed too quickly if there is no saved render tree size
Summary: [iOS][wk2] Swipe snapshots are removed too quickly if there is no saved rende...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Tim Horton
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2014-06-13 17:24 PDT by Tim Horton
Modified: 2014-06-23 03:01 PDT (History)
4 users (show)

See Also:


Attachments
patch (2.19 KB, patch)
2014-06-13 17:25 PDT, Tim Horton
simon.fraser: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Horton 2014-06-13 17:24:49 PDT
If we don't have a render tree size (because the UI process has restarted), we should keep the blank white snapshot view up until either the first layer tree commit from the Web process or the watchdog fires.

We should *not* remove the snapshot immediately upon ending the gesture, because that will instantly reveal the previous page's tiles.
Comment 1 Tim Horton 2014-06-13 17:25:28 PDT
Created attachment 233096 [details]
patch
Comment 2 Tim Horton 2014-06-13 17:33:27 PDT
This is built on top of https://bugs.webkit.org/show_bug.cgi?id=133885
Comment 3 Tim Horton 2014-06-16 16:48:57 PDT
http://trac.webkit.org/changeset/170036
Comment 4 Radar WebKit Bug Importer 2014-06-23 03:01:29 PDT
<rdar://problem/17416500>