-
rdar://problem/7196487https://bugs.webkit.org/show_bug.cgi?id=26777beidson@apple.com authored
<rdar://problem/7196487> and https://bugs.webkit.org/show_bug.cgi?id=26777 Add https pages to the page cache in some cases Reviewed by Anders Carlsson. Source/WebCore: Test: http/tests/navigation/https-in-page-cache.html * history/PageCache.cpp: (WebCore::PageCache::canCachePageContainingThisFrame): Allow HTTPS pages that do not specify cache-control: no-cache or cache-control: no-store into the page cache. This will match Firefox's behavior for HTTPS in their bfcache. LayoutTests: * http/tests/navigation/https-in-page-cache.html: Added. * http/tests/navigation/https-in-page-cache-expected.txt: Added. * http/tests/navigation/resources/https-in-page-cache-1.php: Added. * http/tests/navigation/resources/https-in-page-cache-2.php: Added. * http/tests/navigation/resources/https-in-page-cache-3.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@107607 268f45cc-cd09-0410-ab3c-d52691b4dbfc
23a18eba