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

69897 Коммитов

Автор SHA1 Сообщение Дата
Butkovits Atila a07f790e42 Backed out changeset e1921c5112d8 (bug 1696251) for causing bustages complaining about 'CommandContext'. CLOSED TREE 2021-07-16 20:35:55 +03:00
Alex Lopez 190e03aaab Bug 1696251 - Replace self with command_context where possible in existing mach commands. r=mhentges,webdriver-reviewers,perftest-reviewers,whimboo
This step removes all the dependencies of mach commands to
having a MachCommandBase as the `self` by using the `command_context`
argument instead. This also removes any remaining statefulness from those
classes that implement mach commands, ultimately making it easier to move
existing commands out of classes in a follow-up.

Differential Revision: https://phabricator.services.mozilla.com/D118058
2021-07-16 15:51:29 +00:00
Alexandru Michis 6b34ce568e Backed out changeset 2307d0bebc26 (bug 1720221) for causing python failures in configure/lint.py
CLOSED TREE
2021-07-16 17:59:23 +03:00
Shane Caraveo f8ad91a90e Bug 1720221 proxy failover to direct for system requests r=kershaw,necko-reviewers,robwu
Differential Revision: https://phabricator.services.mozilla.com/D119695
2021-07-16 14:33:29 +00:00
Iulian Moraru c328fc4c11 Backed out changeset 57d00cc40a56 (bug 1716883) for causing linting failures on browser_autoscroll_disabled_on_links.js 2021-07-16 15:58:06 +03:00
Gijs Kruitbosch b49bc42fda Bug 1716883 - fix autoscroll behaviour over various SVG elements, r=masayuki
This avoids starting autoscroll on SVG links, and on HTML links that
contain SVG, by sharing the code that browser's ClickHandlerChild uses
to detect links into BrowserUtils, and using that from AutoScrollChild
to determine if the click happened on top of a link. It also adds a
test so we avoid regressing this in future.

When running the test, I noticed an error from ClickHandlerParent
when the browser for which we receive a click has gone away, and
fixed it by adding a nullcheck and early return.

Differential Revision: https://phabricator.services.mozilla.com/D120024
2021-07-16 11:35:36 +00:00
Marian-Vasile Laza 408a169597 Backed out 2 changesets (bug 1687070) for causing failures on cubeb.drain, cubeb.tone. CLOSED TREE
Backed out changeset 65dd5e6a60fe (bug 1687070)
Backed out changeset fd7fa895cdef (bug 1687070)
2021-07-16 15:16:05 +03:00
Paul Adenot c78f612078 Bug 1687070 - Update pulse-rust to revision c3a51357f. r=cubeb-reviewers,kinetik
Differential Revision: https://phabricator.services.mozilla.com/D119954
2021-07-16 10:22:43 +00:00
Emilio Cobos Álvarez ef4af678b2 Bug 1720441 - Remove unthemed menubar color. r=stransky
Menubars on Linux are unthemed by default so they are transparent. Only
themed menubars should use -moz-menubarcolor.

Differential Revision: https://phabricator.services.mozilla.com/D119873
2021-07-16 08:29:45 +00:00
Mike Hommey ed0947b799 Bug 1719237 - Revert bug 1718131. r=stransky
It turns out calling gdk_display_close gets us a rematch of bug 1626536,
so remove the call that was added in bug 1718131, and adjust valgrind
suppressions accordingly.

Differential Revision: https://phabricator.services.mozilla.com/D120037
2021-07-16 08:21:49 +00:00
Mike Hommey e2a1db5178 Bug 1713735 - Add the bits necessary to build wasm sandbox libs with wasm2c. r=firefox-build-system-reviewers,mhentges
For the moment, it's opt-in via explicitly setting `LUCETC` to an empty
string.

Differential Revision: https://phabricator.services.mozilla.com/D119939
2021-07-16 02:38:41 +00:00
Molly Howell c8456941cf Bug 1709978 - Disable app update when running as a packaged app. r=agashlin,preferences-reviewers
This patch disables the update service as if it were disabled by policy
whenever a package identify is present. User interfaces are treated as if
the updater had not been included in the build, because that prevents any of
our usual update UI from being shown, and in particular ensures that we do not
generate messages about an administrator handling updates, as would normally
happen when disabling updates via policy.

The telemetry environment's update.enabled flag is deliberately left alone in
this patch, because the mere fact of using an app package does not really say
anything about whether the user intends to allow automatic updating or not.

Depends on D114427

Differential Revision: https://phabricator.services.mozilla.com/D114886
2021-07-15 20:58:21 +00:00
Sandor Molnar 46a8a1bb7d Backed out changeset 2582c97cd813 (bug 1717891) for causing newtab failures. CLOSED TREE 2021-07-15 21:35:38 +03:00
Gavin Lazar Suntop 8543b8cfac Bug 1717891 - Spoc position pref r=thecount
Differential Revision: https://phabricator.services.mozilla.com/D119435
2021-07-15 17:56:03 +00:00
Chris H-C 0a41e710fe Bug 1694496 - Annotate FOG JS PHF entries for their widths r=janerik
Without these annotations the literals will be assumed to be `int` so as soon
as there's a literal that cannot be represented as such it'll warn.
And CI builds with warnings as errors.

`metric_entry_t` is `uint64_t` which is `unsigned long long int` which is `ull`
`category_entry_t` is `uint32_t` which is `unsigned long int` which is `ul`

Differential Revision: https://phabricator.services.mozilla.com/D119978
2021-07-15 16:05:52 +00:00
Chris H-C 025e7eb04f Bug 1694496 - GIFFT for FOG rate metric r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D119788
2021-07-15 16:05:52 +00:00
Chris H-C a5141a820b Bug 1694496 - FOG Rate metric type C++ and JS r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D119787
2021-07-15 16:05:51 +00:00
Chris H-C 69a309e7de Bug 1694496 MLA FFI for `rate` metric type r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D119786
2021-07-15 16:05:51 +00:00
Chris H-C e9bc7d86c7 Bug 1694496 - Add 'rate' metric type to FOG (Rust) r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D119785
2021-07-15 16:05:51 +00:00
Chris H-C f5f2ec27d7 Bug 1694496 - Update 'add a new metric type' docs r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D119784
2021-07-15 16:05:50 +00:00
Tim Huang f5c81ff9f2 Bug 1719447 - Add an init function to the URLQueryStrippingListService. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D119879
2021-07-15 08:23:48 +00:00
Tim Huang b6b7f2cabf Bug 1719447 - Delay the initialization of URLQueryStringListService in the parent process. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D119733
2021-07-15 08:23:47 +00:00
Geoff Lankow a7ac37f4d9 Bug 1715434 - In Thunderbird, consider some extra message manager groups when injecting WebExt content scripts. r=zombie
Thunderbird uses these extra groups for special handling of links, and they need to be considered the same as the browsers group for WebExtensions purposes.

Differential Revision: https://phabricator.services.mozilla.com/D119874
2021-07-14 22:34:29 +00:00
Adam Gashlin 87504dce05 Bug 1709892 - Add hasWinPackageId to telemetry environment. r=mhowell,chutten
Differential Revision: https://phabricator.services.mozilla.com/D114562
2021-07-14 20:28:05 +00:00
Csoregi Natalia e3638062b6 Backed out changeset cec939837018 (bug 1709978) for causing failures on app update. CLOSED TREE 2021-07-14 22:21:53 +03:00
Molly Howell c797d0b164 Bug 1709978 - Disable app update when running as a packaged app. r=agashlin,preferences-reviewers
This patch disables the update service as if it were disabled by policy
whenever a package identify is present. User interfaces are treated as if
the updater had not been included in the build, because that prevents any of
our usual update UI from being shown, and in particular ensures that we do not
generate messages about an administrator handling updates, as would normally
happen when disabling updates via policy.

The telemetry environment's update.enabled flag is deliberately left alone in
this patch, because the mere fact of using an app package does not really say
anything about whether the user intends to allow automatic updating or not.

Differential Revision: https://phabricator.services.mozilla.com/D114886
2021-07-14 18:23:41 +00:00
Tom Ritter 1b9b6b72db Bug 1666222: Cut over a ton of NowUnfuzzed calls -> Now 4/5 r=smaug,extension-reviewers,zombie
With Fuzzyfox removed, Now() does what NowUnfuzzed() did.

Differential Revision: https://phabricator.services.mozilla.com/D119639
2021-07-14 18:18:17 +00:00
Tom Ritter 42c0ec86b4 Bug 1666222: Rip fuzzyfox out of the timestamp classes 2/5 r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D119637
2021-07-14 18:18:16 +00:00
Tom Ritter 701266cef6 Bug 1666222: Remove added Fuzzyfox Files Patch 1/5 r=smaug,necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D119636
2021-07-14 18:18:15 +00:00
Luca Greco c07f2abb1a Bug 1716452 - Fix test_ext_webrequest_auth.html intermittent failures. r=mixedpuppy
This patch fixes the intermittent failures being triggered by test_ext_webrequest_auth.html by making sure that
the "http-on-modify-request" observers added by the test tasks part of this test file are going to ignore any http
request that isn't related to the mochi.test url that is expected to trigger the authentication dialog.

With the previous version of the chrome script executed by these two test tasks, there was a chance that the observer
would be setting the mocked nsIAuthPromptProvider/nsIauthPromp2 notification callback on the wrong channel, if
the http channel was also related to the mochi.test host. After that the observer was removed and it would not be
setting the notificationCallbacks on the channel that was meant to set it on (and that would make the testcase to
trigger the actual authentication prompt that can be seen in the failure screenshots).

As part of this patch we are also reverting the additional debugging logs added in a previous patch attached to
this issue.

Differential Revision: https://phabricator.services.mozilla.com/D119880
2021-07-14 17:10:53 +00:00
Butkovits Atila 40a0e20486 Backed out 5 changesets (bug 1694496) for causing build bustages on GleanJSMetricsLookup.h. CLOSED TREE
Backed out changeset 86dc6a0fd554 (bug 1694496)
Backed out changeset 9ccad5fe13e7 (bug 1694496)
Backed out changeset 887eaee3ab5c (bug 1694496)
Backed out changeset 36421c124795 (bug 1694496)
Backed out changeset 9591dcd4369d (bug 1694496)
2021-07-14 19:46:38 +03:00
Chris H-C 895c3c8aac Bug 1694496 - GIFFT for FOG rate metric r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D119788
2021-07-14 16:13:49 +00:00
Chris H-C c569f6f483 Bug 1694496 - FOG Rate metric type C++ and JS r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D119787
2021-07-14 16:13:48 +00:00
Chris H-C 5983db45bf Bug 1694496 MLA FFI for `rate` metric type r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D119786
2021-07-14 16:13:48 +00:00
Chris H-C 30f1f5d53c Bug 1694496 - Add 'rate' metric type to FOG (Rust) r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D119785
2021-07-14 16:13:48 +00:00
Chris H-C 19fe93727c Bug 1694496 - Update 'add a new metric type' docs r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D119784
2021-07-14 16:13:47 +00:00
Tim Giles f418b5d169 Bug 1720507: Fix CC capture panel not appearing due to fieldset element. r=dimi,sfoster
When form autofill determines which extra fields were not autofilled, there is a chance that the filtered element will not have a value property (in our case, fieldset elements).
By ensuring we return an undefined instead of accessing a property that doesn't exist, we can ensure the rest of the credit card show panel flow works as expected

Differential Revision: https://phabricator.services.mozilla.com/D119660
2021-07-14 16:10:24 +00:00
Nika Layzell fdaf413fa3 Bug 1586830 - Part 1: Ensure IsInitialDocument is set earlier and consistently on WindowGlobalParent, r=smaug
This makes sure to clear and set the value more consistently when replacing
documents within a WindowGlobal, and makes sure to include the relevant flag in
the initializer.

In addition, the place where the flag is set is moved ahead to happen before
the call to `Embed` so that the information is ready before the window is
created.

Differential Revision: https://phabricator.services.mozilla.com/D119815
2021-07-14 15:51:20 +00:00
Butkovits Atila 433d514141 Backed out 4 changesets (bug 1718755) for causing Reftest failures. CLOSED TREE
Backed out changeset f2cc4fb3caa8 (bug 1718755)
Backed out changeset babc4fdcd08c (bug 1718755)
Backed out changeset 4566477a7075 (bug 1718755)
Backed out changeset 3cc5fcf9aeb6 (bug 1718755)
2021-07-14 18:36:32 +03:00
Luca Greco 0995284f7d Bug 1638097 - ServiceWorkerManager should not store registration related to temporary addons. r=asuth
This patch include a small change to ServiceWorkerManager::StoreRegistration which does early exist
and not store the registration on disk if:
- the principal is from a WebExtension
- the addon is not enabled (or was already uninstalled) by the time we got to store the registration
- the addon is temporarily installed

At the moment it should not happen, but if ServiceWorkerManager::StoreRegistration was reached too late
for some reason and the registration was meant to be stored, the service worker would still be registered
again when the addon is started again on the next browser startup and stored on disk if it was meant to.

Depends on D119529

Differential Revision: https://phabricator.services.mozilla.com/D119530
2021-07-14 14:13:00 +00:00
Luca Greco e1f61e1957 Bug 1638097 - Add a temporarilyInstalled boolean property to WebExtensionPolicy. r=mixedpuppy
This patch adds a new `temporarilyInstalled` property to the WebExtensionPolicy object, set to
the value of the same property from a Extension.jsm perspective.

The new property is being introduced mainly to be used in a patch that follows to allow the
ServiceWorkerManager internals to access that from the C++ layer (but it may be also
become a useful knowledge for other C++ components in the future).

Differential Revision: https://phabricator.services.mozilla.com/D119529
2021-07-14 14:13:00 +00:00
Harry Twyford 0a09bfc556 Bug 1710934 - Manage toolbar field selection colors manually based on theme colors. r=emilio,dao
Differential Revision: https://phabricator.services.mozilla.com/D118043
2021-07-14 13:36:54 +00:00
Emilio Cobos Álvarez 0d448eff03 Bug 1718755 - Fix the SpecialPowers pref code to deal with ui / font prefs correctly after the previous change. r=kmag
This allows us to remove the timeout (which was there for these prefs)
and makes the code a bit more explicit.

Unconditionally making all tests wait for rAF causes some timing changes
which cause some tests to time out / fail, see:

  https://treeherder.mozilla.org/jobs?repo=try&revision=3aef4c168c6ab7d762dd360f49d4f56dff686c03

So this only does it when changing the prefs that care about it. Fix
some tests that were relying on the timeout to get this green.

Differential Revision: https://phabricator.services.mozilla.com/D119040
2021-07-14 11:29:25 +00:00
Brendan Dahl ac675da728 Bug 1720361 - Update pdf.js to version 2.10.316 r=pdfjs-reviewers,calixte
Differential Revision: https://phabricator.services.mozilla.com/D119800
2021-07-13 19:50:24 +00:00
Luca Greco a5af992ba4 Bug 1716452 - Ensure WebRequest.jsm AuthRequestor _getForwardPrompt does report errors in debug builds. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D119644
2021-07-13 16:50:55 +00:00
Sam Foster b75664d2c3 Bug 1706695 - Shift + icon paths left 1px to better center it. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D119240
2021-07-13 16:08:29 +00:00
Sandor Molnar dab21ee839 Backed out 2 changesets (bug 1719734, bug 1710934) for causing bc failures in browser_ext_themes_highlight. CLOSED TREE
Backed out changeset 74a832b24286 (bug 1719734)
Backed out changeset 9f6b5145351a (bug 1710934)
2021-07-13 18:29:26 +03:00
Harry Twyford 1865ff1ebd Bug 1710934 - Manage toolbar field selection colors manually based on theme colors. r=emilio,dao
Differential Revision: https://phabricator.services.mozilla.com/D118043
2021-07-13 14:20:41 +00:00
Robert Mader dd99cc8d30 Bug 1720187 - Better device and vendor ID detection in glxtest, r=aosmond
In D98108 we added infrastructure to detect infos for DRM devices in
multi GPU setups. We didn't use it for detecting device and vendor IDs
thought, which remained flaky.

Extend the code a little bit, allowing us to reliably get the right
IDs - at least for mesa drivers. This should make our detection
as reliable as it was when using GLX.

This should stop us from showing the following warning in most cases:
`[GFX1-]: More than 1 GPU from same vendor detected via PCI, cannot deduce device`

Differential Revision: https://phabricator.services.mozilla.com/D119666
2021-07-13 13:58:07 +00:00
Dave Townsend cd8ace30bf Bug 1698142: Backing out bug 1698100 as the telemetry has expired. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D119775
2021-07-13 13:53:08 +00:00