Commit Graph

820854 Commits

Author SHA1 Message Date
Andrew Osmond
a5e31eff39 Bug 1801583 - Update libpng to version 1.6.39. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D162751
2022-11-23 12:51:15 +00:00
Marco Castelluccio
16a078cc32 Bug 1790816 - Reformat accessible/ with isort. r=linter-reviewers,Standard8 DONTBUILD
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D162662
2022-11-23 12:38:45 +00:00
Marco Castelluccio
a957bd537d Bug 1790816 - Reformat devtools/ with isort. r=linter-reviewers,Standard8 DONTBUILD
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D162642
2022-11-23 12:37:48 +00:00
Jan Varga
559a9ab59e Bug 1801281 - Make sure that FileSystemManagerParent::mDataManager is set to null after subprotocol destruction; r=smaug
Calling AllowToClose in OnChannelClose/OnChannelError is tricky because we can
only do it either before or after calling
PFileSystemManagerParent::OnChannelClose/OnChannelError. When we call it before,
it can happen that mDataManager is already null when a subprotocol tries to use in its ActorDestroy (destruction of subprotocols is triggered by calling
PFileSystemManagerParent::OnChannelClose/OnChannelError). Calling AllowToClose
after calling PFileSystemManagerParent::OnChannelClose/OnChannelError makes no
sense because the object is deleted at that point.
The solution is to override ActorDestroy instead of overriding
OnChannelClose/OnChannelError. When ActorDestroy is called all subprotocols are
already destroyed but the object itself hasn't been deleted yet.

Differential Revision: https://phabricator.services.mozilla.com/D162825
2022-11-23 12:36:05 +00:00
Marco Castelluccio
18e0c7eb98 Bug 1790816 - Reformat services/ with isort. r=linter-reviewers,Standard8 DONTBUILD
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D162653
2022-11-23 12:35:28 +00:00
Marco Castelluccio
1fd7f6f287 Bug 1790816 - Reformat modules/ with isort. r=linter-reviewers,Standard8 DONTBUILD
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D162650
2022-11-23 12:34:34 +00:00
Mark Banner
3546e1a363 Bug 1801808 - Automatically replace Cu.reportError with console.error (search). r=scunnane
Manual fixing of tests.

Differential Revision: https://phabricator.services.mozilla.com/D162696
2022-11-23 12:29:20 +00:00
Noemi Erli
83e66b2826 Backed out changeset 41bebff09700 (bug 1800033) for causing failures in browser_utility_audioDecodeCrash.js CLOSED TREE 2022-11-23 14:31:14 +02:00
André Bargull
714f6386d7 Bug 1792775 - Part 14: Temporarily disable some test262 tests. r=dminor
Temporarily disable some test262 tests which no longer produce the expected
results when using CLDR 42 resp. Unicode 15. We can re-enable those tests when
we next update test262 and the following PRs are all merged upstream:
- https://github.com/tc39/test262/pull/3662
- https://github.com/tc39/test262/pull/3663
- https://github.com/tc39/test262/pull/3676

Differential Revision: https://phabricator.services.mozilla.com/D160192
2022-11-23 10:42:46 +00:00
André Bargull
14874d9589 Bug 1792775 - Part 13: Updating ICU requires a clobber. r=platform-i18n-reviewers,dminor
See bug 1315397 for why a clobber is necessary.

Differential Revision: https://phabricator.services.mozilla.com/D160191
2022-11-23 10:42:46 +00:00
André Bargull
c6d6b4c443 Bug 1792775 - Part 12: Bump minimum required ICU version to 72.1. r=platform-i18n-reviewers,dminor
Require at least ICU 72, because we're using ICU APIs which are only stable
in ICU 72.

Differential Revision: https://phabricator.services.mozilla.com/D160190
2022-11-23 10:42:45 +00:00
André Bargull
0fedffe9f5 Bug 1792775 - Part 11.1: Update expected test results in non-SpiderMonkey files. r=platform-i18n-reviewers,gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D162707
2022-11-23 10:42:45 +00:00
André Bargull
defa939545 Bug 1792775 - Part 11: Update expected test results. r=platform-i18n-reviewers,dminor
CLDR 42 replaced plain ASCII space U+0020 with U+202F when formatting dates.
This change requires to update the expected results for more tests than usual.

Differential Revision: https://phabricator.services.mozilla.com/D160189
2022-11-23 10:42:44 +00:00
André Bargull
c9999af047 Bug 1792775 - Part 10: Normalise U+202F to U+0020 when parsing dates. r=dminor
CLDR 42 replaced plain ASCII space U+0020 with U+202F when formatting dates.
For backward-compatibility reasons we want to ensure that
`Date.parse(date.toLocaleString())` works when the default locale is English,
therefore we have to normalise U+202F to U+0020.

Differential Revision: https://phabricator.services.mozilla.com/D160188
2022-11-23 10:42:44 +00:00
André Bargull
91b38b4700 Bug 1792775 - Part 9: Handle new script codes in GetCommonFallbackFonts. r=platform-i18n-reviewers,jfkthame
Use the fallback path for both new script codes.

Differential Revision: https://phabricator.services.mozilla.com/D160187
2022-11-23 10:42:44 +00:00
André Bargull
4a0ac37d47 Bug 1792775 - Part 8: Remove no longer needed ICU draft API guards. r=platform-i18n-reviewers,jfkthame
`UDAT_STANDALONE_NARROW_QUARTERS` has been promoted from draft to stable.

Differential Revision: https://phabricator.services.mozilla.com/D160186
2022-11-23 10:42:43 +00:00
André Bargull
8fb15ffe9d Bug 1792775 - Part 7: Update Gecko to Unicode 15. r=platform-i18n-reviewers,jfkthame
Update Gecko to Unicode 15 by running `genUnicodePropertyData.pl` and
`genSpecialCasingData.pl`.

Differential Revision: https://phabricator.services.mozilla.com/D160185
2022-11-23 10:42:43 +00:00
André Bargull
05fda9904c Bug 1792775 - Part 6: Update SpiderMonkey to Unicode 15. r=dminor
Update SpiderMonkey to Unicode 15 by running `./make_unicode.py --version=UNIDATA`.

Differential Revision: https://phabricator.services.mozilla.com/D160184
2022-11-23 10:42:42 +00:00
André Bargull
4c6a268857 Bug 1792775 - Part 5: Update numbering systems. r=platform-i18n-reviewers,dminor
Update numbering systems by running `./make_intl_data.py numbering`.

Differential Revision: https://phabricator.services.mozilla.com/D160183
2022-11-23 10:42:42 +00:00
André Bargull
915352cc2a Bug 1792775 - Part 4: Update measurement units. r=platform-i18n-reviewers,dminor
Update measurement units by running `./make_intl_data.py units`.

Differential Revision: https://phabricator.services.mozilla.com/D160182
2022-11-23 10:42:42 +00:00
André Bargull
645f61adee Bug 1792775 - Part 3: Update language tag mappings. r=platform-i18n-reviewers,dminor
Update language tags by running `./make_intl_data.py langtags`.

Differential Revision: https://phabricator.services.mozilla.com/D160181
2022-11-23 10:42:41 +00:00
André Bargull
902df0f4d2 Bug 1792775 - Part 2: Update in-tree ICU to 72. r=platform-i18n-reviewers,dminor
Update to ICU 72 by running `./update-icu.sh https://github.com/unicode-org/icu.git maint/maint-72`.

Differential Revision: https://phabricator.services.mozilla.com/D160180
2022-11-23 10:42:32 +00:00
André Bargull
644f1b673d Bug 1792775 - Part 1.1: Remove unused "personNames" table from ICU data file. r=platform-i18n-reviewers,gregtatum
We don't use the "personNames" data, so let's filter it out to reduce the ICU data file size.

Depends on D160179

Differential Revision: https://phabricator.services.mozilla.com/D162706
2022-11-23 10:42:31 +00:00
André Bargull
271e5e44f0 Bug 1792775 - Part 1: Update or remove ICU patches. r=platform-i18n-reviewers,dminor
Remove the patch for bug 1766220 because the local patch was just a backport
from the ICU development branch.

And update the local patches for Sorbian and WASI integration to apply cleanly
on ICU 72.

Differential Revision: https://phabricator.services.mozilla.com/D160179
2022-11-23 10:42:31 +00:00
Emilio Cobos Álvarez
098175cf10 Bug 1801956 - Move titlebar button handling out of nsBoxFrame. r=tnikkel
This fixes the snap layouts feature on Windows 11.

Instead of using a content attribute (which is somewhat expensive to
look up) use the default appearance and do this where we deal with other
appearance hacks (before building themed backgrounds).

Consolidate this inside a DealWithWindowsAppearanceHacks function along
with the glass stuff.

Differential Revision: https://phabricator.services.mozilla.com/D162757
2022-11-23 09:31:58 +00:00
Magnus Melin
2ff302c8fa Bug 1800033 - mozavcodec and mozavutil should be ifdef MOZ_FFPVX. r=gerard-majax DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D162654
2022-11-23 09:15:45 +00:00
Emilio Cobos Álvarez
5ebd58b44e Bug 1802050 - Update rust nightly toolchain and use it for searchfox android builds too. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D162798
2022-11-23 09:06:39 +00:00
Noemi Erli
5a49163b70 Backed out changeset 5e27a40027b3 (bug 1801337) for causing failures in browser_installtrigger_install.js CLOSED TREE 2022-11-23 11:49:28 +02:00
Noemi Erli
d26dc9e9e0 Backed out 13 changesets (bug 1792775) for causing bustages
Backed out changeset f2c8e2200194 (bug 1792775)
Backed out changeset 3392ce042fb6 (bug 1792775)
Backed out changeset f5461baa7c5a (bug 1792775)
Backed out changeset d810c2b2d0bd (bug 1792775)
Backed out changeset af6164024ade (bug 1792775)
Backed out changeset 8c97026ef2b5 (bug 1792775)
Backed out changeset d396bec29ac2 (bug 1792775)
Backed out changeset a9aaa2387313 (bug 1792775)
Backed out changeset a4461db138b7 (bug 1792775)
Backed out changeset a7b39a5105a9 (bug 1792775)
Backed out changeset 5e746d85926a (bug 1792775)
Backed out changeset 3ea531c10813 (bug 1792775)
Backed out changeset 78811cdadd63 (bug 1792775)
2022-11-23 11:48:28 +02:00
Noemi Erli
001626e217 Backed out 3 changesets (bug 1792775) for causing build bustages in dateTimeField.js CLOSED TREE
Backed out changeset afc4c848f6cd (bug 1792775)
Backed out changeset 3ad9903f28d8 (bug 1792775)
Backed out changeset 838947448110 (bug 1792775)
2022-11-23 11:19:20 +02:00
Nicolas Chevobbe
8048a7981b Bug 1801337 - Fix uninstall on sitepermission AddonCard created on the AOM onInstalled event. r=rpl.
There are 2 folds to this patch.

First, the `SitePermsAddonInstalling` was calling its parent constructor (`SitePermsAddonWrapper`),
without the expected permissions parameter. This would then lead to the `uninstall`
method to not do anything as there were no permissions.
This is fixed by passing the permission for which we want to install the addon.

Second, if multiple addons were installed for the same origin (e.g. "midi" and "midi-sysex")
while about:addons was open, removing the addon would only revoke the "first" permission,
as `SitePermsAddonInstalling` only holds one permission.
To fix this, we define an `SitePermsAddonInstalling#uninstall` method that checks
if we registered a `SitePermsAddonWrapper` instance for this origin, and in such
case, uninstall the addon from this instance instead of the `SitePermsAddonInstalling`,
one, as the `SitePermsAddonWrapper` instance has the whole set of permissions
granted for a given origin.

Test cases are added to ensure we don't regress this.

Differential Revision: https://phabricator.services.mozilla.com/D162431
2022-11-23 08:54:07 +00:00
André Bargull
50c332d9a4 Bug 1792775 - Part 14: Temporarily disable some test262 tests. r=dminor
Temporarily disable some test262 tests which no longer produce the expected
results when using CLDR 42 resp. Unicode 15. We can re-enable those tests when
we next update test262 and the following PRs are all merged upstream:
- https://github.com/tc39/test262/pull/3662
- https://github.com/tc39/test262/pull/3663
- https://github.com/tc39/test262/pull/3676

Differential Revision: https://phabricator.services.mozilla.com/D160192
2022-11-23 08:43:24 +00:00
André Bargull
4ff24c17e0 Bug 1792775 - Part 13: Updating ICU requires a clobber. r=platform-i18n-reviewers,dminor
See bug 1315397 for why a clobber is necessary.

Differential Revision: https://phabricator.services.mozilla.com/D160191
2022-11-23 08:43:24 +00:00
André Bargull
3276941111 Bug 1792775 - Part 12: Bump minimum required ICU version to 72.1. r=platform-i18n-reviewers,dminor
Require at least ICU 72, because we're using ICU APIs which are only stable
in ICU 72.

Differential Revision: https://phabricator.services.mozilla.com/D160190
2022-11-23 08:43:23 +00:00
André Bargull
995289f140 Bug 1792775 - Part 11.1: Update expected test results in non-SpiderMonkey files. r=platform-i18n-reviewers,gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D162707
2022-11-23 08:43:23 +00:00
André Bargull
e892218718 Bug 1792775 - Part 11: Update expected test results. r=platform-i18n-reviewers,dminor
CLDR 42 replaced plain ASCII space U+0020 with U+202F when formatting dates.
This change requires to update the expected results for more tests than usual.

Differential Revision: https://phabricator.services.mozilla.com/D160189
2022-11-23 08:43:22 +00:00
André Bargull
ff4f20357c Bug 1792775 - Part 10: Normalise U+202F to U+0020 when parsing dates. r=dminor
CLDR 42 replaced plain ASCII space U+0020 with U+202F when formatting dates.
For backward-compatibility reasons we want to ensure that
`Date.parse(date.toLocaleString())` works when the default locale is English,
therefore we have to normalise U+202F to U+0020.

Differential Revision: https://phabricator.services.mozilla.com/D160188
2022-11-23 08:43:22 +00:00
André Bargull
0b8daabfa6 Bug 1792775 - Part 9: Handle new script codes in GetCommonFallbackFonts. r=platform-i18n-reviewers,jfkthame
Use the fallback path for both new script codes.

Differential Revision: https://phabricator.services.mozilla.com/D160187
2022-11-23 08:43:21 +00:00
André Bargull
ff7bda35a3 Bug 1792775 - Part 8: Remove no longer needed ICU draft API guards. r=platform-i18n-reviewers,jfkthame
`UDAT_STANDALONE_NARROW_QUARTERS` has been promoted from draft to stable.

Differential Revision: https://phabricator.services.mozilla.com/D160186
2022-11-23 08:43:21 +00:00
André Bargull
52649f0d2a Bug 1792775 - Part 7: Update Gecko to Unicode 15. r=platform-i18n-reviewers,jfkthame
Update Gecko to Unicode 15 by running `genUnicodePropertyData.pl` and
`genSpecialCasingData.pl`.

Differential Revision: https://phabricator.services.mozilla.com/D160185
2022-11-23 08:43:20 +00:00
André Bargull
041b8a5c70 Bug 1792775 - Part 6: Update SpiderMonkey to Unicode 15. r=dminor
Update SpiderMonkey to Unicode 15 by running `./make_unicode.py --version=UNIDATA`.

Differential Revision: https://phabricator.services.mozilla.com/D160184
2022-11-23 08:43:20 +00:00
André Bargull
9d20ef1196 Bug 1792775 - Part 5: Update numbering systems. r=platform-i18n-reviewers,dminor
Update numbering systems by running `./make_intl_data.py numbering`.

Differential Revision: https://phabricator.services.mozilla.com/D160183
2022-11-23 08:43:19 +00:00
André Bargull
333af07f96 Bug 1792775 - Part 4: Update measurement units. r=platform-i18n-reviewers,dminor
Update measurement units by running `./make_intl_data.py units`.

Differential Revision: https://phabricator.services.mozilla.com/D160182
2022-11-23 08:43:19 +00:00
André Bargull
70aaaa7f06 Bug 1792775 - Part 3: Update language tag mappings. r=platform-i18n-reviewers,dminor
Update language tags by running `./make_intl_data.py langtags`.

Differential Revision: https://phabricator.services.mozilla.com/D160181
2022-11-23 08:43:19 +00:00
André Bargull
409ed6f810 Bug 1792775 - Part 2: Update in-tree ICU to 72. r=platform-i18n-reviewers,dminor
Update to ICU 72 by running `./update-icu.sh https://github.com/unicode-org/icu.git maint/maint-72`.

Differential Revision: https://phabricator.services.mozilla.com/D160180
2022-11-23 08:38:46 +00:00
André Bargull
aa4f2ac584 Bug 1792775 - Part 1.1: Remove unused "personNames" table from ICU data file. r=platform-i18n-reviewers,gregtatum
We don't use the "personNames" data, so let's filter it out to reduce the ICU data file size.

Depends on D160179

Differential Revision: https://phabricator.services.mozilla.com/D162706
2022-11-23 08:38:45 +00:00
André Bargull
8c5fcbaa08 Bug 1792775 - Part 1: Update or remove ICU patches. r=platform-i18n-reviewers,dminor
Remove the patch for bug 1766220 because the local patch was just a backport
from the ICU development branch.

And update the local patches for Sorbian and WASI integration to apply cleanly
on ICU 72.

Differential Revision: https://phabricator.services.mozilla.com/D160179
2022-11-23 08:38:45 +00:00
Tom Schuster
ac3a9413a2 Bug 1640128 - Support inline style/script hashes from default-src. r=freddyb
Differential Revision: https://phabricator.services.mozilla.com/D162573
2022-11-23 08:29:12 +00:00
André Bargull
fbe9208b9b Bug 1801897 - Part 4: Remove no longer needed comments. r=iain
`AutoAvailableFloatRegister` contains a better comment which float registers are
available in Baseline resp. Ion, so we can remove these copied comments.

Differential Revision: https://phabricator.services.mozilla.com/D162738
2022-11-23 08:19:17 +00:00
André Bargull
152019ba71 Bug 1801897 - Part 3: Only save live volatile registers across the ABI call in initTypedArraySlots. r=iain
Instead of saving all volatile registers, only save the live volatile registers
when calling `initTypedArraySlots()`. And additionally don't save more temp
registers in `initTypedArraySlots()` itself.

Depends on D162736

Differential Revision: https://phabricator.services.mozilla.com/D162737
2022-11-23 08:19:16 +00:00