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

73789 Коммитов

Автор SHA1 Сообщение Дата
Butkovits Atila 1013e73681 Backed out changeset b831ee293939 (bug 1766047) for causing linting failures. CLOSED TREE 2022-05-18 02:04:13 +03:00
Rob Wu 088fac1bec Bug 1766047 - Reject updates that have a mismatching version r=rpl,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D144498
2022-05-17 21:08:21 +00:00
Jeff Muizelaar 763746d9d3 Bug 1769839 - Record the GMP download failure reason in telemetry. r=chutten
We're seeing a number of download failures in the field. It would be
nice to understand why they're happening.

Differential Revision: https://phabricator.services.mozilla.com/D146623
2022-05-17 20:56:43 +00:00
Andrew McCreight fa8bfd1245 Bug 1514936, part 2 - Drop the outer arguments from static components. r=xpcom-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D146457
2022-05-17 20:24:19 +00:00
Andrew McCreight c8c5c819df Bug 1514936, part 1 - Remove the outer argument to nsIFactory::createInstance. r=xpcom-reviewers,preferences-reviewers,nika,Gijs
This patch won't actually build, because a few bits of code are used
for both nsIFactory::createInstance and static components, and static
components are not fixed until the next patch.

The first place is nsLoadGroupConstructor, which uses an nsIFactory
macro to create a static component constructor. (This could be worked
around by expanding the macro to the state before this patch.)

The other issue is that nsAppShellConstructor is used in an nsIFactory
on OSX, but as a static component on all other platforms. This could
be worked around by wrapping nsAppShellConstructor in an adaptor that
passes in the extra null argument to nsAppShellConstructor.

Differential Revision: https://phabricator.services.mozilla.com/D146456
2022-05-17 20:24:19 +00:00
Sebastian Hengst c552340e0c Backed out 5 changesets (bug 1769569) for causing devtools' browser/browser_page_redirection.js to fail. CLOSED TREE
Backed out changeset 66a42eb3a366 (bug 1769569)
Backed out changeset d3cc9629cd9a (bug 1769569)
Backed out changeset edcd3dade079 (bug 1769569)
Backed out changeset 29d8dd058b7a (bug 1769569)
Backed out changeset 1aed34fdf2d3 (bug 1769569)
2022-05-17 19:49:17 +02:00
Mark Banner 5865f044db Bug 1769569 - Fix remaining ESLint no-undef and no-unused-vars issues in sjs files. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D146452
2022-05-17 16:50:33 +00:00
Mark Banner 4acbb4ff59 Bug 1769569 - Automatically replace Components.* with C* in sjs files. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D146451
2022-05-17 16:50:33 +00:00
Emilio Cobos Álvarez 4843d67a94 Bug 1769775 - Add a MozPromise version of CanonicalBrowsingContext::Print. r=jwatt
And use it to implement the JS version of the method. This should avoid
the various complications that bug 1659819 hit.

Differential Revision: https://phabricator.services.mozilla.com/D146590
2022-05-17 16:02:35 +00:00
Rob Wu 9b07c5e1ba Bug 1766087 - Clean up test_blocklistchange.js r=Gijs
blocklistchange/addon_update*.json contained incorrect values in
"version". There is a pattern in the way that these tests are
constructed, so test_blocklistchange.json was updated to generate the
update manifests, along with extra comments that explain the relation
between the various test files.

With this change, blocklistchange/ has become fully obsolete and has
been removed from the test.

As noted in the bug, "softblock5" is not used anywhere, so its
references have been removed too.

Differential Revision: https://phabricator.services.mozilla.com/D144497
2022-05-17 15:42:25 +00:00
Rob Wu 01f0a28b0e Bug 1766087 - Fix test_blocklistchange.js to use correct versions r=Gijs
The "succesful" update part of the test referenced a XPI where the
version differed from the update manifest. This is not supported,
the update manifest's version should match the version from the XPI.

As noted in the bug, addon_update1.json and addon_update2.json also
specify incorrect versions, but as the XPIs are not actually fetched
that doesn't matter in the test.
(I will address that in the next patch.)

Differential Revision: https://phabricator.services.mozilla.com/D144496
2022-05-17 15:42:24 +00:00
Rob Wu 53aa9f4ce4 Bug 1750565 - Test that addon types cannot be changed in updates r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D136238
2022-05-17 15:41:17 +00:00
Drew Willcoxon 89e0a5bd8e Bug 1769583 - Add the urlbar autofill prefs to telemetry environment data. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D146504
2022-05-17 15:36:28 +00:00
Jonathan Watt 1790ea2686 Bug 1769756 - Remove nsIWebBrowserPrint.currentPrintSettings. r=bobowen
Differential Revision: https://phabricator.services.mozilla.com/D146569
2022-05-17 15:04:24 +00:00
Emilio Cobos Álvarez 223f99d650 Bug 1768278 - Draw menupopup shadows ourselves on Windows. r=dao,Gijs
This prevents long-standing artifacts on HiDPI screens on context menus and so
on.

This is much simpler than tooltips because menupopups and panels already have
the whole set-up ready.

The searchbar.css changes are kind of annoying, but they improve the rendering
a lot (see attached screenshots).

Let me know if you want me to draw shadows on all panels on Windows like we do
on Linux, it's probably doable and cleaner over-all.

Differential Revision: https://phabricator.services.mozilla.com/D145818
2022-05-17 14:37:24 +00:00
Emilio Cobos Álvarez b1f8ba4237 Bug 1768278 - Prevent negative margins from causing us to flip / resize / slide popups. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D145879
2022-05-17 14:37:23 +00:00
mleclair fa813df4ac Bug 1767908 Renew Early hints and HTTP/3 probes until fx 109. r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D146024
2022-05-17 14:16:06 +00:00
Travis Long 07ed5a1efc Bug 1754527 - Nimbus should call the Glean Experiment API r=chutten,barret
Differential Revision: https://phabricator.services.mozilla.com/D145911
2022-05-17 13:51:55 +00:00
Paul Zuehlcke e1a09f57de Bug 1763660 - Tests for query parameter stripping in Private Browsing Mode. r=anti-tracking-reviewers,timhuang
Differential Revision: https://phabricator.services.mozilla.com/D143761
2022-05-17 10:42:16 +00:00
Paul Zuehlcke ff73626bba Bug 1763660 - Enable query parameter stripping in Private Browsing Mode. r=anti-tracking-reviewers,necko-reviewers,timhuang,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D143760
2022-05-17 10:42:16 +00:00
Andrew McCreight 01913de302 Bug 1769442 - Remove nsIFactory::lockFactory, breaking compatibility with IClassFactory. r=xpcom-reviewers,Jamie,necko-reviewers,kershaw,nika
nsIFactory is binary compatible with Windows COM's IClassFactory,
but nothing seems to depend on it. This patch removes the test
for compatibility, TestCOM, and removes the lockFactory
method that isn't otherwise needed.

Differential Revision: https://phabricator.services.mozilla.com/D146386
2022-05-16 22:38:51 +00:00
Cosmin Sabou 241f586c68 Merge mozilla-central to autoland. 2022-05-17 01:00:59 +03:00
Cosmin Sabou 24c1cdc33c Backed out changeset e8751087ba26 (bug 1746983) for causing regressions. a=backout 2022-05-17 00:56:55 +03:00
Mark Banner 36861c2f72 Bug 1769047 - Replace remaining uses of OS.* in search. r=mcheang
Differential Revision: https://phabricator.services.mozilla.com/D146189
2022-05-16 21:00:37 +00:00
Kirk Steuber d3f343a9d0 Bug 1762957 - Telemetry for Application Update Pinning feature r=bhearsum
Depends on D143786

Differential Revision: https://phabricator.services.mozilla.com/D143787
2022-05-16 20:55:06 +00:00
Kirk Steuber 4027ae1269 Bug 1762957 - When the AppUpdatePin policy is set, include the specified pin in the update url r=bhearsum
Depends on D143785

Differential Revision: https://phabricator.services.mozilla.com/D143786
2022-05-16 20:55:06 +00:00
Kirk Steuber 1f183a698d Bug 1762957 - Add Firefox Enterprise Policy for application update pinning r=mkaply,bhearsum,fluent-reviewers,flod
This patch also adds the capability for Policy implementations (in Policies.jsm) to have a `validate` function. If it returns `false`, the Enterprise Policy engine will consider the policy's parameter to be invalid and the policy will not be activated. This capability is used to validate the update pin policy's parameter to make sure that it takes the expected format ("X." or "X.Y.", where X is the pinned major version and Y is the pinned minor version).

Differential Revision: https://phabricator.services.mozilla.com/D143785
2022-05-16 20:55:05 +00:00
Bryce Seager van Dyk 1ef33504a4 Bug 1769156 - Use content sig checks for GMP updates if controlling pref is missing. r=Gijs
Currently if the pref for using content sig checks with GMP updates is missing
we will use cert pinning. I.e. the default behaviour in the absence of a pref
value is cert pinning. This changes that so that we use content sig by default.

This is done as we're moving to content signatures as default behaviour, so it
makes sense to have it be the default if the pref is missing.

Differential Revision: https://phabricator.services.mozilla.com/D146260
2022-05-16 20:21:27 +00:00
Jeff Muizelaar 00872fd515 Bug 1769614 - Add some more prefs/telemetry around GMP installation failure. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D146479
2022-05-16 20:18:45 +00:00
Neil Deakin 2d6e577801 Bug 1757771, always launch the save dialog when pressing the PDF Viewer download button, and remove test code that expected the unknown type dialog to appear, r=marco
Differential Revision: https://phabricator.services.mozilla.com/D145814
2022-05-16 14:34:14 +00:00
Jonathan Watt 6e5bce1349 Bug 1769388 - Change nsIPrintSettingsService's 'newPrintSettings' attribute to a 'createNewPrintSettings' function. r=bobowen,webdriver-reviewers,whimboo
Having an attribute be a constructor is just...wrong.

Differential Revision: https://phabricator.services.mozilla.com/D146383
2022-05-16 11:50:34 +00:00
Jonathan Watt 41b151c8c4 Bug 1432651 p1 - Pass RemotePrintJobChild through to the places where it's needed. r=emilio
Given how nsIPrintSettings is passed around, stored and copied all over the
place, it's very hard to reason about where and when a RemotePrintJobChild is
needed or valid. This patch avoids all that by explicitly passing a
RemotePrintJobChild when it's needed.

Another reason to make this change is because RemotePrintJobChild really does
not belong on nsIPrintSettings. That interface is supposed to represent a
collection of settings for laying out the document that is to be printed.

Differential Revision: https://phabricator.services.mozilla.com/D146380
2022-05-16 08:38:01 +00:00
Randell Jesup d3b15de2f1 Bug 1762920: remove whitelist from xpcom/crashreporter r=nika,gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D142843
2022-05-16 01:37:39 +00:00
Bryce Seager van Dyk c5aeea7b59 Bug 1758422 - Update Widevine fallback downloader URLs for 4.10.2449.0. r=media-playback-reviewers,alwu
Differential Revision: https://phabricator.services.mozilla.com/D146132
2022-05-15 23:01:55 +00:00
Florian Quèze 5a63863b53 Bug 1769255 - record the battery percentrage for each active tick, r=chutten,smaug.
Differential Revision: https://phabricator.services.mozilla.com/D146319
2022-05-15 21:52:03 +00:00
Gijs Kruitbosch 3e49de5a28 Bug 1768366 - stop about:profiles sending quit-requested notifications, as we're not actually quitting, r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D146306
2022-05-15 11:33:17 +00:00
Bob Owen 8df756b5d5 Bug 1769309: Block hmpalert.dll v3.8.8.889 and earlier due to crashes with win32k lockdown. r=gcp
The version from a fresh install from Sophos website is 3.8.19.923.		Only blocking in child processes.

Differential Revision: https://phabricator.services.mozilla.com/D146382
2022-05-14 22:48:34 +00:00
Molnar Sandor 74e42d0f2f Backed out 5 changesets (bug 1743020) for causing linux build bustages in function2.hpp CLOSED TREE
Backed out changeset cf237471cf75 (bug 1743020)
Backed out changeset 78eb51447ce5 (bug 1743020)
Backed out changeset c486f95d55ec (bug 1743020)
Backed out changeset c0abfda55404 (bug 1743020)
Backed out changeset 16be18ca73fb (bug 1743020)
2022-05-14 10:31:12 +03:00
Magnus Melin d5ddd20984 Bug 1768529 - use default param value for hideTopSitesWithSearchParam. r=adw
Thunderbird doesn't have the pref => test failures:
https://treeherder.mozilla.org/logviewer?job_id=377954876&repo=comm-central&lineNumber=5509

Differential Revision: https://phabricator.services.mozilla.com/D146337
2022-05-13 23:44:50 +00:00
Nika Layzell 2f30490823 Bug 1743020 - Part 2: Vendor the function2 library, r=glandium,mhoye
The function2 library is a header-only library which provides support
for defining move-only function types, similar to the proposed
std::move_only_function in C++23, but with support for additional
customization.

This appears to be the first time we've vendored code using the boost
license, so I've added it to license.html and moz_yaml.py, and have
requested review to ensure it is OK to use code with this license.

Differential Revision: https://phabricator.services.mozilla.com/D145690
2022-05-13 23:43:52 +00:00
Daisuke Akatsuka 2155a6e0d3 Bug 1597791: Introduce autoFillAdaptiveHistory nimbus variable. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D145704
2022-05-13 22:46:37 +00:00
Daisuke Akatsuka 6869007716 Bug 1597791: Add telemetry for adaptive history autofill. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D144685
2022-05-13 22:46:36 +00:00
Daisuke Akatsuka 8c347e99bb Bug 1597791: Support adaptive history autofill. r=adw,mak
Differential Revision: https://phabricator.services.mozilla.com/D144393
2022-05-13 22:46:36 +00:00
Tooru Fujisawa 7598035620 Bug 1765737 - Part 2: Pass an empty object instead of global this to Cu.cloneInto in toolkit/components/telemetry/. r=chutten
Depends on D144783

Differential Revision: https://phabricator.services.mozilla.com/D144784
2022-05-13 20:12:28 +00:00
Tooru Fujisawa 106f7b6830 Bug 1765737 - Part 1: Pass an empty object instead of global this to Cu.cloneInto in toolkit/components/extensions/. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D144783
2022-05-13 20:12:27 +00:00
Tooru Fujisawa 63f9ec92bc Bug 1765319 - Part 5: Stop using global this to access global variable in toolkit/. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D144135
2022-05-13 20:12:27 +00:00
Tooru Fujisawa 2a79251616 Bug 1765319 - Part 3: Use globalThis in deserialize. r=mixedpuppy
The deserialize parameter is used only for getting global object, and in the JSM
context, it's the shared global.  So directly passing globalThis works.

Differential Revision: https://phabricator.services.mozilla.com/D144133
2022-05-13 20:12:26 +00:00
Hanna Jones 3bcccb6ffb Bug 1756169 - Set print margins to 'None' when defaults are invalid r=mstriemer
For smaller paper sizes (e.g. label maker sized paper) it's possible that the defaut margins will be too large, wich results in non-obvious error state for the print dialog. In this case we want to fall back to using "None" margins to ensure the form is valid/printing is still possible.

Differential Revision: https://phabricator.services.mozilla.com/D142889
2022-05-13 18:19:32 +00:00
Tim Giles e50bd6c662 Bug 1754879 - Ignore autocomplete=off in Form Autofill. r=sgalich,dimi
Form Autofill now supports respecting autocomplete=off if the newly added
"extensions.formautofill.creditCards.ignoreAutocompleteOff" and
"extensions.formautofill.addresses.ignoreAutocompleteOff" are set to false.

Differential Revision: https://phabricator.services.mozilla.com/D145916
2022-05-13 17:53:20 +00:00
Jens Stutte aa8c3727dc Bug 1766572: Part 3 - Make nsTerminator aware of late shutdown phases. r=xpcom-reviewers,nika
In order to get better shutdown hang reporting, we want to distinguish also the last phases, namely `XPCOMShutdownThreads`, `XPCOMShutdownMainThread` and `CCPostLastCycleCollection`.
This also makes `XPCOMShutdownNotified()` obsolete and we need to slightly re-arrange the watchdog function.

Differential Revision: https://phabricator.services.mozilla.com/D145433
2022-05-13 15:47:53 +00:00