| Summary: | [WK2] Allow stale content when restoring the browser's session state | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Chris Dumez <cdumez> | ||||||
| Component: | WebKit2 | Assignee: | 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
Chris Dumez
2015-03-20 12:19:41 PDT
Created attachment 249129 [details]
Patch
Created attachment 249133 [details]
Patch
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! Comment on attachment 249133 [details] Patch Clearing flags on attachment: 249133 Committed r181815: <http://trac.webkit.org/changeset/181815> All reviewed patches have been landed. Closing bug. |