Bug 142916

Summary: [WK2] Allow stale content when restoring the browser's session state
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebKit2Assignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: barraclough, commit-queue, koivisto, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=153230
Bug Depends on: 142893    
Bug Blocks:    
Attachments:
Description Flags
Patch
none
Patch none

Chris Dumez
Reported 2015-03-20 12:19:41 PDT
Allow stale content when restoring the browser's session state (restoring all tabs from previous session), e.g. - Via History > Reopen All windows from previous session on Safari - Happens on startup for MobileSafari Radar: <rdar://problem/18769970>
Attachments
Patch (10.17 KB, patch)
2015-03-20 12:31 PDT, Chris Dumez
no flags
Patch (10.17 KB, patch)
2015-03-20 13:34 PDT, Chris Dumez
no flags
Chris Dumez
Comment 1 2015-03-20 12:31:25 PDT
Radar WebKit Bug Importer
Comment 2 2015-03-20 13:30:01 PDT
Chris Dumez
Comment 3 2015-03-20 13:34:28 PDT
Darin Adler
Comment 4 2015-03-20 14:59:51 PDT
Comment on attachment 249133 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=249133&action=review > Source/WebKit2/ChangeLog:12 > + Allow stale content when restoring the browser's session state > + (restoring all tabs from previous session), e.g. > + - Via History > Reopen All windows from previous session on Safari > + - Happens on startup for MobileSafari A cool idea, but seems a little risky. Might be a mix of new content and really old content depending on what’s in the cache. > Source/WebKit2/UIProcess/WebPageProxy.cpp:-2100 > - return goToBackForwardItem(item, AllowStaleContent::No); You could have made this a 1-line patch and then later removed this argument once we are sure it’s the right thing!
WebKit Commit Bot
Comment 5 2015-03-20 15:45:53 PDT
Comment on attachment 249133 [details] Patch Clearing flags on attachment: 249133 Committed r181815: <http://trac.webkit.org/changeset/181815>
WebKit Commit Bot
Comment 6 2015-03-20 15:45:59 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.