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

842701 Коммитов

Автор SHA1 Сообщение Дата
Karandeep e5d005787c Bug 1829614 - Convert dom/console to ES modules. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D178060
2023-05-23 16:19:06 +00:00
Iulian Moraru 729b189a97 Backed out changeset f020820671c4 (bug 1833403) for causing reftest failures on resizer-bottomend.xhtml. CLOSED TREE 2023-05-24 01:48:48 +03:00
Iulian Moraru 0c63be14bc Backed out 3 changesets (bug 1795816, bug 1833946) for causing multiple failures on test_xrayToJS.xhtml.
Backed out changeset 25ce4c12dfca (bug 1795816)
Backed out changeset a05698163bc8 (bug 1795816)
Backed out changeset 70e3ee0a0312 (bug 1833946)
2023-05-24 01:48:01 +03:00
Artur Iunusov 6072b65316 Bug 1834528 - Enable strict MIME type checks for worker-imported scripts, r=smaug
- enabled for early beta

Differential Revision: https://phabricator.services.mozilla.com/D178785
2023-05-23 15:55:01 +00:00
Emilio Cobos Álvarez 6a17b5fdf8 Bug 1833403 - Simplify some appearance code. r=stransky,mac-reviewers,handyman,devtools-reviewers,mstange
I was looking into simplifying our scrollbar styles:

 * StyleAppearance::Resizer is not used in content, and some of the
   values were only for <xul:window> which are not supported anymore.

 * Statusbarpanel and Resizerpanel aren't used. Statusbar is only used
   once on macOS so we only need to keep it there.

Differential Revision: https://phabricator.services.mozilla.com/D178374
2023-05-23 15:43:45 +00:00
Dão Gottwald bc8fc1d998 Bug 1834051 - Decommission --in-content-deemphasized-text and use --text-color-deemphasized instead. r=Itiel
Differential Revision: https://phabricator.services.mozilla.com/D178520
2023-05-23 15:32:33 +00:00
jneuberger 4ac7b88f4d Bug 1828679 - Set the preference signon.signupDetection.enabled to true to enable SignUpFormRuleset for all channels r=credential-management-reviewers,dimi
Differential Revision: https://phabricator.services.mozilla.com/D178659
2023-05-23 15:29:33 +00:00
Matthew Gaudet f55b9c08a6 Bug 1795816 - Ship Array.fromAsync r=arai
Differential Revision: https://phabricator.services.mozilla.com/D178482
2023-05-23 15:23:04 +00:00
Matthew Gaudet fd6525d1f6 Bug 1795816 - Remove Nightly Build guarding around Array.fromAsync in anticipation of train riding r=arai
Differential Revision: https://phabricator.services.mozilla.com/D178481
2023-05-23 15:23:04 +00:00
Matthew Gaudet ead875554e Bug 1833946 - Normative Change: Remove double construction in Array.fromAsync r=arai
Differential Revision: https://phabricator.services.mozilla.com/D178474
2023-05-23 15:23:04 +00:00
Emilio Cobos Álvarez b8ac0dfcbe Bug 1833477 - Make type attribute changes follow the spec more closely. r=smaug,masayuki
The issue here is that the SetValueInternal call made us go from empty
value to non-empty due to color's specialness of returning black always,
but since the value dirty flag wasn't set, the non-empty value actually
didn't make a difference and just confused the code.

Make the code follow the spec more closely, which fixes this (in
particular the SetDefaultValueAsValue call).

Also, remove some useless code in SetValueInternal() since callers end
up in OnValueChanged() effectively everywhere except when mDoneCreating
is false (in which case we can just wait until DoneCreatingElement calls
us again), and if the do not end up there then that's a bug to fix.

Differential Revision: https://phabricator.services.mozilla.com/D178706
2023-05-23 15:18:03 +00:00
Alexander Surkov 24d941f4a5 Bug 1821732 - popover-light-dismiss tests shouldn't reuse existing actions, r=emilio
Actions don't drop their state on send, subsequent send() call retriggers the whole sequence
which may lead to unexpected errors, see https://github.com/web-platform-tests/wpt/issues/40062

Differential Revision: https://phabricator.services.mozilla.com/D178535
2023-05-23 15:09:14 +00:00
hsingh 35827bd1f0 Bug 1824674: Fixing the wrong assertion in DeleteAllCacheEntries.r=dom-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D178555
2023-05-23 15:08:11 +00:00
James Teow 295aa5b6b5 Bug 1833245 - Enable cached page loads to be monitored in SearchSERPTelemetry - r=scunnane
Differential Revision: https://phabricator.services.mozilla.com/D178502
2023-05-23 15:06:16 +00:00
Ben Visness 9ca6696b92 Bug 1830155: Optimize the new wasm GC cast instructions. r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D177271
2023-05-23 15:01:33 +00:00
Mozilla Releng Treescript 6517ccc8cb no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
de -> fd2d4f1b1df7b919481a3595a29044e3682ac516
nn-NO -> 1869dc4bcdc0856d963230ac280c49a3945b9b99
sat -> 49d91d05b8bc590ca92c75e0be91e6625d957c08
sc -> 912a778c22f44a53f343f7715a6c9bf4c6506212
2023-05-23 19:00:08 +00:00
Iulian Moraru a4fd6daad3 Backed out changeset 26904179b913 (bug 1832022) for causing multiple crashes related to nsCOMPtr. CLOSED TREE 2023-05-23 21:53:07 +03:00
Noemi Erli 65bf71c0c0 Backed out changeset db1ae5bf8516 (bug 1831259) for causing failures in browser_UsageTelemetry_interaction.js CLOSED TREE
browser/components/preferences/preferences.js HG: changed browser/components/preferences/tests/browser_experimental_features_filter.js
2023-05-23 19:10:18 +03:00
Noemi Erli aeeb3968a2 Backed out 3 changesets (bug 1821996) for causing python failures CLOSED TREE
Backed out changeset e117237fcb62 (bug 1821996)
Backed out changeset 63a5e66bd69f (bug 1821996)
Backed out changeset 02d9c5625cf4 (bug 1821996)
2023-05-23 18:00:32 +03:00
Dale Harvey 77a2cb0f22 Bug 1832518 - Show overflow fade when rich suggestions are cropped. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D178600
2023-05-23 14:42:59 +00:00
Jonathan Kew ed0a7da8da Bug 1834316 - Don't mask Arabic comma/semicolon/question-mark from the font's cmap when 'arab' script support is absent, because they may be used with other scripts such as N'Ko. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D178693
2023-05-23 14:33:22 +00:00
Mirko Brodesser f27b7d97f9 Bug 1831097: declare `HTMLElement`'s `togglePopover` argument `force` `optional`. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D177377
2023-05-23 14:26:57 +00:00
Mirko Brodesser 3895bbb54c Bug 1832033: change `CheckPopoverValidity` to match spec more closely. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D177486
2023-05-23 14:26:57 +00:00
Frederik Braun d9b779a511 Bug 1830292 - base64url parser in SRI r=tschuster,ckerschb
Tests have shown that web pages use base64url encoded integrity
metadata when using SRI, as other browsers are already supporting it.
To align cross-browser behavior, we'll support base64url and base64
in parallel and update the tests from wpt at the same time.

Differential Revision: https://phabricator.services.mozilla.com/D178147
2023-05-23 14:26:47 +00:00
Gijs Kruitbosch 3c8d3721dd Bug 1831259 - prevent initialization re-entrancy for preference panes, r=mconley
This should fix the issue experienced by the reporter. It also pushes the
re-entrancy guard into the the 'init' method we define on gCategoryInits
objects, and removes the asynchronicity which was only there for fluent's sake.

Instead of blocking the insertion on fluent, which meant that for the in-page
find functionality we do N initializations and fluent passes, we make each of
the 2 consumers responsible for checking translation has completed. This means
find in page now just has 1 fluent pass, instead of N passes for N categories.
This should speed up the find in page initialization, and means initialization
of a category is now sync instead of async.

Differential Revision: https://phabricator.services.mozilla.com/D178232
2023-05-23 13:16:18 +00:00
Noemi Erli 40c92c02c2 Backed out changeset a18b8f64f7b8 (bug 1831334) for causing build bustages in rust.mk CLOSED TREE 2023-05-23 16:40:35 +03:00
Alexandre Poirot aefb1b1f14 Bug 1810582 - [devtools] Implements nsIConsoleService.callFunctionAndLogException. r=peterv
This new API helps execute a function (2nd argument) and ensure that any thrown exception
will be associated against a given global (1st argument).

This is especially handy when any privileged code executes some content code.
Without such helper, the exception is thrown into the privileged global and loose
its original context and can no longer be associated with the content window it originates from.

It can also help associate pure-privileged exception to some particular content window.

Differential Revision: https://phabricator.services.mozilla.com/D167529
2023-05-23 12:39:39 +00:00
Jon Coppeard 6aeeb8363e Bug 1820543 - Add test r=sfink
Depends on D171723

Differential Revision: https://phabricator.services.mozilla.com/D171725
2023-05-23 12:18:15 +00:00
serge-sans-paille 41ac11b6d4 Bug 1832022 - Reset to default -import-instr-limit threshold r=glandium
The compiler may be imperfect but it evolves, and hard-coded threshold
don't. Plus according to prefherder, the impact on size is within
reasonable bounds.

Differential Revision: https://phabricator.services.mozilla.com/D178152
2023-05-23 12:15:48 +00:00
Tooru Fujisawa 0b0a150a4c Bug 1492090 - Part 9: Use UTF-8 in module ThrowResolutionError. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D151453
2023-05-23 12:11:40 +00:00
Tooru Fujisawa aae9dd4fbe Bug 1492090 - Part 8: Use UTF-8 in ReadGeckoInterpProfilingStack. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D151452
2023-05-23 12:11:40 +00:00
André Bargull 4d06aac55b Bug 1492090 - Part 7: Add tests for UTF-8 encoding in script file names. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D151451
2023-05-23 12:11:39 +00:00
André Bargull abb2c5cc4f Bug 1492090 - Part 6: Use UTF-8 encoding for additional shell and testing functions. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D151450
2023-05-23 12:11:39 +00:00
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