Commit graph

427 commits

Author SHA1 Message Date
Florian Quèze
f910267fcf Bug 1842682 - Remove unused ChromeUtils.requestIOActivity and IOActivityMonitor, r=necko-reviewers,valentin.
Differential Revision: https://phabricator.services.mozilla.com/D210680
2024-05-17 14:03:21 +00:00
Tooru Fujisawa
e9bf25e3c2 Bug 1897085 - Support ChromeUtils.defineLazyGetter with int and symbol properties. r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D210686
2024-05-17 00:38:27 +00:00
Benjamin VanderSloot
d3ef19887a Bug 1876574 - Add SameSite bit to partition-key origin attribute for first-party partitioning - r=timhuang
This patch is a no-op for observable functionality. All it does is add a bit to the partitionKey for OA, and then adds plumbing to be able to set it, and where it is required, sets it to false.
This is serialized identically to the absence of the bit, so nothing changes at all.

Differential Revision: https://phabricator.services.mozilla.com/D203155
2024-04-02 18:53:25 +00:00
Cristian Tuns
3ba835953e Backed out 6 changesets (bug 1876574, bug 1876575) for causing multiple failures in TestGetPrincipalCookieBehavior5 CLOSED TREE
Backed out changeset f00e9fde550f (bug 1876575)
Backed out changeset ca1c6f8819f7 (bug 1876575)
Backed out changeset d65ac05bd9f8 (bug 1876575)
Backed out changeset 5dcfe3aa8497 (bug 1876575)
Backed out changeset 9ae9252761ac (bug 1876575)
Backed out changeset 704e94d28ad7 (bug 1876574)
2024-04-02 09:58:52 -04:00
Benjamin VanderSloot
880a6720e4 Bug 1876574 - Add SameSite bit to partition-key origin attribute for first-party partitioning - r=timhuang
This patch is a no-op for observable functionality. All it does is add a bit to the partitionKey for OA, and then adds plumbing to be able to set it, and where it is required, sets it to false.
This is serialized identically to the absence of the bit, so nothing changes at all.

Differential Revision: https://phabricator.services.mozilla.com/D203155
2024-04-02 12:50:00 +00:00
Stanca Serban
23caed9eac Backed out 6 changesets (bug 1876574, bug 1876575) for causing multiple failures. CLOSED TREE
Backed out changeset 8c7a9f405031 (bug 1876575)
Backed out changeset 49739f9ec590 (bug 1876575)
Backed out changeset 1c49f0c3b677 (bug 1876575)
Backed out changeset 1ca7a0f27bc0 (bug 1876575)
Backed out changeset bfa9862e3480 (bug 1876575)
Backed out changeset 58576ed7eb22 (bug 1876574)
2024-03-29 20:52:30 +02:00
Benjamin VanderSloot
6e1646cf81 Bug 1876574 - Add SameSite bit to partition-key origin attribute for first-party partitioning - r=timhuang
This patch is a no-op for observable functionality. All it does is add a bit to the partitionKey for OA, and then adds plumbing to be able to set it, and where it is required, sets it to false.
This is serialized identically to the absence of the bit, so nothing changes at all.

Differential Revision: https://phabricator.services.mozilla.com/D203155
2024-03-29 17:12:12 +00:00
Sandor Molnar
09e7cbd0b7 Backed out 6 changesets (bug 1876575, bug 1876574) for causing build bustages @ toolkit/components/resistfingerprinting/nsRFPService.cpp CLOSED TREE
Backed out changeset 455ce831c73c (bug 1876575)
Backed out changeset 4fa3fbf3a3ae (bug 1876575)
Backed out changeset ac4c41cb3b67 (bug 1876575)
Backed out changeset 15e06d10788e (bug 1876575)
Backed out changeset dcd6bbea816a (bug 1876575)
Backed out changeset cc547125fda9 (bug 1876574)
2024-03-29 16:29:47 +02:00
Benjamin VanderSloot
998c4499bd Bug 1876574 - Add SameSite bit to partition-key origin attribute for first-party partitioning - r=timhuang
This patch is a no-op for observable functionality. All it does is add a bit to the partitionKey for OA, and then adds plumbing to be able to set it, and where it is required, sets it to false.
This is serialized identically to the absence of the bit, so nothing changes at all.

Differential Revision: https://phabricator.services.mozilla.com/D203155
2024-03-29 13:11:26 +00:00
Mike Hommey
aa9f548e55 Bug 1886607 - Fill ProcInfoRequest.childTask on iOS. r=nika,profiler-reviewers,florian
Differential Revision: https://phabricator.services.mozilla.com/D205268
2024-03-26 23:41:42 +00:00
Tooru Fujisawa
89fa767ef9 Bug 1886935 - Remove debugging code. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D205414
2024-03-22 10:05:48 +00:00
Cosmin Sabou
04a282cb4b Backed out 2 changesets (bug 1886607) for causing build bustages on ChromeUtils.
Backed out changeset 2fa193524f2c (bug 1886607)
Backed out changeset f77ff6043d75 (bug 1886607)
2024-03-22 00:28:44 +02:00
Mike Hommey
72ca45a154 Bug 1886607 - Fill ProcInfoRequest.childTask on iOS. r=nika,profiler-reviewers,florian
Differential Revision: https://phabricator.services.mozilla.com/D205268
2024-03-21 20:14:20 +00:00
Tooru Fujisawa
2896f9ef0e Bug 1860969 - Add testcase for incomplete task and rescheduling in TaskController. r=bas
Also fix the null-check.

Differential Revision: https://phabricator.services.mozilla.com/D198504
2024-03-19 03:59:15 +00:00
Peter Van der Beken
b4eccf070d Bug 1640839 - Stop generating count of WebIDL enum values, use standard enum traits instead. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D201345
2024-03-02 07:50:25 +00:00
Peter Van der Beken
4fed5f1271 Bug 1640839 - Add MakeEnumeratedRange helper for WebIDL enums. r=mccr8,media-playback-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D201343
2024-03-02 07:50:24 +00:00
Peter Van der Beken
6d4c6fde36 Bug 1640839 - Make WebIDL enum helper function to convert to string return an actual string. r=mccr8,media-playback-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D201337
2024-03-02 07:50:21 +00:00
Natalia Csoregi
8c2521e9d5 Backed out 13 changesets (bug 1640839) for causing bustage on Element.cpp CLOSED TREE
Backed out changeset 179ceb82c9e5 (bug 1640839)
Backed out changeset 73f498a821f0 (bug 1640839)
Backed out changeset dc2d3d0e0365 (bug 1640839)
Backed out changeset ddc989ac0509 (bug 1640839)
Backed out changeset e595bb3feea8 (bug 1640839)
Backed out changeset c85aca04e27f (bug 1640839)
Backed out changeset 98e8e3a4047a (bug 1640839)
Backed out changeset 59ef180517db (bug 1640839)
Backed out changeset af2f5e293662 (bug 1640839)
Backed out changeset 89aa6d9dc598 (bug 1640839)
Backed out changeset 67b722a722f9 (bug 1640839)
Backed out changeset 24a9665c6ced (bug 1640839)
Backed out changeset d93f199385e9 (bug 1640839)
2024-03-01 18:23:08 +02:00
Peter Van der Beken
89dde157ad Bug 1640839 - Stop generating count of WebIDL enum values, use standard enum traits instead. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D201345
2024-03-01 14:31:16 +00:00
Peter Van der Beken
4fe8e134c0 Bug 1640839 - Add MakeEnumeratedRange helper for WebIDL enums. r=mccr8,media-playback-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D201343
2024-03-01 14:31:15 +00:00
Peter Van der Beken
a1122e9bfc Bug 1640839 - Make WebIDL enum helper function to convert to string return an actual string. r=mccr8,media-playback-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D201337
2024-03-01 14:31:11 +00:00
Tooru Fujisawa
2c4458193a Bug 1470969 - Part 1: Eagerly create shared system global. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D202129
2024-02-22 06:52:45 +00:00
Tooru Fujisawa
4b1219443d Bug 1875639 - Part 3: Remove loadInDevToolsLoader option and contextual loader behavior. r=ochameau,jonco
ChromeUtils.importESModule and ChromeUtils.defineESModuleGetters calls in
DevTools distinct global require the global option.

Differential Revision: https://phabricator.services.mozilla.com/D199468
2024-02-20 04:49:58 +00:00
Tooru Fujisawa
b8f09f81a9 Bug 1875638 - Part 1: Add ImportESModuleOptionsDictionary parameter to ChromeUtils.defineESModuleGetters. r=jonco
Pass the global/loadInDevToolsLoader options to the lazy getter, with encoding
the option into single integer and store into the getter function's extended
slot.

Differential Revision: https://phabricator.services.mozilla.com/D199463
2024-02-14 11:34:23 +00:00
Stanca Serban
b5b5513294 Backed out 3 changesets (bug 1875638) for workers related dt failures. CLOSED TREE
Backed out changeset ea95dfbc56f0 (bug 1875638)
Backed out changeset 9e528ea23760 (bug 1875638)
Backed out changeset 32b63d4ef3d2 (bug 1875638)
2024-02-14 07:53:52 +02:00
Tooru Fujisawa
b27ae90c50 Bug 1875638 - Part 1: Add ImportESModuleOptionsDictionary parameter to ChromeUtils.defineESModuleGetters. r=jonco
Pass the global/loadInDevToolsLoader options to the lazy getter, with encoding
the option into single integer and store into the getter function's extended
slot.

Differential Revision: https://phabricator.services.mozilla.com/D199463
2024-02-14 04:48:39 +00:00
Tooru Fujisawa
e1afab08a4 Bug 1803810 - Part 9: Make ChromeUtils.importESModule compatible with workers. r=jonco
Expose importESModule to worker as well, while only supporting
{ global: "current" } and { global: "contextual" } options.
"contextual" in worker is an alias to "current".

Differential Revision: https://phabricator.services.mozilla.com/D199461
2024-02-14 02:01:39 +00:00
Tooru Fujisawa
2242e45b71 Bug 1803810 - Part 5: Add global option to ChromeUtils.importESModule. r=jonco,ochameau
Add { global: "current" } option to import the module into the current global,
either shared or non-shared.

Also add the following:
  * { global: "shared" }: the existing default behavior, except for the implicit contextual behavior
  * { global: "devtools" }: equivalent of loadInDevToolsLoader: true
  * { global: "contextual" }: the explicit version of the contextual behavior

The later patch is going to drop the loadInDevToolsLoader option and also the
implicit contextual behavior, and require global option for modules in the
DevTools global.

Differential Revision: https://phabricator.services.mozilla.com/D199457
2024-02-14 02:01:37 +00:00
Cosmin Sabou
e4edda3c7e Backed out 10 changesets (bug 1803810) for xpcshell failures on test_import_global. CLOSED TREE
Backed out changeset d5df64b38425 (bug 1803810)
Backed out changeset b8f45cbb5596 (bug 1803810)
Backed out changeset c02d879622bd (bug 1803810)
Backed out changeset 9593275c0195 (bug 1803810)
Backed out changeset 2e2f01296233 (bug 1803810)
Backed out changeset 9699c18e5bf7 (bug 1803810)
Backed out changeset 84cdfd738db6 (bug 1803810)
Backed out changeset 58160b9119ef (bug 1803810)
Backed out changeset 4aa6e036fe7a (bug 1803810)
Backed out changeset 656b61cbd15c (bug 1803810)
2024-02-13 17:41:01 +02:00
Tooru Fujisawa
e490f40be2 Bug 1803810 - Part 9: Make ChromeUtils.importESModule compatible with workers. r=jonco
Expose importESModule to worker as well, while only supporting
{ global: "current" } and { global: "contextual" } options.
"contextual" in worker is an alias to "current".

Differential Revision: https://phabricator.services.mozilla.com/D199461
2024-02-13 14:34:24 +00:00
Tooru Fujisawa
7d0c8da822 Bug 1803810 - Part 5: Add global option to ChromeUtils.importESModule. r=jonco,ochameau
Add { global: "current" } option to import the module into the current global,
either shared or non-shared.

Also add the following:
  * { global: "shared" }: the existing default behavior, except for the implicit contextual behavior
  * { global: "devtools" }: equivalent of loadInDevToolsLoader: true
  * { global: "contextual" }: the explicit version of the contextual behavior

The later patch is going to drop the loadInDevToolsLoader option and also the
implicit contextual behavior, and require global option for modules in the
DevTools global.

Differential Revision: https://phabricator.services.mozilla.com/D199457
2024-02-13 14:34:22 +00:00
Vinny Diehl
7db77c05c4 Bug 1872116 - Fix year detection in checkTimeDateString r=whimboo,webdriver-reviewers,arai
Differential Revision: https://phabricator.services.mozilla.com/D197325
2023-12-30 07:57:13 +00:00
alwu
2489913892 Bug 1863800 - part4 : rename MFCDMCapabilities to MFCDMService in order to add more helper functions for the chrome process. r=media-playback-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D195833
2023-12-19 20:28:06 +00:00
Norisz Fay
19d025b320 Backed out 7 changesets (bug 1863800) for causing bustage on MediaKeySystemAccessManager.cpp
Backed out changeset d89d2efafd8a (bug 1863800)
Backed out changeset 272c033e5d58 (bug 1863800)
Backed out changeset f3f86cc42775 (bug 1863800)
Backed out changeset 68267c6bf0ac (bug 1863800)
Backed out changeset 7fa5617dd0f5 (bug 1863800)
Backed out changeset 750dc1b57c2b (bug 1863800)
Backed out changeset 3eef40828d86 (bug 1863800)
2023-12-19 00:10:04 +02:00
alwu
5efe239c8b Bug 1863800 - part4 : rename MFCDMCapabilities to MFCDMService in order to add more helper functions for the chrome process. r=media-playback-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D195833
2023-12-18 20:52:12 +00:00
Tom Ritter
68cae289a0 Bug 1851816: Pass PBM Status into RFPIsEnabledFor r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D192501
2023-12-18 18:39:33 +00:00
alwu
32bb8ca196 Bug 1846848 - part6 : display GMPCDM capabilities in about:support. r=jolin
ClearKey and Widevine L3 are used in the GMP process, so comparing with
MFCDM, we need to use another different way to access their capabilities.

Differential Revision: https://phabricator.services.mozilla.com/D194932
2023-12-06 18:16:05 +00:00
alwu
7fc665b682 Bug 1846848 - part5 : display MFCDM capabilites in about:support. r=fluent-reviewers,gerard-majax,jolin,niklas
This patch implements retrieving the capabilities from MFCDMs. I will
add non-MFCDM support in following patches, eg. Widevine L3, and
ClearKey.

Differential Revision: https://phabricator.services.mozilla.com/D194837
2023-12-06 18:16:05 +00:00
Norisz Fay
9fa5225708 Backed out 9 changesets (bug 1846848) for causing bustages on UtilityAudioDecoderParent.cpp
Backed out changeset 3ef263566f4f (bug 1846848)
Backed out changeset 8499da15a162 (bug 1846848)
Backed out changeset 47ebd92f3778 (bug 1846848)
Backed out changeset 373b7ca4d079 (bug 1846848)
Backed out changeset ca7cb687ee2c (bug 1846848)
Backed out changeset bf0bebf8c994 (bug 1846848)
Backed out changeset 26cccc9b7894 (bug 1846848)
Backed out changeset d655082ad764 (bug 1846848)
Backed out changeset 4a1db8b9112c (bug 1846848)
2023-12-06 13:08:22 +02:00
alwu
218d2b5807 Bug 1846848 - part6 : display GMPCDM capabilities in about:support. r=jolin
ClearKey and Widevine L3 are used in the GMP process, so comparing with
MFCDM, we need to use another different way to access their capabilities.

Differential Revision: https://phabricator.services.mozilla.com/D194932
2023-12-06 09:04:04 +00:00
alwu
d9836bbabe Bug 1846848 - part5 : display MFCDM capabilites in about:support. r=fluent-reviewers,gerard-majax,jolin,niklas
This patch implements retrieving the capabilities from MFCDMs. I will
add non-MFCDM support in following patches, eg. Widevine L3, and
ClearKey.

Differential Revision: https://phabricator.services.mozilla.com/D194837
2023-12-06 09:04:03 +00:00
Iulian Moraru
413b88689f Backed out 9 changesets (bug 1846848) for causing multiple build bustages. CLOSED TREE
Backed out changeset e5333509733c (bug 1846848)
Backed out changeset bf4ac7f56486 (bug 1846848)
Backed out changeset 5d794cd95fc7 (bug 1846848)
Backed out changeset 203f9c356a36 (bug 1846848)
Backed out changeset a755043387c2 (bug 1846848)
Backed out changeset 2fdeb001c68a (bug 1846848)
Backed out changeset 9a13867df758 (bug 1846848)
Backed out changeset 773368f5552d (bug 1846848)
Backed out changeset 43360fe1a5fa (bug 1846848)
2023-12-05 05:41:47 +02:00
alwu
bae8ed95b1 Bug 1846848 - part6 : display GMPCDM capabilities in about:support. r=jolin
ClearKey and Widevine L3 are used in the GMP process, so comparing with
MFCDM, we need to use another different way to access their capabilities.

Differential Revision: https://phabricator.services.mozilla.com/D194932
2023-12-05 01:13:48 +00:00
alwu
999157ad9b Bug 1846848 - part5 : display MFCDM capabilites in about:support. r=fluent-reviewers,gerard-majax,jolin,niklas
This patch implements retrieving the capabilities from MFCDMs. I will
add non-MFCDM support in following patches, eg. Widevine L3, and
ClearKey.

Differential Revision: https://phabricator.services.mozilla.com/D194837
2023-12-05 01:13:48 +00:00
Peter Van der Beken
44a577eec3 Bug 1849037 - Add ErrorResult to TypedArray::Create. r=necko-reviewers,extension-reviewers,media-playback-reviewers,webidl,profiler-reviewers,farre,padenot,smaug,robwu,jesup,aabh
Differential Revision: https://phabricator.services.mozilla.com/D191418
2023-11-11 08:24:05 +00:00
Peter Van der Beken
29a54c8a17 Bug 1849037 - Pass objects that support conversion to a Span directly to TypedArray::Create as a Span. r=necko-reviewers,extension-reviewers,media-playback-reviewers,profiler-reviewers,farre,padenot,jesup
Differential Revision: https://phabricator.services.mozilla.com/D191416
2023-11-11 08:24:04 +00:00
Stanca Serban
2685d35c49 Backed out 3 changesets (bug 1849037) for causing mochitests failures in test_gamepad_extensions.html.
Backed out changeset 27fd9f6f57ea (bug 1849037)
Backed out changeset 89aa49de2473 (bug 1849037)
Backed out changeset c336a8c78928 (bug 1849037)
2023-11-08 17:12:40 +02:00
Peter Van der Beken
2b267480e6 Bug 1849037 - Add ErrorResult to TypedArray::Create. r=necko-reviewers,extension-reviewers,media-playback-reviewers,webidl,profiler-reviewers,farre,padenot,smaug,robwu,jesup
Differential Revision: https://phabricator.services.mozilla.com/D191418
2023-11-08 11:29:05 +00:00
Peter Van der Beken
7cb765ad2c Bug 1849037 - Pass objects that support conversion to a Span directly to TypedArray::Create as a Span. r=necko-reviewers,extension-reviewers,media-playback-reviewers,profiler-reviewers,farre,padenot,jesup
Differential Revision: https://phabricator.services.mozilla.com/D191416
2023-11-08 11:29:04 +00:00
Noemi Erli
a4dae64f34 Backed out 2 changesets (bug 1851816) for causing private browsing related failures CLOSED TREE
Backed out changeset d2f63b3f6342 (bug 1851816)
Backed out changeset 7d0d2fe95e67 (bug 1851816)
2023-11-07 00:18:54 +02:00