Bug 147649 - Subframes with no current HistoryItem should not prevent page-caching
Summary: Subframes with no current HistoryItem should not prevent page-caching
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Page Loading (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-08-04 13:57 PDT by Chris Dumez
Modified: 2015-08-04 17:28 PDT (History)
7 users (show)

See Also:


Attachments
Patch (6.20 KB, patch)
2015-08-04 14:25 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff
Archive of layout-test-results from ews102 for mac-mavericks (562.45 KB, application/zip)
2015-08-04 14:59 PDT, Build Bot
no flags Details
Patch (7.12 KB, patch)
2015-08-04 15:40 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.