gecko-dev/netwerk/cache2
Nikhil Marathe 8dbf443150 Bug 1167809 - Add skip size check flag to cache for use with ServiceWorkers. r=mayhemer
For non-e10s Service Worker, we use Cache entries to achieve interception.
While this is a temporary measure, the fact that cache enforces size limits on
cache entries (which make sense for the purpose it was designed) prevents large
files from being served via a Service Worker. This patch adds a skip size check
flag to CacheStorage that is relayed to CacheEntry and CacheFile. It is set to
false by default leading to normal cache behaviour.
The patch also adds nsICacheStorageService.synthesizedCacheStorage() that
retrieves a cache storage with this flag set to true, which is used by
nsHttpChannel in case of possible interception.
2015-09-03 16:05:42 -07:00
..
AppCacheStorage.cpp Bug 1167809 - Add skip size check flag to cache for use with ServiceWorkers. r=mayhemer 2015-09-03 16:05:42 -07:00
AppCacheStorage.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
CacheEntry.cpp Bug 1167809 - Add skip size check flag to cache for use with ServiceWorkers. r=mayhemer 2015-09-03 16:05:42 -07:00
CacheEntry.h Bug 1167809 - Add skip size check flag to cache for use with ServiceWorkers. r=mayhemer 2015-09-03 16:05:42 -07:00
CacheFile.cpp Bug 1167809 - Add skip size check flag to cache for use with ServiceWorkers. r=mayhemer 2015-09-03 16:05:42 -07:00
CacheFile.h Bug 1167809 - Add skip size check flag to cache for use with ServiceWorkers. r=mayhemer 2015-09-03 16:05:42 -07:00
CacheFileChunk.cpp Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
CacheFileChunk.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
CacheFileContextEvictor.cpp Backed out changeset fb2a27db76bc (bug 1032254) for OS X Static Build Bustage on a CLOSED TREE 2015-07-31 07:57:50 +02:00
CacheFileContextEvictor.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
CacheFileInputStream.cpp Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
CacheFileInputStream.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
CacheFileIOManager.cpp Backout bff74cecc67c, ffe0edb2aae7, b60b7c267cef, 6da154b43265, bcf6fd3ab9bb (bug 1182961 parts 1--5) for possible intermittent failures and performance problems. 2015-08-06 16:30:47 -07:00
CacheFileIOManager.h Backed out changeset fb2a27db76bc (bug 1032254) for OS X Static Build Bustage on a CLOSED TREE 2015-07-31 07:57:50 +02:00
CacheFileMetadata.cpp Bug 1177278 - Large OOMs in CacheFileMetadata::WriteMetadata, r=honzab 2015-07-22 15:23:16 +02:00
CacheFileMetadata.h Bug 1177278 - Large OOMs in CacheFileMetadata::WriteMetadata, r=honzab 2015-07-22 15:23:16 +02:00
CacheFileOutputStream.cpp Bug 1167809 - Add skip size check flag to cache for use with ServiceWorkers. r=mayhemer 2015-09-03 16:05:42 -07:00
CacheFileOutputStream.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
CacheFileUtils.cpp Bug 1190086 - Use new String::Contains(char) method more widely r=froydnj 2015-08-14 00:49:15 +02:00
CacheFileUtils.h Backed out changeset fb2a27db76bc (bug 1032254) for OS X Static Build Bustage on a CLOSED TREE 2015-07-31 07:57:50 +02:00
CacheHashUtils.cpp Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
CacheHashUtils.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
CacheIndex.cpp Bug 1082735 - Don't use InsertElementSorted in HTTP cache, r=michal 2015-08-17 15:18:59 -07:00
CacheIndex.h Bug 1182961 (part 2, attempt 2) - Use nsTHashtable::Iterator in CacheIndex. r=michal. 2015-07-26 20:15:36 -07:00
CacheIndexContextIterator.cpp Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
CacheIndexContextIterator.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
CacheIndexIterator.cpp Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
CacheIndexIterator.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
CacheIOThread.cpp Bug 1179909: Refactor stable state handling. r=smaug 2015-08-11 06:10:46 -07:00
CacheIOThread.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
CacheLog.cpp Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
CacheLog.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
CacheObserver.cpp Backed out changeset fb2a27db76bc (bug 1032254) for OS X Static Build Bustage on a CLOSED TREE 2015-07-31 07:57:50 +02:00
CacheObserver.h Bug 1177278 - Large OOMs in CacheFileMetadata::WriteMetadata, r=honzab 2015-07-22 15:23:16 +02:00
CacheStorage.cpp Bug 1167809 - Add skip size check flag to cache for use with ServiceWorkers. r=mayhemer 2015-09-03 16:05:42 -07:00
CacheStorage.h Bug 1167809 - Add skip size check flag to cache for use with ServiceWorkers. r=mayhemer 2015-09-03 16:05:42 -07:00
CacheStorageService.cpp Bug 1167809 - Add skip size check flag to cache for use with ServiceWorkers. r=mayhemer 2015-09-03 16:05:42 -07:00
CacheStorageService.h Bug 1167809 - Add skip size check flag to cache for use with ServiceWorkers. r=mayhemer 2015-09-03 16:05:42 -07:00
moz.build Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium. 2015-08-27 20:44:53 -07:00
nsICacheEntry.idl Bug 1020416 - Added forceValidFor() and isForcedValid attribute to nsICacheEntry. r=honzab, michal 2014-07-21 11:34:17 -07:00
nsICacheEntryDoomCallback.idl
nsICacheEntryOpenCallback.idl Bug 922741 - make callbacks iteration in CacheEntry smarter, r=michal 2013-11-20 23:20:17 +01:00
nsICacheStorage.idl Bug 1029782 - Have OPEN_SECRETLY flag for opening cache entries, r=michal 2014-09-16 15:51:50 +02:00
nsICacheStorageService.idl Bug 1167809 - Add skip size check flag to cache for use with ServiceWorkers. r=mayhemer 2015-09-03 16:05:42 -07:00
nsICacheStorageVisitor.idl Bug 916052 - Adapt about:cache to the HTTP cache v2 API, r=michal+MattN 2014-05-01 13:28:12 +02:00
OldWrappers.cpp Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
OldWrappers.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00