Bug 147649

Summary: Subframes with no current HistoryItem should not prevent page-caching
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: Page LoadingAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: beidson, buildbot, commit-queue, kling, rniwa, sam, thorton
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Archive of layout-test-results from ews102 for mac-mavericks
none
Patch none

Description Chris Dumez 2015-08-04 13:57:30 PDT
Subframes with no current HistoryItem should not prevent page-caching. We need one for the main frame as this is the key in the PageCache. However, there is no reason to require one for subframes.

Frames do no have a current HistoryItem until something has been loaded in them.
Comment 1 Chris Dumez 2015-08-04 13:57:48 PDT
rdar://problem/21614832
Comment 2 Chris Dumez 2015-08-04 14:25:53 PDT
Created attachment 258210 [details]
Patch
Comment 3 Build Bot 2015-08-04 14:59:43 PDT
Comment on attachment 258210 [details]
Patch

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

New failing tests:
http/tests/navigation/page-cache-iframe-no-current-historyItem.html
Comment 4 Build Bot 2015-08-04 14:59:46 PDT
Created attachment 258215 [details]
Archive of layout-test-results from ews102 for mac-mavericks

The attached test failures were seen while running run-webkit-tests on the mac-ews.
Bot: ews102  Port: mac-mavericks  Platform: Mac OS X 10.9.5
Comment 5 Andreas Kling 2015-08-04 15:01:09 PDT
Comment on attachment 258210 [details]
Patch

Looks like the new test is failing on mac-ews
Comment 6 Chris Dumez 2015-08-04 15:40:45 PDT
Created attachment 258221 [details]
Patch
Comment 7 WebKit Commit Bot 2015-08-04 17:28:21 PDT
Comment on attachment 258221 [details]
Patch

Clearing flags on attachment: 258221

Committed r187921: <http://trac.webkit.org/changeset/187921>
Comment 8 WebKit Commit Bot 2015-08-04 17:28:26 PDT
All reviewed patches have been landed.  Closing bug.