Bug 148634

Summary: Network Cache: Stale content after back navigation
Product: WebKit Reporter: Antti Koivisto <koivisto>
Component: Page LoadingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: buildbot, cdumez, commit-queue, rniwa, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=149087
Attachments:
Description Flags
patch
none
Archive of layout-test-results from ews104 for mac-mavericks-wk2 none

Description Antti Koivisto 2015-08-31 09:39:48 PDT
It is possible to get an older version of the previous page when navigating back. This can happen if the main resource load has not completed before navigating away from the page.
Comment 1 Radar WebKit Bug Importer 2015-08-31 09:41:09 PDT
<rdar://problem/22500680>
Comment 2 Antti Koivisto 2015-08-31 10:04:06 PDT
Created attachment 260292 [details]
patch
Comment 3 Chris Dumez 2015-08-31 10:12:45 PDT
Comment on attachment 260292 [details]
patch

r=me.
Comment 4 Build Bot 2015-08-31 10:22:32 PDT
Comment on attachment 260292 [details]
patch

Attachment 260292 [details] did not pass mac-wk2-ews (mac-wk2):
Output: http://webkit-queues.webkit.org/results/126785

New failing tests:
http/tests/w3c/dom/nodes/ParentNode-querySelector-All-xhtml.xhtml
Comment 5 Build Bot 2015-08-31 10:22:35 PDT
Created attachment 260293 [details]
Archive of layout-test-results from ews104 for mac-mavericks-wk2

The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: ews104  Port: mac-mavericks-wk2  Platform: Mac OS X 10.9.5
Comment 6 Antti Koivisto 2015-08-31 10:45:28 PDT
Failure looks like an unrelated flake in a new test.
Comment 7 WebKit Commit Bot 2015-08-31 11:31:26 PDT
Comment on attachment 260292 [details]
patch

Clearing flags on attachment: 260292

Committed r189177: <http://trac.webkit.org/changeset/189177>
Comment 8 WebKit Commit Bot 2015-08-31 11:31:32 PDT
All reviewed patches have been landed.  Closing bug.
Comment 9 Alexey Proskuryakov 2015-09-11 21:42:42 PDT
A test added for this fix is flaky, filed bug 149087.