gecko-dev/dom/indexedDB
Jan Varga 0e46119bb9 Bug 1563023 - Part 3: Change client usage type to support the null value; r=asuth
This patch wraps the uint64_t type in a Maybe container, so the client usage can
represent a state when there are no files on disk for the given client. Zero
usage then represents a state when there are some files but they are empty or
the client tracks logical size (not physical size of files on disk) and the
logical size is zero. This can be useful especially for LocalStorage.

Differential Revision: https://phabricator.services.mozilla.com/D38181

--HG--
extra : moz-landing-system : lando
2019-08-22 20:52:09 +00:00
..
crashtests Bug 1499854 - Binary should not be affected by locale r=asuth 2019-04-20 01:34:50 +00:00
test Bug 1210133 - test_filehandle_getFile.html on all platforms - FileHandle will be removed from IDB. r=jmaher 2019-08-19 09:01:21 +00:00
ActorsChild.cpp Bug 1561876 - Remove support for de-serializing WebAssembly.Modules in IDB; r=asuth 2019-07-03 12:23:33 +02:00
ActorsChild.h Bug 1561876 - Remove support for de-serializing WebAssembly.Modules in IDB; r=asuth 2019-07-03 12:23:33 +02:00
ActorsParent.cpp Bug 1563023 - Part 3: Change client usage type to support the null value; r=asuth 2019-08-22 20:52:09 +00:00
ActorsParent.h Bug 1513911 - Part 3 - replace PIndexedDBPermissionRequest with async returns in IPC; r=asuth 2019-03-22 19:14:01 +00:00
FileInfo.cpp Bug 1526891 - Part 11: Initiate asynchronous deletion of unreferenced files in IDB databases directly on the PBackground thread instead of going through the main thread; r=asuth 2019-02-23 17:25:48 +01:00
FileInfo.h
FileManager.h Bug 1563023 - Part 3: Change client usage type to support the null value; r=asuth 2019-08-22 20:52:09 +00:00
FileSnapshot.cpp Bug 1522579 - Part 3: Remove consumers of nsIContentChild, r=mccr8 2019-02-25 20:04:49 +00:00
FileSnapshot.h Bug 1534712 - Port FileCreatorHelper to PBackground, r=smaug 2019-04-26 17:53:07 +00:00
IDBCursor.cpp Bug 1565515 - Move sortKey variable declaration close to usage r=ttung,asuth 2019-07-30 14:51:21 +00:00
IDBCursor.h Bug 1539407 - Use the correct global for DOMEventTargetHelper in IndexedDB, r=smaug 2019-03-29 18:05:11 +00:00
IDBDatabase.cpp Bug 1539407 - Use the correct global for DOMEventTargetHelper in IndexedDB, r=smaug 2019-03-29 18:05:11 +00:00
IDBDatabase.h Bug 1539407 - Use the correct global for DOMEventTargetHelper in IndexedDB, r=smaug 2019-03-29 18:05:11 +00:00
IDBEvents.cpp
IDBEvents.h
IDBFactory.cpp Bug 1566758 - Added telemetry for use of IDBFactory.open(name, options) discriminated by principal types r=ttung,asuth 2019-08-19 14:22:09 +00:00
IDBFactory.h Bug 1534395 - Rename TabChild to BrowserChild. r=nika 2019-04-09 17:39:01 -05:00
IDBFileHandle.cpp
IDBFileHandle.h Bug 1539407 - Use the correct global for DOMEventTargetHelper in IndexedDB, r=smaug 2019-03-29 18:05:11 +00:00
IDBFileRequest.cpp Bug 1455020 - Extend CheckInnerWindowCorrectness() to check the state of the worker, r=smaug 2019-04-01 16:46:46 +00:00
IDBFileRequest.h
IDBIndex.cpp Bug 1168606 - Fixed wrong method name in log message. r=ttung,asuth 2019-08-21 09:27:20 +02:00
IDBIndex.h Bug 1539407 - Use the correct global for DOMEventTargetHelper in IndexedDB, r=smaug 2019-03-29 18:05:11 +00:00
IDBKeyRange.cpp Bug 1168606 - Removed unused methods in IDBKeyRange. r=ttung,asuth 2019-08-21 09:27:31 +02:00
IDBKeyRange.h Bug 1168606 - Removed unused methods in IDBKeyRange. r=ttung,asuth 2019-08-21 09:27:31 +02:00
IDBMutableFile.cpp
IDBMutableFile.h Bug 1539407 - Use the correct global for DOMEventTargetHelper in IndexedDB, r=smaug 2019-03-29 18:05:11 +00:00
IDBObjectStore.cpp Bug 1544750 - Part 2: Refactor Key::EncodeJSValInternal to show direct correspondence to spec r=asuth,tcampbell 2019-07-29 09:05:44 +00:00
IDBObjectStore.h Bug 1544750 - Part 1: Refactor some IndexedDB code to use ErrorResult r=asuth 2019-04-26 16:53:59 +00:00
IDBRequest.cpp Bug 1455020 - Extend CheckInnerWindowCorrectness() to check the state of the worker, r=smaug 2019-04-01 16:46:46 +00:00
IDBRequest.h Bug 1539407 - Use the correct global for DOMEventTargetHelper in IndexedDB, r=smaug 2019-03-29 18:05:11 +00:00
IDBResult.h Bug 1544750 - Part 2: Refactor Key::EncodeJSValInternal to show direct correspondence to spec r=asuth,tcampbell 2019-07-29 09:05:44 +00:00
IDBTransaction.cpp Bug 1563299 - Update the mAbortCode if the IDBTransaction has been aborted yet to correct the IDB_LOG; r=asuth 2019-07-26 13:29:04 +00:00
IDBTransaction.h Bug 1559919 - Finish the WorkerHolder cleanup - part 1 - IndexedDB doesn't use WorkerHolder, r=asuth 2019-07-12 11:15:33 +00:00
IndexedDatabase.h Bug 1561876 - Remove support for de-serializing WebAssembly.Modules in IDB; r=asuth 2019-07-03 12:23:33 +02:00
IndexedDatabaseInlines.h
IndexedDatabaseManager.cpp Bug 1561876 - Remove support for de-serializing WebAssembly.Modules in IDB; r=asuth 2019-07-03 12:23:33 +02:00
IndexedDatabaseManager.h Bug 1561876 - Remove support for de-serializing WebAssembly.Modules in IDB; r=asuth 2019-07-03 12:23:33 +02:00
Key.cpp Bug 1565515 - Removed duplication between LengthOfEncodedBinary and CalcDecodedStringySize r=ttung,asuth 2019-07-30 14:52:18 +00:00
Key.h Bug 1565515 - Removed duplication between LengthOfEncodedBinary and CalcDecodedStringySize r=ttung,asuth 2019-07-30 14:52:18 +00:00
KeyPath.cpp Bug 1544750 - Part 2: Refactor Key::EncodeJSValInternal to show direct correspondence to spec r=asuth,tcampbell 2019-07-29 09:05:44 +00:00
KeyPath.h
moz.build Bug 1544750 - Part 2: Refactor Key::EncodeJSValInternal to show direct correspondence to spec r=asuth,tcampbell 2019-07-29 09:05:44 +00:00
nsIIDBPermissionsRequest.idl
PBackgroundIDBCursor.ipdl
PBackgroundIDBDatabase.ipdl Bug 1535397 - Part 4 - use native Maybe syntax in place of NullableVersion in IDPL; r=baku 2019-03-15 17:10:29 +00:00
PBackgroundIDBDatabaseFile.ipdl
PBackgroundIDBDatabaseRequest.ipdl
PBackgroundIDBFactory.ipdl
PBackgroundIDBFactoryRequest.ipdl
PBackgroundIDBRequest.ipdl Bug 1561876 - Remove support for de-serializing WebAssembly.Modules in IDB; r=asuth 2019-07-03 12:23:33 +02:00
PBackgroundIDBSharedTypes.ipdlh Bug 1535397 - Part 5 - use native Maybe syntax in place of OptionalKeyRange in IDPL; r=baku 2019-03-15 17:39:59 +00:00
PBackgroundIDBTransaction.ipdl
PBackgroundIDBVersionChangeTransaction.ipdl
PBackgroundIndexedDBUtils.ipdl
PermissionRequestBase.cpp Bug 1539407 - Use the correct global for DOMEventTargetHelper in IndexedDB, r=smaug 2019-03-29 18:05:11 +00:00
PermissionRequestBase.h
ProfilerHelpers.h
ReportInternalError.cpp Bug 1442778 - Add "chromeContext" parameter to console API and console service messages. r=smaug 2019-04-01 22:42:34 +00:00
ReportInternalError.h
ScriptErrorHelper.cpp Bug 1442778 - Add "chromeContext" parameter to console API and console service messages. r=smaug 2019-04-01 22:42:34 +00:00
ScriptErrorHelper.h
SerializationHelpers.h