gecko-dev/dom/indexedDB
Kris Maglione 65c28aa0ad Bug 1484496: Part 2 - Add common base class for all nsISimpleEnumerator implementations. r=froydnj
In order to allow JS callers to use nsISimpleEnumerator instances with the JS
iteration protocol, we'll need to additional methods to every instance. Since
we currently have a large number of unrelated implementations, it would be
best if they could share the same implementation for the JS portion of the
protocol.

This patch adds a stub nsSimpleEnumerator base class, and updates all existing
implementations to inherit from it. A follow-up will add a new base interface
to this class, and implement the additional functionality required for JS
iteration.

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

--HG--
extra : rebase_source : ad66d7b266856d5a750c772e4710679fab9434b1
extra : histedit_source : a83ebffbf2f0b191ba7de9007f73def6b9a955b8
2018-08-18 14:22:47 -07:00
..
crashtests
test Bug 1482812: Patch for turning on the origin parser check on both beta and release. r=janv 2018-08-15 16:59:26 +02:00
ActorsChild.cpp Bug 1469395 - Remove support for storing WebAssembly.Modules in IDB (r=lth,janv,Ms2ger) 2018-08-08 12:13:16 -05:00
ActorsChild.h
ActorsParent.cpp Bug 1484496: Part 2 - Add common base class for all nsISimpleEnumerator implementations. r=froydnj 2018-08-18 14:22:47 -07:00
ActorsParent.h
FileInfo.cpp
FileInfo.h
FileManager.h
FileSnapshot.cpp Bug 1451731 - Synchronize access to various stream classes' async wait callback reference - part 5 - FileSnapshot StreamWrapper, r=mayhemer 2018-04-10 17:33:09 +02:00
FileSnapshot.h Bug 1469126 - GetAllocationSize should report unique blobs when dealing with nested blobs, r=smaug 2018-06-18 11:35:46 -04:00
IDBCursor.cpp Bug 1404274 - Key Evaluation on the cloned JS objects; r=asuth 2018-07-24 18:19:10 +02:00
IDBCursor.h
IDBDatabase.cpp Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot 2018-06-26 17:05:01 -07:00
IDBDatabase.h Bug 1429903 part 3. Remove C++ uses of nsIDOMEventTarget. r=mccr8 2018-04-20 00:49:30 -04:00
IDBEvents.cpp Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot 2018-06-26 17:05:01 -07:00
IDBEvents.h Bug 1449631 part 6. Remove nsIDOMEventTarget::DispatchEvent. r=smaug 2018-04-05 13:42:41 -04:00
IDBFactory.cpp Bug 1468752 part 4 - Remove JS_GetGlobalForObject. r=bz 2018-07-06 12:54:00 +02:00
IDBFactory.h Bug 1451913 P10 Make the inner window explicitly disconnect the IDBFactory. r=baku 2018-04-16 06:08:53 -07:00
IDBFileHandle.cpp Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot 2018-06-26 17:05:01 -07:00
IDBFileHandle.h Bug 1449631 part 8. Remove nsIDOMEventTarget::GetEventTargetParent. r=smaug 2018-04-05 13:42:41 -04:00
IDBFileRequest.cpp Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot 2018-06-26 17:05:01 -07:00
IDBFileRequest.h Bug 1449631 part 8. Remove nsIDOMEventTarget::GetEventTargetParent. r=smaug 2018-04-05 13:42:41 -04:00
IDBIndex.cpp Bug 1357636 - Improve IndexedDB error message on deleting an undefined object; r=janv 2018-08-15 15:35:58 +02:00
IDBIndex.h
IDBKeyRange.cpp Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot 2018-06-26 17:05:01 -07:00
IDBKeyRange.h
IDBMutableFile.cpp Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot 2018-06-26 17:05:01 -07:00
IDBMutableFile.h
IDBObjectStore.cpp Bug 1483042 - Remove more ~RefPtr that fire after a Rooted has been unwrapped for a return value, r=janv 2018-08-13 14:51:20 -07:00
IDBObjectStore.h Bug 1404274 - Key Evaluation on the cloned JS objects; r=asuth 2018-07-24 18:19:10 +02:00
IDBRequest.cpp Bug 1480678 part 9 - Assert IDBWrapperCache::mScriptOwner is a global and use JSAutoRealm instead of JSAutoRealmAllowCCW. r=mrbkap 2018-08-07 14:06:45 +02:00
IDBRequest.h Bug 1429903 part 3. Remove C++ uses of nsIDOMEventTarget. r=mccr8 2018-04-20 00:49:30 -04:00
IDBTransaction.cpp Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot 2018-06-26 17:05:01 -07:00
IDBTransaction.h Bug 1455256 - Port more components to WorkerRef - part 4 - IDB Transaction, r=asuth 2018-06-18 16:37:21 -04:00
IDBWrapperCache.cpp Bug 1480678 part 9 - Assert IDBWrapperCache::mScriptOwner is a global and use JSAutoRealm instead of JSAutoRealmAllowCCW. r=mrbkap 2018-08-07 14:06:45 +02:00
IDBWrapperCache.h
IndexedDatabase.h Bug 1442722 - Move scope into JSStructuredData, r=baku,jorendorff 2018-04-03 11:17:33 -07:00
IndexedDatabaseInlines.h Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
IndexedDatabaseManager.cpp Bug 1473631: Part 0a - Make preference callbacks typesafe. r=njn 2018-07-06 12:24:41 -07:00
IndexedDatabaseManager.h
Key.cpp Bug 1469769 - Part 6: Replace non-failing NS_NOTREACHED with MOZ_ASSERT_UNREACHABLE. r=froydnj 2018-06-17 22:43:11 -07:00
Key.h
KeyPath.cpp Bug 1469769 - Part 6: Replace non-failing NS_NOTREACHED with MOZ_ASSERT_UNREACHABLE. r=froydnj 2018-06-17 22:43:11 -07:00
KeyPath.h
PBackgroundIDBCursor.ipdl
PBackgroundIDBDatabase.ipdl
PBackgroundIDBDatabaseFile.ipdl
PBackgroundIDBDatabaseRequest.ipdl
PBackgroundIDBFactory.ipdl
PBackgroundIDBFactoryRequest.ipdl
PBackgroundIDBRequest.ipdl
PBackgroundIDBSharedTypes.ipdlh
PBackgroundIDBTransaction.ipdl
PBackgroundIDBVersionChangeTransaction.ipdl
PBackgroundIndexedDBUtils.ipdl
PIndexedDBPermissionRequest.ipdl
PermissionRequestBase.cpp Bug 1455676 part 18. Stop using getInterface as the primary API for the indexeddb permission notifications. r=mrbkap 2018-05-29 22:58:50 -04:00
PermissionRequestBase.h Bug 1455676 part 18. Stop using getInterface as the primary API for the indexeddb permission notifications. r=mrbkap 2018-05-29 22:58:50 -04:00
ProfilerHelpers.h Bug 1455052 part 10. Remove various unused nsIDOMEvent bits. r=masayuki 2018-04-20 12:55:31 -04:00
ReportInternalError.cpp
ReportInternalError.h
ScriptErrorHelper.cpp
ScriptErrorHelper.h
SerializationHelpers.h
moz.build Bug 1090497 - Re-enable warnings as errors on clang-cl. r=froydnj 2018-07-31 22:10:07 +09:00
nsIIDBPermissionsRequest.idl Bug 1455676 part 18. Stop using getInterface as the primary API for the indexeddb permission notifications. r=mrbkap 2018-05-29 22:58:50 -04:00