|
Lines 1-3
a/Source/WebCore/ChangeLog_sec1
|
|
|
1 |
2014-03-27 Brian Burg <bburg@apple.com> |
| 2 |
|
| 3 |
Web Replay: add page-level setting to bypass the MemoryCache |
| 4 |
https://bugs.webkit.org/show_bug.cgi?id=130728 |
| 5 |
|
| 6 |
Reviewed by NOBODY (OOPS!). |
| 7 |
|
| 8 |
When replaying a specific Page we don't want to store its cached resources in the |
| 9 |
MemoryCache. This patch adds a page setting to prevent the page's resources from |
| 10 |
being saved in the MemoryCache. |
| 11 |
|
| 12 |
If Settings::usesMemoryCache() is false, page resources are given the special |
| 13 |
SessionID bypassCacheSessionID(). The cached resource loader and memory cache |
| 14 |
act as if the memory cache is disabled if the resource has this special session id. |
| 15 |
|
| 16 |
No new tests, as this functionality will be exercised by network replay tests. |
| 17 |
|
| 18 |
* loader/cache/CachedResourceLoader.cpp: |
| 19 |
(WebCore::CachedResourceLoader::requestResource): |
| 20 |
(WebCore::CachedResourceLoader::revalidateResource): |
| 21 |
* loader/cache/MemoryCache.cpp: |
| 22 |
(WebCore::MemoryCache::add): |
| 23 |
* page/Page.cpp: |
| 24 |
(WebCore::Page::sessionID): |
| 25 |
* page/SessionID.h: |
| 26 |
(WebCore::SessionID::bypassCacheSessionID): |
| 27 |
* page/Settings.cpp: |
| 28 |
(WebCore::Settings::Settings): |
| 29 |
* page/Settings.h: |
| 30 |
(WebCore::Settings::setUsesMemoryCache): |
| 31 |
(WebCore::Settings::usesMemoryCache): |
| 32 |
* testing/InternalSettings.cpp: |
| 33 |
(WebCore::InternalSettings::Backup::Backup): |
| 34 |
(WebCore::InternalSettings::Backup::restoreTo): |
| 35 |
(WebCore::InternalSettings::setUsesMemoryCache): |
| 36 |
* testing/InternalSettings.h: |
| 37 |
* testing/InternalSettings.idl: |
| 38 |
|
| 1 |
2014-03-27 Antti Koivisto <antti@apple.com> |
39 |
2014-03-27 Antti Koivisto <antti@apple.com> |
| 2 |
|
40 |
|
| 3 |
Remove some unnecessary branches from LiveNodeList traversal |
41 |
Remove some unnecessary branches from LiveNodeList traversal |