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

842668 Коммитов

Автор SHA1 Сообщение Дата
André Bargull 0265a0f789 Bug 1492090 - Part 5: Use UTF-8 for script file names. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D151449
2023-05-23 12:11:39 +00:00
André Bargull d531653820 Bug 1492090 - Part 4: Add encoding functions to/from UTF-8 to system narrow/wide encoding. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D151448
2023-05-23 12:11:39 +00:00
André Bargull 00de525d7e Bug 1492090 - Part 3: Make shell file system functions more reusable. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D151447
2023-05-23 12:11:38 +00:00
André Bargull 6028cd6b2b Bug 1492090 - Part 2: Use UTF-8 encoding when printing to stdout and use CompileUtf8Path for xpc-shells. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D151446
2023-05-23 12:11:38 +00:00
André Bargull cc39659e1d Bug 1492090 - Part 1: Fix some comments, remove a #define, and make one fclose call more robust. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D151445
2023-05-23 12:11:38 +00:00
serge-sans-paille 0d3fa94c0d Bug 1833583 - Use taskcluster-built python for valgrind task r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D178288
2023-05-23 12:04:56 +00:00
serge-sans-paille 8694815aa9 Bug 1833605 - Use taskcluster-built python for upload-symbols task r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D178302
2023-05-23 12:03:47 +00:00
serge-sans-paille 5e53077dce Bug 1833608 - Use taskcluster-built python for updatebot task r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D178303
2023-05-23 12:01:17 +00:00
Eemeli Aro e48d0b44df Bug 1833037 - Do not depend on `this` in RecentlyClosedTabsAndWindowsMenuUtils. r=Gijs
Also remove public access to the internal Localization instance
and update the call in CustomizableWidgets to not detach the method.

Differential Revision: https://phabricator.services.mozilla.com/D178049
2023-05-23 12:01:03 +00:00
Eemeli Aro 4470f15b3c Bug 1793557 - Convert ExtensionsUI.jsm strings to Fluent. r=extension-reviewers,fluent-reviewers,flod,robwu
Differential Revision: https://phabricator.services.mozilla.com/D178236
2023-05-23 12:00:02 +00:00
Eemeli Aro 9b69167750 Bug 1793557 - Migrate add-on notification strings to Fluent. r=extension-reviewers,flod,robwu
The l10n migration shows a diff for `addon-downloading-and-verifying`,
`addon-confirm-install-message`, and `addon-confirm-install-unsigned-message`
due to the en-US source having `1` rather than `one` variants.
For `addon-confirm-install-some-unsigned-message`,
the en-US source has a single-variant plural selector for localization to new languages.

In addition to moving strings from `browser.properties` to the new `addonNotifications.ftl`,
there's some shuffling of strings to & from `browser.ftl` as well.
The intent is to collect the more rarely used strings out of files loaded during startup,
especially as many of the notification strings need to be formatted in a sync context.

For the most part, string keys are left roughly the same as they were in .properties.
With some guidance, some rationalisation might make sense as a part of this for the
rather wide selection of prefixes in this set:
- `addon-`
- `site-permission-install-`
- `webext-`
- `xpinstall-`

The `addon-install-started` and `addon-install-failed` notifications appear to need sync l10n formatting,
as using async format calls before their `PopupNotifications.show()` leads to test failures in
`toolkit/mozapps/extensions/test/xpinstall/browser_doorhanger_installs.js`.

Differential Revision: https://phabricator.services.mozilla.com/D178235
2023-05-23 12:00:01 +00:00
Eemeli Aro a755655846 Bug 1632091 - Test extension permission description data consistency. r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D178107
2023-05-23 12:00:01 +00:00
Eemeli Aro 411a529019 Bug 1793557 - Convert Extension.jsm strings to Fluent. r=mkmelin,geckoview-reviewers,robwu,flod,owlish
This changes the arguments of `ExtensionData.formatPermissionStrings()`.
The second `bundle` arg is dropped, and a `localization` option is added.
Call sites in m-c are updated, but this will also need a matching update for Thunderbird.
A few Thunderbird test cases will also need to be updated,
as they currently point to a non-existing localization file paths
"messenger/addons.ftl" and "messenger/addonPermissions.ftl".

As discussed at the addon workweek,
the Fluent l10n keys for extension permissions match the pattern:

    webext-perms-description-{name}

where `{name}` is the permission's sanitized name.
A fluent-lint exception is added for the capitalization of these generated names.
To allow for message updates and subsequent l10n identifier updates,
a `PERMISSION_L10N_ID_OVERRIDES` map is provided.

Because Fluent localization keys are not enumerable
and attempting to format a missing key is an error,
the `PERMISSIONS_WITH_MESSAGE` set must be kept in sync with message updates.

Differential Revision: https://phabricator.services.mozilla.com/D158663
2023-05-23 12:00:01 +00:00
serge-sans-paille e281133e36 Bug 1833630 - Use taskcluster-built python for static-analysis-autotest task r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D178312
2023-05-23 11:59:35 +00:00
serge-sans-paille 4f667e41d0 Bug 1831334 - Make sure every rust dependency has a default implicit rule r=glandium
When rustc generates its dependency file, it takes into account current
version of the codebase. If an update of the code then happens, with,
say an ipdl file being removed, the corresponding .h is no longer
generated and make rightfully complains about missing dependency.

Allow this kind of transition by providing a dummy rule for each
dependency generated by rustc.

Differential Revision: https://phabricator.services.mozilla.com/D178617
2023-05-23 11:58:26 +00:00
Gijs Kruitbosch a8576ab05a Bug 1834499 - fix path globbing for extensions in stylelint linter and fix debugger styles that this starts noticing, r=Standard8,devtools-reviewers
For some reason I didn't fully apply the suggestion in
https://phabricator.services.mozilla.com/D177477#inline-983366
and this is affecting some invocations of stylelint (but not others, for
reasons I don't fully understand). This commit both fixes this oversight and
fixes up some debugger styles that get flagged now that they're linted
appropriately.

Differential Revision: https://phabricator.services.mozilla.com/D178531
2023-05-23 11:41:20 +00:00
Gijs Kruitbosch fde9a22b58 Bug 291640, r=mak
Differential Revision: https://phabricator.services.mozilla.com/D178310
2023-05-23 11:29:23 +00:00
James Teh a9118fe9f2 Bug 1833301: Remove unused LocalAccessible::Help. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D178137
2023-05-23 11:11:35 +00:00
Emilio Cobos Álvarez e98d41350c Bug 1834144 - Fix an assert in FontFaceSetDocumentImpl.
This was papered over because WPT used to default to stylo_threads = 1 :'(

This hits in /mathml/presentation-markup/scripts/subsup-2.html and some
other tests when getting font metrics, but we actually are fine just
calling it off the main thread if we're looking up font metrics, so
tweak the assert.

MANUAL PUSH: Orange fixup CLOSED TREE
2023-05-23 14:02:20 +02:00
Emilio Cobos Álvarez 342cda8ac1 Bug 1834144 - Trivial fixes for android wpt runner and gtest.
MANUAL PUSH: Trivial follow-up fixes CLOSED TREE
2023-05-23 13:25:34 +02:00
Eemeli Aro 2ae8dc3662 Bug 1812539 - Drop vendored pytoml as unused. r=glandium
As far as I've understood, compare-locales was the last user of this.

Depends on D178299

Differential Revision: https://phabricator.services.mozilla.com/D178300
2023-05-23 10:58:34 +00:00
Eemeli Aro 85f64eeb4a Bug 1812539 - Update to compare-locales 9.0.1, fluent.migrate 0.12.0, and fluent.syntax 0.19.0. r=flod,glandium
Differential Revision: https://phabricator.services.mozilla.com/D178299
2023-05-23 10:58:33 +00:00
Emilio Cobos Álvarez 01f23f156e Bug 1834144 - cppunittest doesn't support setpref, so skip it.
We do the same for fission, and it doesn't matter anyways.

MANUAL PUSH: Orange fix CLOSED TREE
2023-05-23 12:57:19 +02:00
Emilio Cobos Álvarez 1937b308ec Bug 1834042 - Make nsWindow::ConstrainPosition account for decorations. r=stransky
Differential Revision: https://phabricator.services.mozilla.com/D178545
2023-05-23 10:30:05 +00:00
Otto Länd ab9410b4dc Bug 1833618: apply code formatting via Lando
# ignore-this-changeset
2023-05-23 09:57:46 +00:00
Dimi 97c7d3f637 Bug 1833618 - P2. Replace checking hidden and display:none in formautofill visibility check with element.checkVisibility API r=credential-management-reviewers,sgalich
This patch includes a preference setting that triggers the execution of element.checkVisibility
only when a form contains fewer than 200 eligible address and credit card fields.
This measure has been implemented to avoid potential performance impact that could occur due
to the visibility check running on a large number of elements.

Differential Revision: https://phabricator.services.mozilla.com/D178308
2023-05-23 09:52:47 +00:00
Dimi 89faefc33b Bug 1833618 - P1. Use browser test for formautofill heuristic tests. r=credential-management-reviewers,sgalich
Visibility check requires a window, so we should run heuristic tests
with browser test instead of xpcshell-test

Differential Revision: https://phabricator.services.mozilla.com/D178307
2023-05-23 09:52:47 +00:00
Emilio Cobos Álvarez 9142641f36 Bug 1834388 - Fix dynamic-range WPT tests for the boolean context. r=CanadaHonk
https://drafts.csswg.org/mediaqueries-5/#mq-boolean-context is pretty
clear:

> If the feature would be true for any value other than the number 0, a
> <dimension> with the value 0, the keyword none, or a value explicitly
> defined by that media feature to evaluate as false in a boolean
> context, the media feature evaluates to true.
> Otherwise, it evaluates to false.

These hit the "otherwise". The unknown behavior might make sense, but if
someone wants it the spec needs to change (for all media features
consistently).

Differential Revision: https://phabricator.services.mozilla.com/D178712
2023-05-23 09:46:57 +00:00
Emilio Cobos Álvarez 43c710b234 Bug 1834144 - Make stylo thread pool size configurable via pref rather than just env. r=smaug,perftest-reviewers,jgraham,afinder
Remove a variety of code which we don't use to change the pool size. We
can just use the pref as needed in the future.

Differential Revision: https://phabricator.services.mozilla.com/D178575
2023-05-23 09:41:14 +00:00
Andreas Pehrson fc4076d8ad Bug 1826530 - Switch the ScreenCapture thread on mac to a MessagePumpForNonMainUIThreads. r=webrtc-reviewers,ng
Differential Revision: https://phabricator.services.mozilla.com/D175102
2023-05-23 09:05:07 +00:00
Andreas Pehrson 314619d186 Bug 1826530 - Implement MessagePumpForNonMainUIThreads for mac. r=xpcom-reviewers,ipc-reviewers,mstange,nika
The MessagePump implemented here is a MessagePumpCFRunLoopBase that also handles
xpcom events.

Differential Revision: https://phabricator.services.mozilla.com/D175101
2023-05-23 09:05:07 +00:00
Andreas Pehrson 92e5f593be Bug 1826530 - From the Windows MessagePumpForNonMainUIThreads remove use of NSAutoReleasePool. r=ipc-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D175145
2023-05-23 09:05:07 +00:00
Andreas Pehrson 78cd1b249f Bug 1826530 - Break platform-dependent MessagePumps out to platform-specific files. r=ipc-reviewers,nika
This makes things a bit clearer when adding the mac implementation.

Differential Revision: https://phabricator.services.mozilla.com/D175100
2023-05-23 09:05:07 +00:00
Noemi Erli aa2f146d78 Backed out 2 changesets (bug 1834176) for causing xpc failures in test_unload.js CLOSED TREE
Backed out changeset 57876d77a652 (bug 1834176)
Backed out changeset ae2f0837b528 (bug 1834176)
2023-05-23 12:14:37 +03:00
Noemi Erli 61ed1c4c8c Backed out 3 changesets (bug 1828469) for causing assertion in RangeBoundary.h
Backed out changeset ab92a12ba6ea (bug 1828469)
Backed out changeset 217801294c41 (bug 1828469)
Backed out changeset c78c717e4ec9 (bug 1828469)
2023-05-23 12:10:12 +03:00
Ziran Sun 47646cf955 Bug 1832837 - Remove the fullscreen element ready check on fullscreen element descendant. r=edgar
https://fullscreen.spec.whatwg.org/#fullscreen-element-ready-check

Differential Revision: https://phabricator.services.mozilla.com/D177913
2023-05-23 08:51:37 +00:00
Julian Descottes 19b51fdc6c Bug 1821996 - Update chunk logic to handle new paths for webdriver tests r=jmaher,jgraham
Depends on D177932

Differential Revision: https://phabricator.services.mozilla.com/D177933
2023-05-23 08:49:21 +00:00
Julian Descottes 432bd8fd74 Bug 1821996 - Update references to webdriver tests in JSON files r=jmaher
Depends on D177295

Differential Revision: https://phabricator.services.mozilla.com/D177932
2023-05-23 08:49:20 +00:00
Julian Descottes 2bb9fb4539 Bug 1821996 - [wdspec] Move all webdriver classic tests to webdriver/tests/classic r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D177295
2023-05-23 08:49:20 +00:00
Julien Cristau bfd1117e13 Bug 1833603 - update snap repackage task to download from archive.m.o instead of s3 buckets directly. r=releng-reviewers,bhearsum DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D178662
2023-05-23 08:45:47 +00:00
Julien Cristau 6302abfbb1 Bug 1833603 - update flatpak repackage task to download from archive.m.o instead of s3 buckets directly. r=releng-reviewers,bhearsum,hneiva DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D178332
2023-05-23 08:45:47 +00:00
Julien Cristau eb33f70e61 Bug 1833603 - use google cloud storage instead of amazon s3 for release-generate-checksums task. r=releng-reviewers,bhearsum DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D178661
2023-05-23 08:45:47 +00:00
Noemi Erli ff2f8bc80a Backed out 3 changesets (bug 1833618) for causing failures in test_autofillFormFields.js CLOSED TREE
Backed out changeset e8791a874dba (bug 1833618)
Backed out changeset c6c717d87dfc (bug 1833618)
Backed out changeset 3f6fd89c9a6e (bug 1833618)
2023-05-23 11:28:11 +03:00
Hubert Boma Manilla 408bf82521 Bug 1824705 - [devtools] Add test the sourcemaps ignorelist r=devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D174356
2023-05-23 08:16:55 +00:00
Hubert Boma Manilla dd90a11228 Bug 1824705 - [devtools] Add support for sourcemaps ignore list r=devtools-reviewers,nchevobbe
Also there is a patch to add support for ignoreList to the sourcemap library
https://github.com/mozilla/source-map/pull/481

Differential Revision: https://phabricator.services.mozilla.com/D174357
2023-05-23 08:16:55 +00:00
Mark Banner e3e9a991b8 Bug 1834176 - Convert NetUtil.jsm to be an ES system module. r=arai,webdriver-reviewers,perftest-reviewers,valentin,extension-reviewers,devtools-reviewers,sync-reviewers,cookie-reviewers,robwu,afinder,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D178589
2023-05-23 08:13:08 +00:00
Mark Banner 860d260a83 Bug 1834176 - Avoid using NetUtil as a test file in js/xpconnect/tests. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D178588
2023-05-23 08:13:07 +00:00
Otto Länd 3c8e3340f6 Bug 1833618: apply code formatting via Lando
# ignore-this-changeset
2023-05-23 07:50:28 +00:00
Dimi 7522041115 Bug 1833618 - P2. Replace checking hidden and display:none in formautofill visibility check with element.checkVisibility API r=credential-management-reviewers,sgalich
This patch includes a preference setting that triggers the execution of element.checkVisibility
only when a form contains fewer than 200 eligible address and credit card fields.
This measure has been implemented to avoid potential performance impact that could occur due
to the visibility check running on a large number of elements.

Differential Revision: https://phabricator.services.mozilla.com/D178308
2023-05-23 07:47:30 +00:00
Dimi 99853a352f Bug 1833618 - P1. Use browser test for formautofill heuristic tests. r=credential-management-reviewers,sgalich
Visibility check requires a window, so we should run heuristic tests
with browser test instead of xpcshell-test

Differential Revision: https://phabricator.services.mozilla.com/D178307
2023-05-23 07:47:29 +00:00