Nika Layzell
fdd73ae9e2
Bug 1773088 - Part 1: Stop requiring an actor to serialize blobs over IPC, r=asuth
...
This does a somewhat-shallow removal of the argument from the implementation
and all call-sites. Removing it from StructuredCloneData's serialization is
handled in the next part, as it is more widely used and complex.
Differential Revision: https://phabricator.services.mozilla.com/D148531
2022-06-08 15:24:27 +00:00
Jan Rio Krause
ba502f16de
Bug 1770786 - Replace QM_TRY with QM_WARNONLY_TRY. r=dom-storage-reviewers,janv
...
Differential Revision: https://phabricator.services.mozilla.com/D148149
2022-06-07 14:27:45 +00:00
Jan Rio Krause
22c415a8e9
Bug 1770787 - Replace QM_TRY with QM_WARNONLY_TRY. r=dom-storage-reviewers,janv
...
Differential Revision: https://phabricator.services.mozilla.com/D147678
2022-06-01 15:21:21 +00:00
Nika Layzell
1f4efe0c11
Bug 1754004 - Part 3: Move RemoteLazyInputStream to its own toplevel protocol, r=asuth,necko-reviewers,dragana
...
This is a complete rewrite of RemoteLazyInputStream to run off of its own
toplevel protocol, rather than being managed by other protocols like
PBackground or PContent. This should improve performance thanks to no longer
needing to operate on a main or worker thread, and due to no longer needing the
migration step for the stream actor.
This also acts as a step towards no longer requiring a manager actor to
serialize input streams, as the type is now actor-agnostic, and should support
being sent over IPC between any pair of processes.
Differential Revision: https://phabricator.services.mozilla.com/D141040
2022-05-13 14:16:10 +00:00
Noemi Erli
d4d5b7703c
Backed out 22 changesets (bug 1696894, bug 1759569, bug 1754031, bug 1759563, bug 1759572, bug 1754004) for causing leack failures CLOSED TREE
...
Backed out changeset 673ecd5337e1 (bug 1754004)
Backed out changeset ecbf5f3c51de (bug 1754004)
Backed out changeset fc6c39f56d21 (bug 1754004)
Backed out changeset 5b3d58fbaf9d (bug 1696894)
Backed out changeset 2e56c89cf55d (bug 1754004)
Backed out changeset b7723490f025 (bug 1754004)
Backed out changeset 1dfbf61ff5dd (bug 1754004)
Backed out changeset e73abb071bb3 (bug 1754004)
Backed out changeset f9abe4fbf501 (bug 1754004)
Backed out changeset ee7aeb631cd9 (bug 1754004)
Backed out changeset d66aacfcf983 (bug 1754004)
Backed out changeset 5c2872ad6912 (bug 1754004)
Backed out changeset e1ae48f30d2c (bug 1754004)
Backed out changeset 849b63707d7f (bug 1754004)
Backed out changeset 36563e3b1e04 (bug 1754004)
Backed out changeset ccb4be659107 (bug 1754004)
Backed out changeset 659581d4159b (bug 1754004)
Backed out changeset 611ea76d7a9c (bug 1754004)
Backed out changeset 9b24b561698c (bug 1759572)
Backed out changeset f820e0f209ff (bug 1759563)
Backed out changeset 8d82066fa181 (bug 1759569)
Backed out changeset a2835afab1ad (bug 1754031)
2022-05-11 06:16:25 +03:00
Nika Layzell
7749679cc8
Bug 1754004 - Part 3: Move RemoteLazyInputStream to its own toplevel protocol, r=asuth,necko-reviewers,dragana
...
This is a complete rewrite of RemoteLazyInputStream to run off of its own
toplevel protocol, rather than being managed by other protocols like
PBackground or PContent. This should improve performance thanks to no longer
needing to operate on a main or worker thread, and due to no longer needing the
migration step for the stream actor.
This also acts as a step towards no longer requiring a manager actor to
serialize input streams, as the type is now actor-agnostic, and should support
being sent over IPC between any pair of processes.
Differential Revision: https://phabricator.services.mozilla.com/D141040
2022-05-10 22:27:42 +00:00
Marian-Vasile Laza
c505b41787
Backed out changeset 88f605efb204 (bug 1764771) for causing xpcshell failures on test_mutableFileUpgrade.js.
2022-05-10 00:22:08 +03:00
Kagami Sascha Rosylight
9c2eb3c10c
Bug 1764771 - Disable IDBMutableHandle support by default r=janv,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D143728
2022-05-09 15:57:50 +00:00
Kagami Sascha Rosylight
ccfe82fbd5
Bug 1620560 - Part 5: Mark BlobImpl::CreateSlice as const r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D145671
2022-05-06 09:00:29 +00:00
Kagami Sascha Rosylight
8f8ba83440
Bug 1620560 - Part 3: Mark BlobImpl::CreateInputStream as const r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D145668
2022-05-06 09:00:28 +00:00
Noemi Erli
f80f2dfca4
Backed out 22 changesets (bug 1759572, bug 1759563, bug 1754004, bug 1754031, bug 1759569, bug 1696894) for causing multiple failures CLOSED TREE
...
Backed out changeset d69647a725a1 (bug 1754004)
Backed out changeset 09fc506865d7 (bug 1754004)
Backed out changeset 648e3dd4b62f (bug 1754004)
Backed out changeset 3465158ee230 (bug 1696894)
Backed out changeset b08475bbfbd9 (bug 1754004)
Backed out changeset dfabce587a56 (bug 1754004)
Backed out changeset cebe8d5dda34 (bug 1754004)
Backed out changeset 55b4b0c9a504 (bug 1754004)
Backed out changeset e8649de9dd22 (bug 1754004)
Backed out changeset 0f480fc861c0 (bug 1754004)
Backed out changeset e515b7edd1c8 (bug 1754004)
Backed out changeset fe90db9158ac (bug 1754004)
Backed out changeset c6388d682d48 (bug 1754004)
Backed out changeset 2374420d9fed (bug 1754004)
Backed out changeset 44dfd76472aa (bug 1754004)
Backed out changeset 000fb99de0cf (bug 1754004)
Backed out changeset 0ca1856b5fc9 (bug 1754004)
Backed out changeset 10c3683b998b (bug 1754004)
Backed out changeset 4abc98ed6b99 (bug 1759572)
Backed out changeset cdd271a5af42 (bug 1759563)
Backed out changeset fadb6cc0d81c (bug 1759569)
Backed out changeset 44be9709a93e (bug 1754031)
2022-05-06 04:28:47 +03:00
Nika Layzell
cb73e94400
Bug 1754004 - Part 3: Move RemoteLazyInputStream to its own toplevel protocol, r=asuth,necko-reviewers,dragana
...
This is a complete rewrite of RemoteLazyInputStream to run off of its own
toplevel protocol, rather than being managed by other protocols like
PBackground or PContent. This should improve performance thanks to no longer
needing to operate on a main or worker thread, and due to no longer needing the
migration step for the stream actor.
This also acts as a step towards no longer requiring a manager actor to
serialize input streams, as the type is now actor-agnostic, and should support
being sent over IPC between any pair of processes.
Differential Revision: https://phabricator.services.mozilla.com/D141040
2022-05-05 23:34:21 +00:00
Kagami Sascha Rosylight
b5a4737383
Bug 1767989 - Apply readability-make-member-function-const on dom/indexedDB r=dom-storage-reviewers,janv
...
Differential Revision: https://phabricator.services.mozilla.com/D145624
2022-05-05 18:11:55 +00:00
Sebastian Hengst
107311111f
Backed out 17 changesets (bug 1696894, bug 1754004) for causing crashes e.g. bug 1767808, and hanging Gmail (bug 1767918). a=backout DONTBUILD
...
Backed out changeset 63f17a06eba9 (bug 1754004)
Backed out changeset 017e1552d549 (bug 1754004)
Backed out changeset 010dfd821cf3 (bug 1696894)
Backed out changeset 96a39c2ba7a3 (bug 1754004)
Backed out changeset a147df47a0e3 (bug 1754004)
Backed out changeset 9018dd592230 (bug 1754004)
Backed out changeset 234ff9e092c2 (bug 1754004)
Backed out changeset c4f1e86992b6 (bug 1754004)
Backed out changeset 51bd50b57dd5 (bug 1754004)
Backed out changeset d95e7ad0eafa (bug 1754004)
Backed out changeset 35a69828091c (bug 1754004)
Backed out changeset 6802a4326963 (bug 1754004)
Backed out changeset e40e810e18fc (bug 1754004)
Backed out changeset 82b38c12b298 (bug 1754004)
Backed out changeset 0a6cf0817bf5 (bug 1754004)
Backed out changeset 6d8e51b3e8d7 (bug 1754004)
Backed out changeset 2059c2d0d880 (bug 1754004)
2022-05-05 11:27:42 +02:00
Nika Layzell
21a97e8389
Bug 1754004 - Part 3: Move RemoteLazyInputStream to its own toplevel protocol, r=asuth,necko-reviewers,dragana
...
This is a complete rewrite of RemoteLazyInputStream to run off of its own
toplevel protocol, rather than being managed by other protocols like
PBackground or PContent. This should improve performance thanks to no longer
needing to operate on a main or worker thread, and due to no longer needing the
migration step for the stream actor.
This also acts as a step towards no longer requiring a manager actor to
serialize input streams, as the type is now actor-agnostic, and should support
being sent over IPC between any pair of processes.
Differential Revision: https://phabricator.services.mozilla.com/D141040
2022-05-03 23:30:33 +00:00
Butkovits Atila
bc5f86a3c7
Backed out 19 changesets (bug 1759569, bug 1754004, bug 1759563, bug 1754031, bug 1696894, bug 1759572) for causing wpt failures. CLOSED TREE
...
Backed out changeset 110a8dce4b5d (bug 1696894)
Backed out changeset a62dab05c6cd (bug 1754004)
Backed out changeset 7cf122f6e19f (bug 1754004)
Backed out changeset 2aa9a0a9adbc (bug 1754004)
Backed out changeset cde16b2cdbfb (bug 1754004)
Backed out changeset 452fe0a15c99 (bug 1754004)
Backed out changeset eace8d4756ef (bug 1754004)
Backed out changeset 5e1fad91e935 (bug 1754004)
Backed out changeset eb6de0b1ab8e (bug 1754004)
Backed out changeset 1ac1908ed3d0 (bug 1754004)
Backed out changeset 473cad5b22ab (bug 1754004)
Backed out changeset 1923922be138 (bug 1754004)
Backed out changeset c7966d91f89e (bug 1754004)
Backed out changeset df5ce1f6712c (bug 1754004)
Backed out changeset a3f3f9761ada (bug 1754004)
Backed out changeset c8ec86e0a33b (bug 1759572)
Backed out changeset 6c102f8e3d4a (bug 1759563)
Backed out changeset bd3a2fcf4f0c (bug 1759569)
Backed out changeset 2541d8face65 (bug 1754031)
2022-05-03 06:00:22 +03:00
Nika Layzell
9a61a1501b
Bug 1754004 - Part 3: Move RemoteLazyInputStream to its own toplevel protocol, r=asuth,necko-reviewers,dragana
...
This is a complete rewrite of RemoteLazyInputStream to run off of its own
toplevel protocol, rather than being managed by other protocols like
PBackground or PContent. This should improve performance thanks to no longer
needing to operate on a main or worker thread, and due to no longer needing the
migration step for the stream actor.
This also acts as a step towards no longer requiring a manager actor to
serialize input streams, as the type is now actor-agnostic, and should support
being sent over IPC between any pair of processes.
Differential Revision: https://phabricator.services.mozilla.com/D141040
2022-05-02 20:44:23 +00:00
Jens Stutte
a55ed71a10
Bug 1765336: Add IPC_FAIL conditions to RecvBlocked. r=dom-storage-reviewers,janv
...
Differential Revision: https://phabricator.services.mozilla.com/D144164
2022-04-29 08:34:31 +00:00
Jens Stutte
15a32f9405
Bug 1726714: Remove shutdown state from quota clients. r=dom-storage-reviewers,janv
...
Depends on D140802
Differential Revision: https://phabricator.services.mozilla.com/D140805
2022-04-14 15:05:37 +00:00
Jens Stutte
9a43ab4a20
Bug 1726714: Move IsShuttingDownOn(Non)BackgroundThread functions to Client base class. r=dom-storage-reviewers,janv
...
Differential Revision: https://phabricator.services.mozilla.com/D140802
2022-04-14 15:05:36 +00:00
Jan Rio Krause
3fe00f5de7
Bug 1519200 - Remove NS_ERROR_FILE_TARGET_DOES_NOT_EXIST in favor of NS_ERROR_FILE_NOT_FOUND. r=xpcom-reviewers,nika,dom-storage-reviewers,jstutte
...
Differential Revision: https://phabricator.services.mozilla.com/D77575
2022-04-05 15:17:03 +00:00
Randell Jesup
855202c183
Bug 1207753 - Add MOZ_UNANNOTATED to all Mutexes/Monitors r=nika,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D140849
2022-03-16 18:47:08 +00:00
Noemi Erli
16f5f5f2b9
Backed out changeset 12a59e5a50bf (bug 1207753) for causing build bustage CLOSED TREE
2022-03-16 18:32:51 +02:00
Randell Jesup
a98b1f8218
Bug 1207753 - Add MOZ_UNANNOTATED to all Mutexes/Monitors r=nika,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D140849
2022-03-16 16:16:14 +00:00
Butkovits Atila
01197944a0
Backed out changeset a68ee4b09f92 (bug 1207753) for causing Hazard bustages. CLOSED TREE
2022-03-16 14:38:14 +02:00
Randell Jesup
fe15f2115d
Bug 1207753 - Add MOZ_UNANNOTATED to all Mutexes/Monitors r=nika,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D140849
2022-03-16 12:01:14 +00:00
Jens Stutte
257cab03f2
Bug 1751371: Transform remaining MOZ_CRASH_UNLESS_FUZZING to normal assertions where appropriate. r=dom-storage-reviewers,jesup,janv
...
Differential Revision: https://phabricator.services.mozilla.com/D136599
2022-03-11 15:42:08 +00:00
Jens Stutte
269b1288f3
Bug 1750525: Give IPC_FAIL a reason and remove obsolete MOZ_CRASH_UNLESS_FUZZING in Utils::RecvGetFileReferences. r=dom-storage-reviewers,janv
...
Differential Revision: https://phabricator.services.mozilla.com/D136592
2022-03-11 15:42:08 +00:00
Jens Stutte
9059b4cb9e
Bug 1750525: Do not IPC_FAIL on dispatch failure in Utils::RecvDeleteMe. r=dom-storage-reviewers,janv
...
Differential Revision: https://phabricator.services.mozilla.com/D136591
2022-03-11 15:42:08 +00:00
Jens Stutte
b91d33d60f
Bug 1750525: Give IPC_FAIL a reason and remove obsolete MOZ_CRASH_UNLESS_FUZZING in MutableFile::RecvGetFileId. r=dom-storage-reviewers,janv
...
Differential Revision: https://phabricator.services.mozilla.com/D136590
2022-03-11 15:42:07 +00:00
Jens Stutte
c0d81a297b
Bug 1750525: Give IPC_FAIL a reason and remove obsolete MOZ_CRASH_UNLESS_FUZZING in Cursor<CursorType>::RecvContinue. r=dom-storage-reviewers,janv
...
Differential Revision: https://phabricator.services.mozilla.com/D136589
2022-03-11 15:42:07 +00:00
Jens Stutte
0ea6126523
Bug 1750525: Give IPC_FAIL a reason but do not fail on dispatch failure in Cursor<CursorType>::RecvDeleteMe. r=dom-storage-reviewers,janv
...
Differential Revision: https://phabricator.services.mozilla.com/D136588
2022-03-11 15:42:06 +00:00
Jens Stutte
19a830db5d
Bug 1750525: Give IPC_FAIL a reason in VersionChangeTransaction::RecvPBackgroundIDBCursorConstructor. r=dom-storage-reviewers,janv
...
Differential Revision: https://phabricator.services.mozilla.com/D136587
2022-03-11 15:42:06 +00:00
Jens Stutte
a8ebb9389a
Bug 1750525: Give IPC_FAIL a reason in VersionChangeTransaction::RecvPBackgroundIDBRequestConstructor. r=dom-storage-reviewers,janv
...
Differential Revision: https://phabricator.services.mozilla.com/D136586
2022-03-11 15:42:06 +00:00
Jens Stutte
85f5343cf2
Bug 1750525: Give IPC_FAIL a reason and remove obsolete MOZ_CRASH_UNLESS_FUZZING in VersionChangeTransaction::RecvRenameIndex. r=dom-storage-reviewers,janv
...
Differential Revision: https://phabricator.services.mozilla.com/D136585
2022-03-11 15:42:05 +00:00
Jens Stutte
576fd3bd9b
Bug 1750525: Give IPC_FAIL a reason and remove obsolete MOZ_CRASH_UNLESS_FUZZING in VersionChangeTransaction::RecvDeleteIndex. r=dom-storage-reviewers,janv
...
Differential Revision: https://phabricator.services.mozilla.com/D136584
2022-03-11 15:42:05 +00:00
Jens Stutte
7af432a9a9
Bug 1750525: Give IPC_FAIL a reason and remove obsolete MOZ_CRASH_UNLESS_FUZZING in VersionChangeTransaction::RecvCreateIndex. r=dom-storage-reviewers,janv
...
Differential Revision: https://phabricator.services.mozilla.com/D136583
2022-03-11 15:42:05 +00:00
Jens Stutte
829349801c
Bug 1750525: Give IPC_FAIL a reason and remove obsolete MOZ_CRASH_UNLESS_FUZZING in VersionChangeTransaction::RecvRenameObjectStore. r=dom-storage-reviewers,janv
...
Differential Revision: https://phabricator.services.mozilla.com/D136582
2022-03-11 15:42:04 +00:00
Jens Stutte
39ecabcc0c
Bug 1750525: Give IPC_FAIL a reason and remove obsolete MOZ_CRASH_UNLESS_FUZZING in VersionChangeTransaction::RecvDeleteObjectStore. r=dom-storage-reviewers,janv
...
Differential Revision: https://phabricator.services.mozilla.com/D136581
2022-03-11 15:42:04 +00:00
Jens Stutte
de35747aa4
Bug 1750525: Give IPC_FAIL a reason and remove obsolete MOZ_CRASH_UNLESS_FUZZING in VersionChangeTransaction::RecvCreateObjectStore. r=dom-storage-reviewers,janv
...
Differential Revision: https://phabricator.services.mozilla.com/D136580
2022-03-11 15:42:03 +00:00
Jens Stutte
c1b20f5d2d
Bug 1750525: Do not IPC_FAIL in Database::RecvDeleteMe on Send__delete__ failure. r=dom-storage-reviewers,janv
...
Differential Revision: https://phabricator.services.mozilla.com/D136161
2022-03-11 15:42:03 +00:00
Jens Stutte
96f3cdee6b
Bug 1750525: Do not IPC_FAIL in VersionChangeTransaction::RecvDeleteMe on Send__delete__ failure. r=dom-storage-reviewers,janv
...
Differential Revision: https://phabricator.services.mozilla.com/D136144
2022-03-11 15:42:03 +00:00
Jens Stutte
5739ba60e2
Bug 1750525: Add reason to IPC_FAIL in NormalTransaction::RecvPBackgroundIDBCursorConstructor. r=dom-storage-reviewers,janv
...
Differential Revision: https://phabricator.services.mozilla.com/D136143
2022-03-11 15:42:02 +00:00
Jens Stutte
dce7e36237
Bug 1750525: Add reason to IPC_FAIL in NormalTransaction::RecvPBackgroundIDBRequestConstructor. r=dom-storage-reviewers,janv
...
Differential Revision: https://phabricator.services.mozilla.com/D136142
2022-03-11 15:42:02 +00:00
Jens Stutte
0728e25750
Bug 1750525: Do not MOZ_CRASH_UNLESS_FUZZING for TransactionBase::RecvAbort failures. r=dom-storage-reviewers,janv
...
Differential Revision: https://phabricator.services.mozilla.com/D136141
2022-03-11 15:42:02 +00:00
Jens Stutte
7d414ae609
Bug 1750525: Do not MOZ_CRASH_UNLESS_FUZZING for TransactionBase::RecvCommit failures. r=dom-storage-reviewers,janv
...
Differential Revision: https://phabricator.services.mozilla.com/D136140
2022-03-11 15:42:01 +00:00
Jens Stutte
c8559fcb36
Bug 1750525: Do not IPC_FAIL in NormalTransaction::RecvDeleteMe on Send__delete__ failure. r=dom-storage-reviewers,janv
...
Differential Revision: https://phabricator.services.mozilla.com/D136139
2022-03-11 15:42:01 +00:00
Jens Stutte
582b47a881
Bug 1750525: Give IPC_FAIL a reason in Database::RecvClose and rely on IPC to crash when appropriate. r=dom-storage-reviewers,janv
...
Differential Revision: https://phabricator.services.mozilla.com/D136137
2022-03-11 15:42:00 +00:00
Jens Stutte
94058d1653
Bug 1750525: Add reason to IPC_FAIL in Database::RecvBlocked if already closed. r=dom-storage-reviewers,janv
...
Differential Revision: https://phabricator.services.mozilla.com/D136136
2022-03-11 15:42:00 +00:00
Jens Stutte
e26c7dd45f
Bug 1750525: Do not IPC_FAIL in Factory::RecvDeleteMe on send failure. r=dom-storage-reviewers,janv
...
Differential Revision: https://phabricator.services.mozilla.com/D136135
2022-03-11 15:41:59 +00:00