Граф коммитов

3535 Коммитов

Автор SHA1 Сообщение Дата
Olli Pettay 93acdfad59 Bug 1777574, automate CC zone handling, r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D155084
2022-09-07 11:22:51 +00:00
Mark Banner 783a2f2187 Bug 1788037 - Turn on ESLint rule for prefer-boolean-length-check for dom. r=asuth,karlt
Differential Revision: https://phabricator.services.mozilla.com/D155965
2022-09-02 11:05:17 +00:00
Kagami Sascha Rosylight e60f5b3f5d Bug 1784590 - Part 2: Add use counters for unsupported APIs in PBM r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D154579
2022-08-24 10:58:47 +00:00
Kagami Sascha Rosylight 32a02a7021 Bug 1784590 - Part 1: Remove hide_in_pbmode prefs r=asuth
It turns out that websites break with different reasons when hiding things. At this point we want to stop revising the hack further and instead gather the data about how many websites are currently affected.

Differential Revision: https://phabricator.services.mozilla.com/D154578
2022-08-24 10:58:46 +00:00
Marian-Vasile Laza e32b8c70e9 Backed out 2 changesets (bug 1784590) for causing mochitest failures on test_privateBrowsing.html. CLOSED TREE
Backed out changeset cd284ba05fbb (bug 1784590)
Backed out changeset 2f714355a8c8 (bug 1784590)
2022-08-23 01:26:37 +03:00
Kagami Sascha Rosylight e2a0941795 Bug 1784590 - Part 2: Add use counters for unsupported APIs in PBM r=asuth
Depends on D154578

Differential Revision: https://phabricator.services.mozilla.com/D154579
2022-08-22 20:48:34 +00:00
Kagami Sascha Rosylight ee9aec5cb9 Bug 1784590 - Part 1: Remove hide_in_pbmode prefs r=asuth
It turns out that websites break with different reasons when hiding things. At this point we want to stop revising the hack further and instead gather the data about how many websites are currently affected.

Differential Revision: https://phabricator.services.mozilla.com/D154578
2022-08-22 20:48:33 +00:00
Marian-Vasile Laza b92a6b8396 Backed out 2 changesets (bug 1784590) for causing mochitest failures on test_privateBrowsing.html.
Backed out changeset 36d36e75930f (bug 1784590)
Backed out changeset 35dbbd6dbb70 (bug 1784590)
2022-08-22 22:50:41 +03:00
Kagami Sascha Rosylight 695e5e60df Bug 1784590 - Part 2: Add use counters for unsupported APIs in PBM r=asuth
Depends on D154578

Differential Revision: https://phabricator.services.mozilla.com/D154579
2022-08-22 18:48:12 +00:00
Kagami Sascha Rosylight bfc04ec1a4 Bug 1784590 - Part 1: Remove hide_in_pbmode prefs r=asuth
It turns out that websites break with different reasons when hiding things. At this point we want to stop revising the hack further and instead gather the data about how many websites are currently affected.

Differential Revision: https://phabricator.services.mozilla.com/D154578
2022-08-22 18:48:12 +00:00
Jari Jalkanen e6f35530cb Bug 1735191 - Assert current transaction state is not invalid. r=smaug
Asserting invalid values identifies the missing state transition.

Differential Revision: https://phabricator.services.mozilla.com/D153761
2022-08-09 12:57:03 +00:00
Kris Maglione 35e03c3497 Bug 1776658: Update some setNumber callers. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D152822
2022-08-03 19:55:31 +00:00
Mark Banner 1c23a90c8e Bug 1782008 - Remove now unnecessary ESLint test definitions from other .eslintrc.js files. r=mossop,media-playback-reviewers,alwu
Differential Revision: https://phabricator.services.mozilla.com/D153216
2022-08-03 11:16:20 +00:00
criss d6d168e329 Backed out changeset 6409e37a1834 (bug 1776658) for causing assertion failures on Value.h . CLOSED TREE 2022-08-03 00:03:29 +03:00
Kris Maglione 372e3c54a2 Bug 1776658: Update some setNumber callers. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D152822
2022-08-02 20:01:39 +00:00
Emilio Cobos Álvarez 42b7f1a58c Bug 1780788 - Use abstract strings as in-arguments for ipdl. r=nika,necko-reviewers,media-playback-reviewers,alwu,dragana
This prevents copies and avoids the hack we have to avoid this, which
right now is using nsDependent{C,}String.

Non-virtual actors can still use `nsString` if they need to on the
receiving end.

Differential Revision: https://phabricator.services.mozilla.com/D152519
2022-07-25 20:19:48 +00:00
Thomas Wisniewski fefdd42f8d Bug 1762462 - Make tests in dom/indexedDB/test/unit/ reflect Always Partitioning Storage; r=timhuang
Depends on D148049

Differential Revision: https://phabricator.services.mozilla.com/D148050
2022-07-15 13:26:19 +00:00
Kagami Sascha Rosylight f61c528d6c Bug 1779000 - Part 3: Remove helper functions for prefs r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D151505
2022-07-15 04:25:23 +00:00
Kagami Sascha Rosylight 931e4cc2ae Bug 1779000 - Part 2: Replace use of AtomicBoolPrefChangedCallback with StaticPrefs r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D151504
2022-07-15 04:25:22 +00:00
Kagami Sascha Rosylight f93cc7fa75 Bug 1779000 - Part 1: Remove dom.indexedDB.errorEventToSelfError r=asuth
This has never been documented/tested anywhere and has always been disabled since its start in 2017 in bug 1389913.

This removes the pref as https://github.com/w3c/IndexedDB/issues/49 decided not to propagate to window.onerror in 2019.

Differential Revision: https://phabricator.services.mozilla.com/D151503
2022-07-15 04:25:22 +00:00
criss 512ac8c6d0 Backed out 3 changesets (bug 1779000) for causing build bustages on ActorsParentCommon.cpp. CLOSED TREE
Backed out changeset f33bbb0568fa (bug 1779000)
Backed out changeset 31ba65d120ff (bug 1779000)
Backed out changeset f3a44c2ade2c (bug 1779000)
2022-07-15 06:52:44 +03:00
Kagami Sascha Rosylight c28df77d9b Bug 1779000 - Part 3: Remove helper functions for prefs r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D151505
2022-07-15 03:22:32 +00:00
Kagami Sascha Rosylight d556fc498d Bug 1779000 - Part 2: Replace use of AtomicBoolPrefChangedCallback with StaticPrefs r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D151504
2022-07-15 03:22:31 +00:00
Kagami Sascha Rosylight 28ad9a860e Bug 1779000 - Part 1: Remove dom.indexedDB.errorEventToSelfError r=asuth
This has never been documented/tested anywhere and has always been disabled since its start in 2017 in bug 1389913.

This removes the pref as https://github.com/w3c/IndexedDB/issues/49 decided not to propagate to window.onerror in 2019.

Differential Revision: https://phabricator.services.mozilla.com/D151503
2022-07-15 03:22:31 +00:00
Kagami Sascha Rosylight 17bf285cb0 Bug 1354500 - Part 3: Remove indexedDB/PermissionRequestBase r=dom-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D151418
2022-07-15 01:55:27 +00:00
Kagami Sascha Rosylight cdb7d00f1e Bug 1354500 - Part 2: Remove IDBDatabase#storage r=dom-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D151417
2022-07-15 01:55:26 +00:00
Kagami Sascha Rosylight 0e82d63d54 Bug 1354500 - Part 1: Remove options parameter from nsDOMWindowUtils::GetFileReferences r=dom-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D151416
2022-07-15 01:55:26 +00:00
Cristian Tuns 2f5fe88da3 Backed out 19 changesets (bug 1758745, bug 1758740, bug 1762462, bug 1779603) for causing mochitest failures on browser_partitionedConsoleMessage.js CLOSED TREE
Backed out changeset e3c8cd6f00b6 (bug 1779603)
Backed out changeset 4e46a6f209b4 (bug 1762462)
Backed out changeset 00c0c6314640 (bug 1762462)
Backed out changeset 8f11221f859f (bug 1762462)
Backed out changeset ffbf90e3bbab (bug 1762462)
Backed out changeset 0c760428dfec (bug 1762462)
Backed out changeset 7c99293cc8f9 (bug 1762462)
Backed out changeset 92bd237a95e1 (bug 1762462)
Backed out changeset 74539a3cc7fc (bug 1762462)
Backed out changeset acf08a10c6fb (bug 1762462)
Backed out changeset 0cf191a7739f (bug 1762462)
Backed out changeset 030c276d6669 (bug 1762462)
Backed out changeset a88a099c684d (bug 1762462)
Backed out changeset cbd69786a24b (bug 1762462)
Backed out changeset e5e0655206a8 (bug 1762462)
Backed out changeset 707f9dfed501 (bug 1762462)
Backed out changeset 619e4bb01a81 (bug 1762462)
Backed out changeset 02b7641683b0 (bug 1758745)
Backed out changeset a2f110442038 (bug 1758740)
2022-07-14 17:26:17 -04:00
Thomas Wisniewski 40a6edaccc Bug 1762462 - Make tests in dom/indexedDB/test/unit/ reflect Always Partitioning Storage; r=timhuang
Depends on D148049

Differential Revision: https://phabricator.services.mozilla.com/D148050
2022-07-14 19:26:28 +00:00
Norisz Fay 388468729f Backed out 18 changesets (bug 1762462, bug 1758745, bug 1758740) for causing mochitest failures on test_storage_copied.html
Backed out changeset a27ae15872a9 (bug 1762462)
Backed out changeset b7d979a36324 (bug 1762462)
Backed out changeset 6249efe40513 (bug 1762462)
Backed out changeset 1e81ed3014a0 (bug 1762462)
Backed out changeset 92cec5f5db1c (bug 1762462)
Backed out changeset fa3c45b4de5c (bug 1762462)
Backed out changeset 64df67f43ad7 (bug 1762462)
Backed out changeset d66dd76ec2b6 (bug 1762462)
Backed out changeset 4f8aaba02a03 (bug 1762462)
Backed out changeset 81eb7d60dea9 (bug 1762462)
Backed out changeset 01504f5f818a (bug 1762462)
Backed out changeset 2615b571c9ba (bug 1762462)
Backed out changeset 73ed8be3f117 (bug 1762462)
Backed out changeset edb94ba8ec59 (bug 1762462)
Backed out changeset 21dd6fdc672e (bug 1762462)
Backed out changeset 31a70f9ad879 (bug 1762462)
Backed out changeset 5261ee5a2368 (bug 1758745)
Backed out changeset ad6ffd85ef3c (bug 1758740)
2022-07-14 03:16:08 +03:00
Thomas Wisniewski 6beb204a3d Bug 1762462 - Make tests in dom/indexedDB/test/unit/ reflect Always Partitioning Storage; r=timhuang
Depends on D148049

Differential Revision: https://phabricator.services.mozilla.com/D148050
2022-07-13 22:45:00 +00:00
Ryan VanderMeulen eda51ed988 Bug 1743947 - Update Snappy to version 1.1.9. r=dom-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D132651
2022-07-12 15:38:23 +00:00
Tooru Fujisawa 47c8f80432 Bug 1667455 - Part 6: Stop importing Services.jsm from chrome-priv JS code, non-top-level or multi-line cases. r=kmag,perftest-reviewers,AlexandruIonescu,sparky
Differential Revision: https://phabricator.services.mozilla.com/D150895
2022-07-11 12:41:51 +00:00
Tooru Fujisawa bf93d07148 Bug 1667455 - Part 5: Stop importing Services.jsm from chrome-priv JS code, top-level single-line cases. r=kmag,webdriver-reviewers,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,extension-reviewers,application-update-reviewers,pip-reviewers,twisniewski,m_kato,jdescottes,mconley,AlexandruIonescu,mossop
Differential Revision: https://phabricator.services.mozilla.com/D150894
2022-07-11 12:41:50 +00:00
Chris Peterson f0a5cec879 Bug 1774336 - Make FileInfoManagerGuard's default constructor public for C++20. r=saschanaz
C++20 changes to direct initialization with initializer lists make FileInfoManagerGuard's default constructor inaccessible.

https://en.cppreference.com/w/cpp/language/direct_initialization

dom/indexedDB/ActorsParent.cpp:12131:21: error: calling a private constructor of class 'mozilla::dom::indexedDB::FileInfoManager<mozilla::dom::indexedDB::DatabaseFileManager>::FileInfoManagerGuard'
                    FileInfoManagerGuard{}, SafeRefPtrFromThis(), id,
                    ^
dom/indexedDB/FileInfoManager.h:92:5: note: implicitly declared private here
    FileInfoManagerGuard() = default;
    ^

Differential Revision: https://phabricator.services.mozilla.com/D149349
2022-07-05 06:01:45 +00:00
Jan Varga 3fbb9a765a Bug 1777914 - IDBTransaction::AbortInternal doesn't send the abort message when needed; r=dom-storage-reviewers,jstutte
Transactions transition to the finished state in following cases:
1. No requests have been created and we are back at the event loop.
2. The last request has been finished.
3. A transaction has been explicitly aborted.
4. A transaction has been explicitly committed.

When a transaction is finished, we send either an abort or commit message to
the parent process.

Bug 1598164 introduced an active and inactive state, so the state can't be used
for determining if a request was created. However, this was initially
overlooked, so we ended up not sending the abort message in some cases which
led to intermittent failures.

The correct wasy to determine if the abort messages should be sent to the
parent process is to check mStarted flag only.

Differential Revision: https://phabricator.services.mozilla.com/D150937
2022-07-04 12:06:56 +00:00
Joel Maher 537a5a0dc8 Bug 1777549 - remove remaining e10s conditions in manifest files. r=gbrown,extension-reviewers,zombie
Differential Revision: https://phabricator.services.mozilla.com/D150820
2022-07-01 13:49:42 +00:00
Kagami Sascha Rosylight 48adbee64d Bug 1776109 - Part 3: Hide caches/indexedDB/serviceWorker in PBMode r=asuth,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D150064
2022-06-30 11:33:56 +00:00
Iulian Moraru 23c0c3baed Backed out 3 changesets (bug 1776109) for causing hazzard build bustages on ServiceWorker.cpp.
Backed out changeset b6222b68a403 (bug 1776109)
Backed out changeset 80fb3c3a5a40 (bug 1776109)
Backed out changeset 021a94a72d0c (bug 1776109)
2022-06-30 09:53:28 +03:00
Kagami Sascha Rosylight 30b8df0dc0 Bug 1776109 - Part 3: Hide caches/indexedDB/serviceWorker in PBMode r=asuth,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D150064
2022-06-30 01:35:13 +00:00
criss a78fdd3dc0 Backed out 3 changesets (bug 1776109) for causing multiple failures. CLOSED TREE
Backed out changeset 8e76401f7c43 (bug 1776109)
Backed out changeset 1cdbbad1d996 (bug 1776109)
Backed out changeset 66bb4c49d615 (bug 1776109)
2022-06-30 03:23:01 +03:00
Kagami Sascha Rosylight 4c9ef0bb36 Bug 1776109 - Part 3: Hide caches/indexedDB/serviceWorker in PBMode r=asuth,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D150064
2022-06-29 22:52:39 +00:00
Kagami Sascha Rosylight 764ef75de5 Bug 1773740 - Part 4: Reapply `mach -l eslint --fix` with use-isInstance changes r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D148939
2022-06-27 20:31:34 +00:00
Kagami Sascha Rosylight 4398c93e79 Bug 1764771 - Disable IDBMutableHandle support by default r=janv,smaug
Differential Revision: https://phabricator.services.mozilla.com/D143728
2022-06-23 01:57:56 +00:00
Kris Maglione 837739ea46 Bug 1770237: Part 12 - Remove test for IDB global objects in JS component scope. r=mccr8
It's the same global as JSMs now, and support is being removed in any case.

Differential Revision: https://phabricator.services.mozilla.com/D148192
2022-06-22 20:31:35 +00:00
Michael Kohler de91a0e718 Bug 1704003 - Remove expired Telemetry probe idb.failure.fileinfo_error r=dom-storage-reviewers,jstutte
Differential Revision: https://phabricator.services.mozilla.com/D148380
2022-06-21 07:20:58 +00:00
Tooru Fujisawa 4842565434 Bug 1608282 - Part 3: Remove Cu.importGlobalProperties from JSM. r=extension-reviewers,kmag
Depends on D149195

Differential Revision: https://phabricator.services.mozilla.com/D149196
2022-06-16 00:19:54 +00:00
Butkovits Atila 8218713aac Backed out 4 changesets (bug 1608282) for causing hazard failures. CLOSED TREE
Backed out changeset 32aebc8be201 (bug 1608282)
Backed out changeset 37c970364269 (bug 1608282)
Backed out changeset ced8d82cc2d2 (bug 1608282)
Backed out changeset e26e480c7dd6 (bug 1608282)
2022-06-16 03:10:02 +03:00
Tooru Fujisawa 26d5bfebf1 Bug 1608282 - Part 3: Remove Cu.importGlobalProperties from JSM. r=extension-reviewers,kmag
Depends on D149195

Differential Revision: https://phabricator.services.mozilla.com/D149196
2022-06-15 20:34:35 +00:00
Nika Layzell ffd5c3388d 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