gecko-dev/dom/cache
Tom Tung 753c5b5960 Bug 1402581 - P2: Ensure the temporary file exists when failure happens. r=bkelly
There are three changes in this patch: 1. Make sure deleting padding file before
the temporary padding file. 2. Not deleting temporary file when failure happens.
3. Endure failure happens after the transaction commit.

--HG--
extra : rebase_source : d6de5cc63c7cb9bb073e00a61237440bb65fd011
2017-10-03 18:44:56 +08:00
..
test Bug 1400282 - Add a test to verify cache's operations won't run out of fd. r=bkelly 2017-09-13 17:24:13 +08:00
Action.cpp
Action.h
ActorChild.cpp
ActorChild.h
ActorUtils.h
AutoUtils.cpp Bug 1397128 P6 Allow ReadStream to be created with an initially nullptr base stream. r=tt 2017-09-15 12:25:41 -07:00
AutoUtils.h Bug 1128959 - Implement the WHATWG Streams spec - part 12 - starting body consuming and passing the JSContext down from the binding entrypoints to where the ReadableStream could be read, r=bz 2017-08-10 18:04:55 -07:00
Cache.cpp Bug 1397128 P9 Make content script usage of Cache API use lazy body loading. r=tt 2017-09-15 12:25:41 -07:00
Cache.h Bug 1397128 P9 Make content script usage of Cache API use lazy body loading. r=tt 2017-09-15 12:25:41 -07:00
CacheChild.cpp
CacheChild.h
CacheOpChild.cpp Bug 1397128 P8 Track which storage "namespace" each Cache object is associated with. r=tt 2017-09-15 12:25:41 -07:00
CacheOpChild.h
CacheOpParent.cpp
CacheOpParent.h
CacheParent.cpp
CacheParent.h
CacheStorage.cpp Bug 1397128 P9 Make content script usage of Cache API use lazy body loading. r=tt 2017-09-15 12:25:41 -07:00
CacheStorage.h Bug 1397128 P9 Make content script usage of Cache API use lazy body loading. r=tt 2017-09-15 12:25:41 -07:00
CacheStorageChild.cpp
CacheStorageChild.h
CacheStorageParent.cpp
CacheStorageParent.h
CacheStreamControlChild.cpp Bug 1402586 Hold the worker alive while Cache API completes a lazy body open IPC operation. r=asuth 2017-09-25 10:45:58 -07:00
CacheStreamControlChild.h Bug 1397128 P4 Add a PCacheStreamControl message to open a stream based on its body ID. r=tt 2017-09-15 12:25:41 -07:00
CacheStreamControlParent.cpp Bug 1397128 P6 Allow ReadStream to be created with an initially nullptr base stream. r=tt 2017-09-15 12:25:41 -07:00
CacheStreamControlParent.h Bug 1397128 P4 Add a PCacheStreamControl message to open a stream based on its body ID. r=tt 2017-09-15 12:25:41 -07:00
CacheTypes.ipdlh Bug 1397128 P8 Track which storage "namespace" each Cache object is associated with. r=tt 2017-09-15 12:25:41 -07:00
CacheWorkerHolder.cpp
CacheWorkerHolder.h
Connection.cpp Bug 1320301 - Add partial support to sqlite3_interrupt. r=asuth 2017-07-31 22:27:23 +02:00
Connection.h
Context.cpp Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
Context.h Bug 1365097 - Convert NS_GetCurrentThread uses in dom (except for dom/media) (r=smaug) 2017-06-12 20:20:08 -07:00
DBAction.cpp Bug 1290481 - P13: Get padding from DB when there is no directroy padding file. r=bkelly 2017-07-18 19:08:41 +08:00
DBAction.h Bug 1290481 - P13: Get padding from DB when there is no directroy padding file. r=bkelly 2017-07-18 19:08:41 +08:00
DBSchema.cpp Bug 1398649: Capture the result from MigrateFrom25To26(). r=bkelly 2017-09-11 14:57:06 +08:00
DBSchema.h Bug 1290481 - P9: Implement a function to get overall padding size for an origin from cache.sqlite. r=bkelly 2017-07-18 18:58:56 +08:00
FileUtils.cpp Bug 1402581 - P2: Ensure the temporary file exists when failure happens. r=bkelly 2017-10-03 18:44:56 +08:00
FileUtils.h Bug 1290481 - P10: Update padding size to the direcotry padding file. r=bkelly 2017-07-18 19:00:09 +08:00
IPCUtils.h Bug 1397128 P7 Add an OpenMode enumeration to control if individual Cache API requests eagerly or lazily opens bodies. r=tt 2017-09-15 12:25:41 -07:00
Manager.cpp Bug 1402581 - P1: Don't delete the body file and decrease the padding size when the transaction fails. r=bkelly 2017-10-03 18:36:44 +08:00
Manager.h Bug 1397128 P4 Add a PCacheStreamControl message to open a stream based on its body ID. r=tt 2017-09-15 12:25:41 -07:00
ManagerId.cpp Bug 1350958 - Finish labeling ProxyReleaseEvent, r=billm 2017-07-14 08:49:22 +02:00
ManagerId.h
PCache.ipdl Bug 1359005 - Cleanup the use of PBlob in StructuredCloneHolder - part 1 - protocols, r=smaug 2017-05-23 07:49:40 +02:00
PCacheOp.ipdl
PCacheStorage.ipdl Bug 1359005 - Cleanup the use of PBlob in StructuredCloneHolder - part 1 - protocols, r=smaug 2017-05-23 07:49:40 +02:00
PCacheStreamControl.ipdl Bug 1397128 P4 Add a PCacheStreamControl message to open a stream based on its body ID. r=tt 2017-09-15 12:25:41 -07:00
PrincipalVerifier.cpp Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
PrincipalVerifier.h Bug 1365097 - Convert NS_GetCurrentThread uses in dom (except for dom/media) (r=smaug) 2017-06-12 20:20:08 -07:00
QuotaClient.cpp Bug 1402581 - P2: Ensure the temporary file exists when failure happens. r=bkelly 2017-10-03 18:44:56 +08:00
QuotaClient.h Bug 1290481 - P10: Update padding size to the direcotry padding file. r=bkelly 2017-07-18 19:00:09 +08:00
ReadStream.cpp Bug 1397128 P6 Allow ReadStream to be created with an initially nullptr base stream. r=tt 2017-09-15 12:25:41 -07:00
ReadStream.h
SavedTypes.h
StreamControl.cpp Bug 1368106 - Use the new MOZ_DIAGNOSTIC_ASSERT_ENABLED instead of several defines r=glandium 2017-05-26 18:53:35 +02:00
StreamControl.h Bug 1397128 P4 Add a PCacheStreamControl message to open a stream based on its body ID. r=tt 2017-09-15 12:25:41 -07:00
StreamList.cpp Bug 1397128 P4 Add a PCacheStreamControl message to open a stream based on its body ID. r=tt 2017-09-15 12:25:41 -07:00
StreamList.h Bug 1397128 P4 Add a PCacheStreamControl message to open a stream based on its body ID. r=tt 2017-09-15 12:25:41 -07:00
TypeUtils.cpp Bug 1397627 - Fetch API and other components should pass the length of the stream to necko when known, r=smaug 2017-09-08 16:06:26 +02:00
TypeUtils.h Bug 1128959 - Implement the WHATWG Streams spec - part 12 - starting body consuming and passing the JSContext down from the binding entrypoints to where the ReadableStream could be read, r=bz 2017-08-10 18:04:55 -07:00
Types.h Bug 1397128 P7 Add an OpenMode enumeration to control if individual Cache API requests eagerly or lazily opens bodies. r=tt 2017-09-15 12:25:41 -07:00
moz.build