Commit Graph

30951 Commits

Author SHA1 Message Date
mcheang
bcc2a44b51 Bug 1745196 - Documentation on testing for address bar to tree documentation. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D133381
2021-12-16 02:45:41 +00:00
Marian-Vasile Laza
d85e93c476 Backed out changeset 0b08092c5fb9 (bug 1744331) for causing bc failures on browser_screenshots_test_full_page.js. CLOSED TREE 2021-12-16 03:33:05 +02:00
Niklas Baumgardner
535d23f6a1 Bug 1743882 - Screenshots component preference observer. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D132740
2021-12-15 19:55:34 +00:00
Niklas Baumgardner
6de5625103 Bug 1744331 - Take visible and full page work as expected now. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D132838
2021-12-15 19:55:07 +00:00
Niklas Baumgardner
2746a8255d Bug 1745045 - Clicking child of screenshots preview button behaves correctly. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D133276
2021-12-15 19:54:16 +00:00
Tim Giles
85b9db0558 Bug 1745020 - Fix overflow issue on about:logins. r=sgalich,cmkm
Differential Revision: https://phabricator.services.mozilla.com/D133227
2021-12-15 18:15:21 +00:00
Cosmin Sabou
cda3042731 Backed out 2 changesets (bug 1712837) for causing an increase in crashes (bug 1735798). a=backout
Backed out changeset 51773d1ab7b5 (bug 1712837)
Backed out changeset 97b0a77e4ce7 (bug 1712837)
2021-12-15 12:24:03 +02:00
Barret Rennie
458658fdf3 Bug 1745354 - Remove osfile.jsm from browser/components/sessionstore r=annyG
Differential Revision: https://phabricator.services.mozilla.com/D133466
2021-12-15 01:39:36 +00:00
Gijs Kruitbosch
a1eb6d261d Bug 1400420 - fix tabbing backwards in prefs to not hide items behind the search/policies sticky header, r=preferences-reviewers,mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D133071
2021-12-14 22:01:51 +00:00
Meg Viar
44058e282a Bug 1705799 - Switch multistage about:welcome background image to use avif r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D133760
2021-12-14 21:07:42 +00:00
Barret Rennie
0d1b979178 Bug 1745355 - Remove osfile.jsm from browser/components/shell r=bdahl
Differential Revision: https://phabricator.services.mozilla.com/D133514
2021-12-14 21:00:28 +00:00
Luca Greco
0d8fc19cd9 Bug 1735899 - Cover the browserAction popup preload with a smoketest. r=mixedpuppy
This patch includes a new test file to cover a scenario similar to the one
fixed in Bug 1735899, and possibly some other similar ones that may slip
through unnoticed.

This test triggers the issue consistently on a build where the fix
is not included and pass consistently in build including the fix,
but even if it doesn't include any arbitrary timeouts to trigger the
issue there is still a chance that the test may start to fail
intermittently for some other reasons.

Keeping it as a separate test file will make it easier to disable it
as a temporary measure if turns out to be necessary.

Differential Revision: https://phabricator.services.mozilla.com/D132267
2021-12-14 19:15:15 +00:00
Molly Howell
de8bdb4b40 Bug 1741441 - When the download panel is opened, focus the first item. r=Gijs
As suggested by :jamie, this patch causes focus to move to the item at the top of the list whenever the download panel is shown. In the event that the download panel is opened automatically because a new download has been started, this will have the effect of always bringing the new download directly to the attention of accessibility tools (because the panel itself also receives focus).

Differential Revision: https://phabricator.services.mozilla.com/D133160
2021-12-14 17:48:06 +00:00
criss
acbfb645ed Backed out changeset ac839ddcb82f (bug 1745354) for causing failures on browser_backup_recovery.js. CLOSED TREE 2021-12-14 09:12:19 +02:00
Barret Rennie
8a3c38779b Bug 1745354 - Remove osfile.jsm from browser/components/sessionstore r=annyG
Differential Revision: https://phabricator.services.mozilla.com/D133466
2021-12-14 06:29:05 +00:00
Dana Keeler
a03ae7ed1f Bug 1712837 - introduce ipcclientcerts to allow client certificates to work with the socket process r=rmf,kershaw,necko-reviewers,ipc-reviewers,nika,jschanck
This patch introduces ipcclientcerts, a PKCS#11 module that the socket process
can load to get access to client certificates and keys managed by the parent
process. This enables client certificate authentication to work with the socket
process (particularly for keys stored outside of NSS, as with osclientcerts or
third-party PKCS#11 modules).

Differential Revision: https://phabricator.services.mozilla.com/D122392
2021-12-13 23:59:08 +00:00
mcheang
22cdaa5648 Bug 729241 - Switch-to-tab selections update adaptive records. r=harry,mak
Differential Revision: https://phabricator.services.mozilla.com/D132743
2021-12-13 20:01:46 +00:00
Gijs Kruitbosch
156a0a7196 Bug 1744021 - force the update prefs to be disabled for at least one second when changing them, r=bytesized,preferences-reviewers,mstriemer,application-update-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D132959
2021-12-13 18:19:27 +00:00
Drew Willcoxon
37948c1c7c Bug 1740965 - Part 2: Update the Firefox Suggest online opt-in modal dialog so it affects only data collection, not suggestions. r=nanj
This modifies the opt-in modal so that opting in or out affects only the
data-collection pref and not suggestions like it currently does.

Depends on D131751

Differential Revision: https://phabricator.services.mozilla.com/D131752
2021-12-13 17:10:14 +00:00
Drew Willcoxon
aa4a32eb13 Bug 1740965 - Part 1: Enable Firefox Suggest suggestions by default in the online scenario. r=nanj
This enables suggestions by default in the online scenario. Data collection is
still disabled by default. With this revision, there's now no difference between
online and offline in terms of defaults.

Part 2 of this bug will modify the opt-in modal so that opting in or out affects
only the data-collection pref and not suggestions like it currently does.

For users who were already enrolled in online, saw the modal, and did not opt in
or otherwise enable suggestions, suggestions will remain disabled when they
upgrade. Users in online who did enable suggestions will continue to see them
when they upgrade. Users in online who did *not* see the modal will also have
suggestions enabled when they upgrade. That's unfortunate since they currently
have suggestions disabled, but based on telemetry data, the number of these
users is small, and it's a little risky to handle that case specifically because
if we're not careful we could end up disabling suggestions for all users coming
from 94.0.1 and earlier who enroll in online in the future. The code comment in
`UrlbarPrefs._migrateFirefoxSuggestPrefsUnversionedTo2Online()` and discussion
in D131751 talk about this.

For all other users, suggestions will default to enabled when/if they are
enrolled in online.

I added another prefs migration to implement all this.

I wrote a [test plan doc](https://docs.google.com/document/d/1tcbrBZmIaL_cQhvycoVL602kQqFtQvOBRhKV9zKqghE/edit?usp=sharing) to make sure all relevant upgrade paths work correctly
and I've verified it myself. I also added new automated tests of course.

Differential Revision: https://phabricator.services.mozilla.com/D131751
2021-12-13 17:10:13 +00:00
Norisz Fay
eaf2e5959d Backed out changeset 4c040d6dff93 (bug 1400420) for causing mochitest failures on browser_containers_name_input.js CLOSED TREE 2021-12-13 16:54:02 +02:00
Gijs Kruitbosch
984c1277fa Bug 1400420 - fix tabbing backwards in prefs to not hide items behind the search/policies sticky header, r=preferences-reviewers,mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D133071
2021-12-13 13:49:03 +00:00
Evgenia Kotovich
321f50dbf7 Bug 1737498 - Open bookmarks submenu doesn't show for multiple bm selection with separator. r=Standard8.
Differential Revision: https://phabricator.services.mozilla.com/D133306
2021-12-13 08:56:26 +00:00
Nick Alexander
05abfd9e68 Bug 1743914 - Part 3: Telemetry for when Firefox is the default handler. r=chutten,mhowell
This only records whether Firefox is the default PDF handler for now.
But it will accommodate additional file types and protocols in the
future, should they be desired.

This is Windows 10+ only, since we really only care about PDF handling
defaults where Edgium is the OS default.

Differential Revision: https://phabricator.services.mozilla.com/D132659
2021-12-12 03:52:57 +00:00
Nick Alexander
52ddbd2df1 Bug 1743914 - Part 2: Allow to experiment with setting Firefox as default PDF handler on Windows 10+. r=mhowell,Mardak
This adds a `setDefaultPDFHandler` that extends the existing
`setDefaultBrowserUserChoice` to also set Firefox as the default PDF
handler when setting Firefox as the default browser.  (Since this uses
User Choice, it's Windows 10+ only.)

Differential Revision: https://phabricator.services.mozilla.com/D132660
2021-12-12 03:52:56 +00:00
Butkovits Atila
aa0aa25844 Backed out changeset 6f10ab027992 (bug 1737498) for causing failures at browser_library_open_all_with_separator.js. CLOSED TREE 2021-12-11 14:06:17 +02:00
Evgenia Kotovich
aee376b47a Bug 1737498 - Open bookmarks submenu doesn't show for multiple bm selection with separator. r=Standard8.
Differential Revision: https://phabricator.services.mozilla.com/D133306
2021-12-11 11:08:38 +00:00
Butkovits Atila
f5dde92479 Backed out 3 changesets (bug 1743914) for causing failures at browser_setDefaultPDFHandler.js. CLOSED TREE
Backed out changeset 01e19b8ec15b (bug 1743914)
Backed out changeset c46d66869d03 (bug 1743914)
Backed out changeset 57d0f8824e35 (bug 1743914)
2021-12-11 10:48:19 +02:00
Nick Alexander
67477c0843 Bug 1743914 - Part 3: Telemetry for when Firefox is the default handler. r=chutten,mhowell
This only records whether Firefox is the default PDF handler for now.
But it will accommodate additional file types and protocols in the
future, should they be desired.

This is Windows 10+ only, since we really only care about PDF handling
defaults where Edgium is the OS default.

Differential Revision: https://phabricator.services.mozilla.com/D132659
2021-12-11 06:25:57 +00:00
Nick Alexander
8f6c831713 Bug 1743914 - Part 2: Allow to experiment with setting Firefox as default PDF handler on Windows 10+. r=mhowell,Mardak
This adds a `setDefaultPDFHandler` that extends the existing
`setDefaultBrowserUserChoice` to also set Firefox as the default PDF
handler when setting Firefox as the default browser.  (Since this uses
User Choice, it's Windows 10+ only.)

Differential Revision: https://phabricator.services.mozilla.com/D132660
2021-12-11 06:25:57 +00:00
Punam Dahiya
e0930bf18b Bug 1744480 - Make product details button keyboard accessible r=preferences-reviewers,mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D133465
2021-12-11 01:26:16 +00:00
Narcis Beleuzu
bfb7e382db Backed out 3 changesets (bug 1743914) for bc failures on browser_setDefaultPDFHandler.js
Backed out changeset 088401e43bd4 (bug 1743914)
Backed out changeset 7cb74ac80d41 (bug 1743914)
Backed out changeset 20713ede0c08 (bug 1743914)
2021-12-11 03:28:02 +02:00
Nick Alexander
576a1e6fc3 Bug 1743914 - Part 3: Telemetry for when Firefox is the default handler. r=chutten,mhowell
This only records whether Firefox is the default PDF handler for now.
But it will accommodate additional file types and protocols in the
future, should they be desired.

This is Windows 10+ only, since we really only care about PDF handling
defaults where Edgium is the OS default.

Differential Revision: https://phabricator.services.mozilla.com/D132659
2021-12-11 00:02:40 +00:00
Nick Alexander
a52b21a5ce Bug 1743914 - Part 2: Allow to experiment with setting Firefox as default PDF handler on Windows 10+. r=mhowell,Mardak
This adds a `setDefaultPDFHandler` that extends the existing
`setDefaultBrowserUserChoice` to also set Firefox as the default PDF
handler when setting Firefox as the default browser.  (Since this uses
User Choice, it's Windows 10+ only.)

Differential Revision: https://phabricator.services.mozilla.com/D132660
2021-12-11 00:02:39 +00:00
Nick Alexander
43a36b7a80 Bug 1243603 - Telemetry for when Windows invokes Firefox to handle a registered file type or protocol. r=Gijs
The `-osint` flag is used as the signal that Windows is invoking
Firefox to handle a file type or protocol.  The `-osint` flag was
introduced in order to mitigate security breaches due to poor argument
quoting (by consumers invoking Firefox); to use it for this new
purpose, it must be preserved for downstream consumers to react to.
Alternately, some marker of the flag could be maintained.  Since the
flag needs to transit through the launcher process, I've elected to
simply not strip it as we validate command lines, and to accommodate
it further downstream.  (It looks like Thunderbird already
accommodates `-osint`: see
https://searchfox.org/comm-central/rev/3e8f926de9ea09945b237177eb6d489c70318f0e/mail/components/MessengerContentHandler.jsm#568.)

The telemetry in this patch achieves two purposes.  The first is to
count the number of times Firefox is invoked to handle a registered
file type or protocol: for this, a new keyed uint scalar was added.
File types start with a ".", just like on Windows; protocols
(equivalently, the schemes used to identify them) do not start with a
".".

The second is to identify times when Firefox is launched (i.e., it was
not already running) to handle a registered file type or protocol.

This generalizes the existing `os.environment.launch_method`,
introducing `os.environment.launched_to_handle` and
`os.environment.invoked_to_handle` string scalars, which record the
file type or protocol.

The command line state `STATE_INITIAL_LAUNCH` is used to discriminate
launching from invoking.

Differential Revision: https://phabricator.services.mozilla.com/D132288
2021-12-11 00:00:55 +00:00
Drew Willcoxon
43cdc92d0e Bug 1745460 - Modify UrlbarQuickSuggest._fetchIcon() so it bails when the remote settings client is null. r=mythmon
This is a small follow-up to bug 1745297. UrlbarQuickSuggest can now be queried
even when suggestions are disabled and its `_rs` property (the remote settings
client instance) is null, which is a problem for `_fetchIcon` since it assumes
`_rs` is non-null. It can just bail in that case.

Differential Revision: https://phabricator.services.mozilla.com/D133540
2021-12-10 22:45:08 +00:00
Narcis Beleuzu
d6f20002ef Backed out changeset 1a5efeaef0a9 (bug 1744021) for bc failures on browser_aboutPrefs_settings.js. CLOSED TREE 2021-12-11 01:34:28 +02:00
Gijs Kruitbosch
ce071daaba Bug 1744021 - force the update prefs to be disabled for at least one second when changing them, r=bytesized,preferences-reviewers,mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D132959
2021-12-10 21:25:00 +00:00
Meg Viar
47ef77461b Bug 1739289 - Remove or update probes expiring in Firefox 97: os.environment.is_kept_in_dock r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D132979
2021-12-10 21:02:21 +00:00
Jonathan Watt
bb0276ec0f Bug 1745322 - Only test the new UI in browser/components/extensions/test/browser/browser_ext_tabs_printPreview.js. r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D133447
2021-12-10 16:05:50 +00:00
Mike Kaply
4f8a55b680 Bug 1745065 - Add support for managing more ciphers in policy. r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D133374
2021-12-10 15:12:33 +00:00
Cristian Tuns
21a6423ab8 Merge mozilla-central to autoland on a CLOSED TREE 2021-12-10 09:41:08 -05:00
Cristian Tuns
401fef52eb Backed out changeset 5396b58ddae7 (bug 1712837) for causing Android ARMv7 build bustages. a=backout 2021-12-10 09:35:39 -05:00
Ryan VanderMeulen
31cffbff09 Bug 1271024 - Re-enable browser_purge_shistory.js when SHIP is enabled. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D133116
2021-12-10 13:43:55 +00:00
Barret Rennie
4e37ef7c6a Bug 1745350 - Remove OS.File from browser/components/downloads r=Standard8
Depends on D133461

Differential Revision: https://phabricator.services.mozilla.com/D133462
2021-12-10 13:23:54 +00:00
Barret Rennie
63f941e34d Bug 1745349 - Remove OS getter from browser/components/downloads tests r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D133461
2021-12-10 13:23:54 +00:00
Benjamin VanderSloot
a8367662b6 Bug 1740828 - Improve UI to clarify difference between cross site tracking cookies and cross site cookies option, r=pbz,flod,fluent-reviewers,preferences-reviewers
Revise two strings, choosing "Option 1" from the discussion on Bugzilla:
	https://bugzilla.mozilla.org/show_bug.cgi?id=1740828#c3

Differential Revision: https://phabricator.services.mozilla.com/D133346
2021-12-10 12:24:52 +00:00
Iulian Moraru
a0c283f56f Backed out changeset 63ec4612926b (bug 1743882) for causing mochitest failures on browser_preferences_usage.js. CLOSED TREE 2021-12-10 03:37:45 +02:00
Dana Keeler
aa200d9a1e Bug 1712837 - introduce ipcclientcerts to allow client certificates to work with the socket process r=rmf,kershaw,necko-reviewers,ipc-reviewers,nika,jschanck
This patch introduces ipcclientcerts, a PKCS#11 module that the socket process
can load to get access to client certificates and keys managed by the parent
process. This enables client certificate authentication to work with the socket
process (particularly for keys stored outside of NSS, as with osclientcerts or
third-party PKCS#11 modules).

Differential Revision: https://phabricator.services.mozilla.com/D122392
2021-12-10 00:24:49 +00:00
Drew Willcoxon
81f290e5d8 Bug 1745297 - Send requests to Merino when data collection is enabled even when suggestions are disabled. r=mythmon
This makes the quick suggest provider active when suggestions are disabled but
data collection is enabled. Currently the provider is not active in that case.
The provider will fetch from both Merino and remote settings in that case
(assuming each is enabled), updating latency and Merino-response telemetry, but
the provider will discard any suggestions that happen to be returned.

However, Merino should not return any suggestions because this also sets its
`providers` query param to the empty string in this case, which tells Merino not
to fetch anything.

The `merino.providers` pref overrides this behavior. i.e., if suggestions are
disabled and data collection is enabled and `merino.providers` is non-empty,
then the `providers` query param will still be set to the pref's value.

Differential Revision: https://phabricator.services.mozilla.com/D133430
2021-12-09 23:51:21 +00:00