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

796654 Коммитов

Автор SHA1 Сообщение Дата
Masayuki Nakano cc2372ada1 Bug 1680611 - part 9: Mark `nsFocusManager::Focus()` and its callers in `nsFocusManager` as `MOZ_CAN_RUN_SCRIPT` r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D147068
2022-05-26 04:37:21 +00:00
Masayuki Nakano 728f08af35 Bug 1680611 - part 8: Mark `nsFocusManager::Blur` and its callers in `nsFocusManager` as `MOZ_CAN_RUN_SCRIPT` r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D147067
2022-05-26 04:37:20 +00:00
Masayuki Nakano 30257c37b6 Bug 1680611 - part 7: Mark `nsFocusManager::BlurImpl()` and `nsFocusManager::BlurFromOtherProcess()` as `MOZ_CAN_RUN_SCRIPT` r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D147066
2022-05-26 04:37:20 +00:00
Masayuki Nakano cdfbc99cdf Bug 1680611 - part 6: Mark `nsFocusManager::MoveCaretToFocus()` and its callers in `nsFocusManager` as `MOZ_CAN_RUN_SCRIPT` r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D147065
2022-05-26 04:37:19 +00:00
Masayuki Nakano 373eef7079 Bug 1680611 - part 5: Get rid of `nsFocusManager::FocusPlugin()` because of unused r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D147064
2022-05-26 04:37:19 +00:00
Masayuki Nakano bf30ad9427 Bug 1680611 - part 4: Mark `nsFocusManager::WindowHidden()` as `MOZ_CAN_RUN_SCRIPT` r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D147063
2022-05-26 04:37:19 +00:00
Masayuki Nakano 1ccba43651 Bug 1680611 - part 3: Mark `nsFocusManager::WindowLowered()` and its callers in `nsFocusManager` as `MOZ_CAN_RUN_SCRIPT` r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D147062
2022-05-26 04:37:18 +00:00
Masayuki Nakano c8fc1057ba Bug 1680611 - part 2: Mark `nsFocusManager::SetFocusedWindowWithCallerType` and its callers in `nsFocusManager` as `MOZ_CAN_RUN_SCRIPT` r=smaug,media-playback-reviewers,chunmin
Differential Revision: https://phabricator.services.mozilla.com/D147061
2022-05-26 04:37:18 +00:00
Masayuki Nakano 498eae6328 Bug 1680611 - part 1: Mark all `nsFocusManager` methods whose names explain that they may dispatch events as `MOZ_CAN_RUN_SCRIPT` r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D147060
2022-05-26 04:37:17 +00:00
Cristian Tuns 21e50ef423 Backed out changeset b1345ce6dcd3 (bug 1685375) for causing xpcshell failures on test_crash_backgroundtask_moz_crash.js,nsX11ErrorHandler.cpp CLOSED TREE 2022-05-26 00:25:00 -04:00
Norisz Fay e9d995e793 Merge autoland to mozilla-central a=merge 2022-05-26 12:22:24 +03:00
Mozilla Releng Treescript 1a796fb96b no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD
be -> 2276685799fc17196d0a79019e6c1e3bea3d122e
da -> 14dc6a9616e6dbc5ba0ea8b49894125011e41d0c
en-CA -> 17c8bcafcbbcc13a297d69608d5ab681b48d4be5
en-GB -> 92289c24f1f63320b075a1e759ca871388076c28
es-AR -> e843a7c6eba61c7bdbee9887ff3bd48c7a9cb08b
es-CL -> 08eb0dd5fc9f9cec9826c4cac02b9bfd2d83c6bf
ko -> 938cd55ca866be95176186e1d852dc5bf6779c1d
oc -> cb7af2807118217481bd87837d23b972378cb0c7
2022-05-26 06:57:40 +00:00
Cristian Tuns ce08aec555 Backed out changeset b1345ce6dcd3 (bug 1685375) for causing xpcshell failures on test_crash_backgroundtask_moz_crash.js,nsX11ErrorHandler.cpp CLOSED TREE 2022-05-26 00:25:00 -04:00
Cristian Tuns 3fd8b7b5b0 Backed out changeset b46b70eeaa6f (bug 1751450) for causing fetch bustages CLOSED TREE 2022-05-25 23:35:39 -04:00
Glenn Watson 5b096fbcd2 Bug 1769953 - Only force tile cache slice for root scroll bar. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D147370
2022-05-26 03:30:50 +00:00
Ben Hearsum abf7f5d3c5 Bug 1751450: pull NSIS Windows source from our own rehosted version, with signed DLLs. r=nalexander,aki
This is a short term measure. In the medium or long term we can do this signing in a separate Task after pulling the original source.

Differential Revision: https://phabricator.services.mozilla.com/D147310
2022-05-26 03:24:22 +00:00
Noemi Erli 71bfa628d4 Backed out changeset ce5bb779d929 (bug 1769953) for causing webrender failures in overflow-top-left.html CLOSED TREE 2022-05-26 06:14:14 +03:00
Timothy Nikkel 81467fece0 Bug 1762874. Add test. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D143361
2022-05-26 02:29:11 +00:00
Timothy Nikkel 5cb82a0f2a Bug 1762874. Make sure to draw swipe to nav ui element opaque if velocity pushes us over success threshold. r=hiro
Both the velocity and displacement contribute to the success but we only pass the displacement in the swipe events which browser-gestureSupport.js uses to draw the opacity of the ui element. Usually that is what we want, but if the velocity is large we might draw the ui element only very faintly but still navigate the page. We should make sure to draw the ui element so it's well visible.

Differential Revision: https://phabricator.services.mozilla.com/D142819
2022-05-26 02:29:10 +00:00
Lee Salzman 2d5de179cb Bug 1685375 - Remove ScopedXErrorHandler. r=jgilbert
Avoid relying on X11 errors to detect failures where alternative means would
suffice (i.e. checking results for failure or MakeCurrent failures). All other
users of ScopedXErrorHandler outside of GLContextProviderGLX use it only to
ignore errors rather than actually check the error result. Given those concerns,
we also change the default X11 error handler to merely ignore errors rather than
abort, such that X11 calls in Gecko no longer require an error trap by default.
This also avoids contention with other libraries that may temporarily override
the error handler such as GDK or Cairo since Gecko will never touch the handler
after startup.

Differential Revision: https://phabricator.services.mozilla.com/D147247
2022-05-26 01:58:49 +00:00
Hubert Boma Manilla 4e71c54c7c Bug 1770204 - [devtools] Simplify breakpoint list selectors r=nchevobbe
The selector is already sorting the breakpoints,
so there is no need to re-sort them in the component.

Also Array.sort(stringA-stringB) was misbehaving.

Then I'm using getSourcesMap in order to avoid calling getBreakpointList many times.
Otherwise getSourcesForBreakpoints has to receive the state object
in order to retrieve the source objects.

Differential Revision: https://phabricator.services.mozilla.com/D146426
2022-05-26 01:51:41 +00:00
Cristian Tuns 3796612e48 Backed out changeset 10a2fbadf5d3 (bug 1696504) for causing reftest failures on hiragino-kaku-1.html CLOSED TREE 2022-05-25 22:19:24 -04:00
Alexandre Lissy 43ff7d79dd Bug 1770558 - Ensure proper handling of returned promise r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D147158
2022-05-26 01:03:50 +00:00
Kagami Sascha Rosylight 50ec2e051f Bug 1757635 - Part 2: Use NS_IMPL_CYCLE_COLLECTION_WITH_JS_MEMBERS where applicable r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D147235
2022-05-25 23:41:26 +00:00
Kagami Sascha Rosylight 846680d799 Bug 1757635 - Part 1: Add `using ::ImplCycleCollectionUnlink` inside NS_IMPL_CYCLE_COLLECTION_WITH_JS_MEMBERS r=mccr8
Otherwise the global ImplCycleCollectionUnlink for JS members are shadowed by mozilla::dom::ImplCycleCollectionUnlink and can't be used.

Bug 1756794 is to move all the impls to the single namespace to prevent this, but that requires verbose changes, and currently the only affected uses are from these macros.

Differential Revision: https://phabricator.services.mozilla.com/D147234
2022-05-25 23:41:25 +00:00
Glenn Watson 003c174717 Bug 1769953 - Only force tile cache slice for root scroll bar. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D147370
2022-05-25 22:06:40 +00:00
Hiroyuki Ikezoe fc8918d27f Bug 1766745 - Enable swipe-to-nav on Windows by default on early beta. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D144898
2022-05-25 21:56:45 +00:00
Mark Hammond 97d81f421f Bug 1771079 - fix TPS when sync ping validation is disabled. r=LougeniaBailey
Differential Revision: https://phabricator.services.mozilla.com/D147264
2022-05-25 21:55:00 +00:00
Matthew Gaudet 00fec71b01 Bug 1770170 - Bug 1770171 - Disable large-pipeto.js under TSAN (causes claim_expired errors on taskcluster) r=saschanaz
Differential Revision: https://phabricator.services.mozilla.com/D146814
2022-05-25 21:37:35 +00:00
Amy Churchwell 2fc7de1212 Bug 1768744 - Add aria-current to active theme button. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D146025
2022-05-25 21:30:55 +00:00
Punam Dahiya d2786c2cc9 Bug 1770872 - Intermittent fix for browser_privatebrowsing_focus_promo.js test r=mviar
Differential Revision: https://phabricator.services.mozilla.com/D147357
2022-05-25 21:20:30 +00:00
Alexandre Lissy ed32e3d443 Bug 1770241 - Move SetThisProcessName() to avoid risky GetCurrentProcess() r=haik
Differential Revision: https://phabricator.services.mozilla.com/D146964
2022-05-25 20:59:32 +00:00
Emilio Cobos Álvarez 98d42ab61a Bug 1770372 - Notify with STATE_IS_DOCUMENT from RemotePrintJobParent. r=nika
This ensures we reject pending promises in PrintListenerAdapter.

Differential Revision: https://phabricator.services.mozilla.com/D147311
2022-05-25 20:56:01 +00:00
Emilio Cobos Álvarez 6edd8dc1c9 Bug 1730284 - Factor out some IntersectionObserver code. r=smaug,sefeng
Differential Revision: https://phabricator.services.mozilla.com/D146573
2022-05-25 20:45:55 +00:00
Ryan Hunt e0b7dc04e6 Bug 1770634 - wasm: Report TypeError when constructing global with v128. r=jseward
The JS-API for global constructor [1] has a step for throwing
a TypeError when type is v128. We previously would just throw
a TypeError if a default value was provided and type was v128.

Two unused error messages are removed, and a comment for clarity
on the error handling of ToValType is added.

[1] https://webassembly.github.io/spec/js-api/index.html#globals

Differential Revision: https://phabricator.services.mozilla.com/D147179
2022-05-25 20:41:07 +00:00
Cristian Tuns a089bcae5b Backed out changeset ad9f67e4e822 (bug 1769774) for causing build bustages after backout of Bug 1730284 CLOSED TREE 2022-05-25 16:10:08 -04:00
Jim Blandy 5a58cd1265 Bug 1770062: Update instructions for generating wgpu_ffi_generated.h with cbindgen. r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D146750
2022-05-25 19:19:03 +00:00
Bobby Holley fbc59bddce Bug 1770860 - Initialize cargo vet for m-c. r=Gankra
Differential Revision: https://phabricator.services.mozilla.com/D147118
2022-05-25 19:01:45 +00:00
Brad Werth fc7d14a59a Bug 1752919: Make tiled images respect opacity applied as color. r=gw
This eliminates the need to determine when WebRender will apply opacity without a
filter, since it will now always apply opacity correctly for both tiled and untiled
images.

Differential Revision: https://phabricator.services.mozilla.com/D147102
2022-05-25 18:58:21 +00:00
Noemi Erli 97087de3d8 Backed out 2 changesets (bug 1730284) for causing devtools,web-platform and mochitest failures CLOSED TREE
Backed out changeset 98834b863104 (bug 1730284)
Backed out changeset 1ec157459e8c (bug 1730284)
2022-05-25 22:51:20 +03:00
Ryan VanderMeulen 7e196f5e1b Bug 1771189 - Make update-verify-config-creator.py use distutils again instead of packaging. r=backout DONTBUILD CLOSED TREE 2022-05-25 15:45:43 -04:00
Mozilla Releng Treescript e93a7cc8fd no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD
cy -> 18a3618fb08f9f3d0e6f5e3b4204193f154d6c98
es-AR -> d5f750233cd6e462d5170d396d5cd51f0ee64e81
eu -> 89eb1d19cbc2092da7c92305075e65b32cd4512d
fi -> a4cac829965a4562b98df47ac5a5f3fe31a35fbf
fr -> 906fdc5ffdd0eba897ab0796422a61e2d325640a
fy-NL -> 5b22201eded974b72789b1974623023c84286948
it -> ed918e4ee4ab3b3f6f421c816eb4fcf32f76330f
nl -> 52db668d98e87cff8c22b4448a50230aa05029b1
rm -> 12e718da5d7b059ba9dc4a18f56990a5adfc8658
ru -> 233a1c00ee183d01ca8592ddd3df434159ba1b8b
2022-05-25 18:56:29 +00:00
Luca Greco 8f0e4349d0 Bug 1767550 - Make sure defaultSearch overrides levelOfControl is consistent with the default engine currently set before overriding the current default. r=mixedpuppy
For add-ons installed before the changes introduced by Bug 1757760 ExtensionSettingStorage.getLevelOfControl resolves to "controlled_by_this_extension"
even if the user did not opt-in when prompted (either by never answer the prompt, or by setting No).

The changes landed by Bug 1757760 did make sure that for a newly installed extensions ExtensionSettingsStorage.getLevelOfControl resolves to "controllable_by_this_extension"
until the user actually explicitly opt-in to the default search engine provided by the installed extension, by making sure to initially set as disabled
the defaultSearch setting for a newly installed extension (which will then be enabled if the user does explicitly opt-in).

Unfortunately, that change doesn't have any effect if the extension has been installed in a Firefox version that did not yet include Bug 1757760 changes,
in that case the setting listed in the pre-existing extension-settings.json file in the Firefox profile will still have the setting marked
as enabled even if the user did never opt-in.

This patch includes a new test task that is injecting into extension-settings.json the data needed to recreate the inconsistent state
(level of control set to "controlled_by_this_extension" while the related search engine isn't actually set as default).

In addition to the new test case, this patch is applying the following changes to `chrome_settings_overrides`:

- in the `setDefault` method: if ExtensionSettingsStorage.getLevelOfControl resolves to "controlled_by_this_extension"
  but the default search engine currently set is not the one associated to the extension, then explicitly disable the
  setting and recompute the level of control (which will resolve to "controllable_by_this_extension" as a side effect
  of explicitly disable the setting)

- in the `ensureSetting` method: remove the check on `item?.enabled`, because the result of ExtensionSettingsStorage.getSetting
  does actually never have an `enabled` property set, instead it is part of the content of the extension-settings.json file
  and it is used internally by ExtensionSettingsStorage without being returning in the format of the object returned by
  calling ExtensionSettingsStorage.getSetting
  (see https://searchfox.org/mozilla-central/rev/97c902e8f92b15dc63eb584bfc594ecb041242a4/toolkit/components/extensions/ExtensionSettingsStore.jsm#164-177)

Differential Revision: https://phabricator.services.mozilla.com/D146294
2022-05-25 18:46:12 +00:00
Andrew Creskey 55c5c3944d Bug 1635092 - Save one main thread loop to nsHttpChannel::AsyncOpen of IPC'ed channels r=necko-reviewers,dragana,barret
Adds a new serial event target that executes the runnable immediately if already on the main thread. This allows then ThenValue to execute immediately instead of being dispatched to the back of the main thread event target, when possible.

Differential Revision: https://phabricator.services.mozilla.com/D146481
2022-05-25 18:44:12 +00:00
Alexandre Poirot 0ef5894a15 Bug 1770961 - [devtools] Fix breakableLines selectors to be correctly memoized. r=bomsy
breakableLines wasn't correctly memoized for sources other than the original ones.
This patch at least fix this for regular JS files sources, but the issue still
happens for HTML sources having more than one source actor.

Differential Revision: https://phabricator.services.mozilla.com/D147195
2022-05-25 18:34:18 +00:00
Tim Giles 1f3536a4ce Bug 1771004 - Ignore Storybook generated files. r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D147217
2022-05-25 18:32:43 +00:00
Mike Hommey c54b3311fb Bug 1696504 - Bump macOS builds to SDK 11.0. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D131588
2022-05-25 18:28:19 +00:00
Cristian Tuns 9773ee73d1 Backed out changeset 6ad49f7d560a (bug 1756995) for causing mochitest failures on browser_firefoxview_tab.js CLOSED TREE 2022-05-25 14:27:30 -04:00
Sarah Clements d9d9db7792 Bug 1767473 - Add additional functionality to closed tabs in Firefox View r=Gijs,sfoster
* add event listener and update list when a tab is closed
* add additional styling, favicon element and keyboard navigation support
* add tests

Differential Revision: https://phabricator.services.mozilla.com/D145906
2022-05-25 14:26:43 -04:00
Dimi 5bcb548c20 Bug 1771152 - Use documentElement.closest r=sgalich
mutation.target is HTMLDocument, which doesn't have closest function.
This patch uses mutation.target.documentElement instead.

Differential Revision: https://phabricator.services.mozilla.com/D147294
2022-05-25 18:13:51 +00:00