gecko-dev/dom/indexedDB
Nicholas Nethercote a518709339 Bug 1587162 - Fix UBSAN complaints about pref callbacks. r=erahm
Lots of these callbacks have a non-`void*` final parameter, which UBSAN
complains about. This commit changes them to have a `void*` parameter.

This requires undoing the machinery added in the first two commits of bug
1473631: `TypePrefChangeFunc` and `PREF_CHANGE_METHOD`. The resulting code is
simpler (which is good) and more boilerplate-y (which is bad) but avoids the
undefined behaviour (which is good).

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

--HG--
extra : moz-landing-system : lando
2019-11-01 02:57:20 +00:00
..
crashtests
test Bug 1586189 - Fix behaviour of ThirdPartyUtil::IsThirdPartyWindow with Fission. r=ttung,Ehsan,kmag 2019-10-31 08:31:39 +00:00
ActorsChild.cpp Bug 1585284 - Force global in Blob CTOR, r=smaug 2019-10-21 05:33:19 +00:00
ActorsChild.h Bug 1168606 - Use const where easily possible. r=ttung,asuth 2019-10-03 07:56:45 +00:00
ActorsParent.cpp Bug 1591132 - Make it easy to switch on and off these assertions in different build configurations. r=froydnj 2019-10-28 23:27:30 +00:00
ActorsParent.h
FileInfo.cpp
FileInfo.h
FileManager.h Bug 1576593 - P2 - Change the way for tunneling quota information to SQLite; r=janv 2019-10-25 12:02:10 +00:00
FileSnapshot.cpp
FileSnapshot.h
IDBCursor.cpp Bug 1168606 - Use const where easily possible. r=ttung,asuth 2019-10-03 07:56:45 +00:00
IDBCursor.h Bug 1168606 - Use const where easily possible. r=ttung,asuth 2019-10-03 07:56:45 +00:00
IDBDatabase.cpp Bug 1558522 - Ensure that file actors created after the database was closed are expired. r=asuth 2019-10-09 03:21:22 +00:00
IDBDatabase.h
IDBEvents.cpp Bug 1578173 part 4. Switch event subclasses to constructor operations. r=smaug 2019-09-11 14:35:28 +00:00
IDBEvents.h Bug 1578173 part 4. Switch event subclasses to constructor operations. r=smaug 2019-09-11 14:35:28 +00:00
IDBFactory.cpp Bug 1585331 - Add nsIPrincipal::GetAboutModuleFlags r=ckerschb 2019-10-17 13:54:41 +00:00
IDBFactory.h
IDBFileHandle.cpp Bug 1581173 part 1. Add a way to more easily throw TypeErrors and RangeErrors with custom message strings via ErrorResult. r=smaug 2019-09-20 02:19:18 +00:00
IDBFileHandle.h
IDBFileRequest.cpp
IDBFileRequest.h
IDBIndex.cpp Bug 1168606 - Use const where easily possible. r=ttung,asuth 2019-10-03 07:56:45 +00:00
IDBIndex.h Bug 1168606 - Added comments on almost-const data members r=ttung,asuth 2019-09-11 11:51:20 +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
IDBObjectStore.cpp Bug 1583251 - P3 - Check if it is okay to allow shared memory while deserializing; r=nika,lth 2019-10-23 07:20:18 +00:00
IDBObjectStore.h Bug 1168606 - Added comments on almost-const data members r=ttung,asuth 2019-09-11 11:51:20 +00:00
IDBRequest.cpp
IDBRequest.h
IDBResult.h
IDBTransaction.cpp Backed out 5 changesets (bug 1168606) for xpcshell failures in dom/indexedDB/test/unit/test_temporary_storage.js on a CLOSED TREE 2019-10-02 02:28:15 +03:00
IDBTransaction.h Backed out 5 changesets (bug 1168606) for xpcshell failures in dom/indexedDB/test/unit/test_temporary_storage.js on a CLOSED TREE 2019-10-02 02:28:15 +03:00
IndexedDatabase.h
IndexedDatabaseInlines.h
IndexedDatabaseManager.cpp Bug 1587162 - Fix UBSAN complaints about pref callbacks. r=erahm 2019-11-01 02:57:20 +00:00
IndexedDatabaseManager.h
Key.cpp Bug 1168606 - Apply renamings suggested for Cursor::*Key members and related identifiers. r=ytausky,asuth 2019-09-18 06:41:35 +00:00
Key.h Bug 1168606 - Apply renamings suggested for Cursor::*Key members and related identifiers. r=ytausky,asuth 2019-09-18 06:41:35 +00:00
KeyPath.cpp
KeyPath.h
PBackgroundIDBCursor.ipdl Backed out 5 changesets (bug 1168606) for xpcshell failures in dom/indexedDB/test/unit/test_temporary_storage.js on a CLOSED TREE 2019-10-02 02:28:15 +03:00
PBackgroundIDBDatabase.ipdl
PBackgroundIDBDatabaseFile.ipdl
PBackgroundIDBDatabaseRequest.ipdl
PBackgroundIDBFactory.ipdl
PBackgroundIDBFactoryRequest.ipdl
PBackgroundIDBRequest.ipdl
PBackgroundIDBSharedTypes.ipdlh Bug 1168606 - Change definition of OpenCursorParams subtypes to allow reducing duplicated code r=ttung,asuth 2019-09-11 11:51:26 +00:00
PBackgroundIDBTransaction.ipdl
PBackgroundIDBVersionChangeTransaction.ipdl
PBackgroundIndexedDBUtils.ipdl
PermissionRequestBase.cpp Bug 1585156 - Remove useless inclusions of nsIDOMWindow.h and nsIDOMWindowUtils.h r=smaug 2019-09-30 22:06:47 +00:00
PermissionRequestBase.h
ProfilerHelpers.h Bug 1168606 - Remove duplication in uses of IDB_LOG_MARK. r=ttung,asuth 2019-09-27 10:11:45 +00:00
ReportInternalError.cpp
ReportInternalError.h
ScriptErrorHelper.cpp Bug 1540903 - Instead of assuming success, do proper error checking; r=asuth 2019-10-25 02:55:26 +00:00
ScriptErrorHelper.h
SerializationHelpers.h
moz.build
nsIIDBPermissionsRequest.idl