Commit graph

31175 commits

Author SHA1 Message Date
Gijs Kruitbosch
ba95b12e9b Bug 1741076 - do not open the download panel if the window is not active, r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D135710
2022-01-25 09:40:11 +00:00
Andreas Farre
211f2c33cb Bug 1751156 - Make it more clear when SSWindowState{Ready, Busy} are dispatched. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D136466
2022-01-25 07:59:56 +00:00
Emily McMinn
aa17a27a98 Bug 1744467 - A11y review updates for More From Mozilla r=preferences-reviewers,fluent-reviewers,pdahiya,flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D136422
2022-01-25 02:01:41 +00:00
Marian-Vasile Laza
428ca6d483 Backed out changeset 2f4c63b2e472 (bug 1748524) for causing xpcshell failures on test_ext_alarms.js. CLOSED TREE 2022-01-25 01:26:30 +02:00
Shane Caraveo
4f1aaf708b Bug 1748524 sleep/waken functionality for background, restartable via persistent events r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D135812
2022-01-24 21:18:28 +00:00
Mike Kaply
0f2af8604b Bug 1632058 - Always get distribution values from default prefs. r=preferences-reviewers,jaws
Differential Revision: https://phabricator.services.mozilla.com/D93805
2022-01-24 20:46:38 +00:00
Gavin Suntop
e27a6d1ff0 Bug 1751752 - Fix webpack warning r=thecount
Differential Revision: https://phabricator.services.mozilla.com/D136766
2022-01-24 19:35:39 +00:00
Gijs Kruitbosch
9db34ce1e6 Bug 1150377 - stop sorting the columns in the application handler list for right/middle clicks, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D136747
2022-01-24 16:58:32 +00:00
Sandor Molnar
2387917375 Backed out changeset ea22083f5525 (bug 1746598) for causing bc failures in browser/components/extensions/test/browser/browser_ext_menus_incognito.js CLOSED TREE 2022-01-24 10:53:24 +02:00
Andrei Oprea
628af2aadb Bug 1746598 - Route MS messages to PB newtab r=dmose
Differential Revision: https://phabricator.services.mozilla.com/D134157
2022-01-24 07:49:45 +00:00
Noemi Erli
cfc7069bc4 Backed out changeset e6e6714aa40a (bug 1516290) for causing valgrind failures 2022-01-23 18:20:28 +02:00
Emilio Cobos Álvarez
2dfce95b86 Bug 1516290 - Check for default browser using xdg-settings before trying to use the protocol handler. r=stransky
This seems worth doing regardless of whether we do D136076.

Differential Revision: https://phabricator.services.mozilla.com/D136623
2022-01-23 13:41:12 +00:00
Punam Dahiya
4fa796fac0 Bug 1750309 - Add experiment params for users enrolled in MfM experiments r=preferences-reviewers,mviar,mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D136261
2022-01-22 18:23:30 +00:00
Marco Bonardo
268be7a21a Bug 1751208 - Add optional user editable title to the Snapshots API. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D136497
2022-01-22 10:20:27 +00:00
Gavin Lazar Suntop
c1dfce3115 Bug 1746026 - Adding ArticleList component r=thecount
Differential Revision: https://phabricator.services.mozilla.com/D136520
2022-01-21 22:35:03 +00:00
Scott
b6ffb3a2ca Bug 1750607 - Pocket newtab card background and compact configs. r=gvn,andreio
Differential Revision: https://phabricator.services.mozilla.com/D136160
2022-01-21 21:52:42 +00:00
Andrew Creskey
30948ff437 Bug 1750100 - Add SnapshotGroups and API r=Standard8,mossop
SnapshotGroups will allow users, as well as our heuristics, to group various Snapshots together in meaningful ways.

Differential Revision: https://phabricator.services.mozilla.com/D135706
2022-01-21 21:02:22 +00:00
Scott
8f79f2f857 Bug 1746024 - Save to Pocket panels adding new header component, and stubbing new panels. r=gvn,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D135913
2022-01-21 20:48:40 +00:00
Shane Hughes
e3d27ff0d7 Bug 1751076 - Fix downloads context menu delete file test. r=Gijs
The delete file menuitem in the downloads context menu no longer
removes the download list item on its own, so the test needs an
explicit cleanup callback to remove the download it creates.

Differential Revision: https://phabricator.services.mozilla.com/D136577
2022-01-21 19:07:16 +00:00
Mike Kaply
5a313efe20 Bug 1750233 - Allow JSON policy to be a REG_SZ. r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D136380
2022-01-21 18:17:01 +00:00
Shane Hughes
3648e080da Bug 1747250 - Show the actual System Viewer name in downloads panel context menu item labels. r=fluent-reviewers,mak,flod
Differential Revision: https://phabricator.services.mozilla.com/D135586
2022-01-21 10:50:24 +00:00
Shane Hughes
9a2ee2448d Bug 1749784 - Overhaul DownloadsIndicatorDataCtor to track each download's attention state individually. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D135857
2022-01-21 10:49:43 +00:00
Shane Hughes
d3eafc94e1 Bug 1723712 - Disable downloads context menu items when inapplicable. r=Gijs
The "Go To Download Page" menuitem in the downloads panel context menu
currently is always visible, even if the download is missing referrer
info. A download source should ideally always have referrer info,
but it's worth having a fallback so user doesn't see failures.
This patch also adds hiding for the "Copy Location" menuitem in the
unlikely event that a download is lacking a source or the source is
somehow lacking a URL. It implements a test to confirm hiding works.
I checked other downloads panel context menu tests to make sure they
aren't broken by the menuitems potentially being hidden.
This shouldn't close Bug 1723712 since we should ensure all downloads
have referrer info. This is just a stopgap in the meantime.

Differential Revision: https://phabricator.services.mozilla.com/D136457
2022-01-21 10:47:08 +00:00
Mathew Hodson
26dc098539 Bug 1749635 - Replace osfile.jsm usage in UpdateUtils.jsm. r=application-update-reviewers,nalexander,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D135661
2022-01-21 09:44:44 +00:00
Daisuke Akatsuka
cd7a04a37f Bug 1751111: Update Firefox Suggest telemetry doc due to change the release timing. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D136449
2022-01-20 23:55:22 +00:00
Greg Tatum
4b5f55d32c Bug 1740067 - Add live language reloading tests; r=mstriemer,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D136022
2022-01-20 21:42:28 +00:00
Greg Tatum
d57ab751eb Bug 1740067 - Add live language reloading; r=mstriemer,preferences-reviewers
The tests are in the next patch.

Differential Revision: https://phabricator.services.mozilla.com/D136021
2022-01-20 21:42:27 +00:00
Greg Tatum
6dcc33d266 Bug 1740067 - Add code documentation to language switching preferences; r=mstriemer,platform-i18n-reviewers,preferences-reviewers,nordzilla
I felt somewhat disoriented in the code when ramping up on it, so I
started documenting it with JSDoc as way to better understand the code.

Differential Revision: https://phabricator.services.mozilla.com/D136020
2022-01-20 21:42:27 +00:00
Greg Tatum
75db126813 Bug 1740067 - Rename language switching variables to be more explicit; r=mstriemer,platform-i18n-reviewers,preferences-reviewers,nordzilla
These were all areas that were confusing me when I was onboarding on to
this code, so I tried to make the terminology less ambiguous and more
precise.

The default language is now the primary language.

UI is now appended to words that are dealing with DOM elements rather
than data stores.

Differential Revision: https://phabricator.services.mozilla.com/D136019
2022-01-20 21:42:27 +00:00
Scott
4a8e839bad Bug 1750596 - Moving save to Pocket vendors into their own bundle. r=gvn
Differential Revision: https://phabricator.services.mozilla.com/D136157
2022-01-20 21:27:44 +00:00
Niklas Baumgardner
cb539fff0e Bug 1751060 - Add fallback color and removed st2 class for screenshots SVGs. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D136417
2022-01-20 19:52:38 +00:00
Meg Viar
66ac5d98fc Bug 1749243 - Update Fx98 MfM utm_content values to add region r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D135903
2022-01-20 19:11:22 +00:00
Alexandru Michis
c5d4f89a03 Backed out changeset 338f8b736b41 (bug 1747429) as requested by sfoster. 2022-01-20 20:58:34 +02:00
Mark Banner
4f4dd2fbae Bug 1750974 - Extend our ESLint import-globals-from function to support absolute directories. r=Gijs,mossop
Differential Revision: https://phabricator.services.mozilla.com/D136368
2022-01-20 14:15:34 +00:00
Andrew Creskey
6ba2d43b7b Bug 1749328 - Intermittent failure in browser_interactions_typing.js r=Standard8
The test test_typing_and_reload() was failing, I believe because without waiting for target url in browserLoaded(), we would proceed on the about:blank load and the new interaction write would race the test.

Differential Revision: https://phabricator.services.mozilla.com/D136186
2022-01-20 14:10:36 +00:00
Neil Deakin
3df939168c Bug 1748345, if deleting the default bookmark folder, reset the preference so that it is valid for later use, r=mak
Differential Revision: https://phabricator.services.mozilla.com/D136199
2022-01-20 12:21:51 +00:00
Evgenia Kotovich
e881e63e65 Bug 1355460 - Speculatively connect toolbar & menu to bookmarked site on mousedown. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D134607
2022-01-20 10:04:52 +00:00
Sam Foster
d292d48758 Bug 1747429 - Replace preprocessor urlbar* variables with CSS vars. r=dao
* Define urlbarMarginInline and urlbarSearchButtonWidth as CSS rather than preprocessor variables
* Replace the urlbarViewPadding, urlbarViewFaviconWidth and urlbarViewIconMarginEnd preprocessor variables with CSS vars.
* Remove %ifdefs around the license comment in these 2 files
* Update ambiguous/out-of-date comment in the skeleton UI code

Differential Revision: https://phabricator.services.mozilla.com/D135962
2022-01-20 00:48:42 +00:00
Luca Greco
dc4631d3be Bug 1746841 - Explicitly clear cached resources associated to an extension being installed/upgraded/downgraded or installed temporarily. r=mixedpuppy
This patch contains a proposed approach for the longer term fix we agreed on (see Bug 1746841 comment 10 and comment 11) and replace the
mochitest-browser added in the other patch attached to this bug with an xpcshell test (which besides covering the same base scenario
that mochitest-browser was convering, it is also lighter and covers also other cases that were not explicitly covered yet).

- added also an image to the test extension to explicitly verify the image caching behavior is also covered and works as expected
- added a test case to verify that cache images aren't cleared when the addon is permanently installed and it is not starting for an upgrade/downgrade

Differential Revision: https://phabricator.services.mozilla.com/D134508
2022-01-19 19:58:12 +00:00
Gavin Lazar Suntop
2f93ebc85d Bug 1750824 - scaffolding stp style guide r=thecount
Differential Revision: https://phabricator.services.mozilla.com/D136264
2022-01-19 18:50:28 +00:00
Shane Hughes
489cc49555 Bug 1750484 - Option to make the "Delete" download menuitem not remove history. r=Gijs,mhowell
Differential Revision: https://phabricator.services.mozilla.com/D136110
2022-01-19 18:45:09 +00:00
Barret Rennie
694a597a62 Bug 1747461 - Remove FileUtils.getFile from browser/components/preferences r=preferences-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D134898
2022-01-19 18:37:25 +00:00
Barret Rennie
cc719a0e50 Bug 1747461 - Remove FileUtils.getFile from browser/components/downloads r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D134897
2022-01-19 18:37:25 +00:00
Barret Rennie
f69beec05e Bug 1747461 - Remove FileUtils.getFile from browser/components/enterprisepolicies r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D134894
2022-01-19 18:37:24 +00:00
Dan Mosedale
6ee95c235b Bug 1731101 - Polish CFR doorhanger & fix PanelTestProvider to help debug, r=Mardak
Make the width and font sizes match the spec. Clean up button sizing.  Remove lots of
unnecessary font-size overrides.  Fix the margin for large size icons.  Fix
the test PERSONALIZED_CFR_MESSAGE doorhanger and update it with a large
size icon to make it possible to test and debug.

Differential Revision: https://phabricator.services.mozilla.com/D129281
2022-01-19 17:13:57 +00:00
Nick Alexander
98a644b4c8 Bug 1749435 - Use Fluent to localize bookmarks.html at run-time rather than build-time. r=flod,mak,fluent-reviewers
This modernizes an old part of the build system to not require
build-time localization at all.  That's generally preferable.

The most significant changes to the in-product functionality is to
make import localize HTML so that we can use Fluent's `data-l10n-id`.

The locale used is the user's current locale.  This is different than
the existing approach, which always uses the build-time (repack)
locale.  I believe this is a strictly superior user experience and it
may lead to future improvements where-in the default bookmarks become
truly dynamic and vary with the user's chosen locale rather than being
point-in-time decisions.

I tried to restrict these changes to only applen when we import the
default bookmarks, but I think the various layers of flags no longer
achieve this restriction in practice and the formatting and
localization will apply to all imported `bookmarks.html` files.  Since
we don't anticipate (nor ourselves write) these new things in
(respectively, to) `bookmarks.html`, and the file is already
user-controlled, I don't think this exposes any meaningful change in
functionality (or in security surface).

Some notes:

1) There's no migration of `.inc` -> `.ftl` because this is the lone
   `.inc` file.

2) I elected to prefix all strings with `default-bookmarks-`, since
   the existing names were very short and likely to collide (now or in
   the future).

3) I elected to change the HTML file name for easier searching.

4) Since the `default-bookmarks.html` file is product-specific and the
   existing tests are in `toolkit/`, I elected to not test the file
   directly in automation.

5) We removed the explicit locale (or equivalent `%LOCALE%`) since
   Mozilla properties will redirect to the appropriate language
   automatically.

Differential Revision: https://phabricator.services.mozilla.com/D135816
2022-01-19 17:02:26 +00:00
Valentin Gosu
c9c7f2ef65 Bug 1741554 - Prevent browser_connection_dnsoverhttps.js from connecting to non-local DoH IP r=preferences-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D136230
2022-01-19 10:23:30 +00:00
Csoregi Natalia
45ff0f12df Backed out changeset bb40a646b246 (bug 1750596) for failures on browser_pocket_main.js. CLOSED TREE 2022-01-19 06:22:22 +02:00
Csoregi Natalia
0d1394aa98 Backed out 2 changesets (bug 1745352) for failures on test_ext_pkcs11_management.js. CLOSED TREE
Backed out changeset 0975c59084aa (bug 1745352)
Backed out changeset ba57b662bb72 (bug 1745352)
2022-01-19 06:16:46 +02:00
Scott
67a8bb6d9c Bug 1750596 - Moving save to Pocket vendors into their own bundle. r=gvn
Differential Revision: https://phabricator.services.mozilla.com/D136157
2022-01-19 02:03:31 +00:00