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

10100 Коммитов

Автор SHA1 Сообщение Дата
Kirk Steuber 7b6abf3945 Bug 1728536 - Fix --disable-maintenance-service build capability r=nalexander,application-update-reviewers
Building without support for the maintenance service currently does not work because the definitions of EnvHasValue and IsSecureUpdateStatusSucceeded are ifdef'ed out despite being used. This patch fixes this by including those functions, even if compiling without support for the maintenance service.

Differential Revision: https://phabricator.services.mozilla.com/D129722
2021-11-02 19:35:12 +00:00
Mark Banner 9ec0a602e7 Bug 1738235 - Remove unused precompile_cache.js. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D129805
2021-10-28 14:28:54 +00:00
John Bieling b5af195ceb Bug 1737875 - Add 'get language packs' and 'get dictionaries' locales and use the proper link in AOM. r=mixedpuppy,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D129557
2021-10-28 07:43:46 +00:00
Bryce Seager van Dyk f9f3942993 Bug 1714621 - Add tests to cover ProductAddonChecker content signature verification. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D129268
2021-10-27 17:51:28 +00:00
Bryce Seager van Dyk d3d8c4792a Bug 1714621 - Add functionality to verify GMP's update xml content signatures. r=Gijs,robwu
Also driveby fix a log string to print the proper function name.

Differential Revision: https://phabricator.services.mozilla.com/D127566
2021-10-27 17:51:28 +00:00
Narcis Beleuzu 8d46d339ac Backed out 4 changesets (bug 1714621) for xpcshell failures on test_GMPInstallManager.js . CLOSED TREE
Backed out changeset 700c2785dba6 (bug 1714621)
Backed out changeset 5791dc3eaa95 (bug 1714621)
Backed out changeset 5eaba5f37b3f (bug 1714621)
Backed out changeset 753d457df764 (bug 1714621)
2021-10-27 06:47:57 +03:00
Bryce Seager van Dyk 8b75ab2963 Bug 1714621 - Add tests to cover ProductAddonChecker content signature verification. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D129268
2021-10-27 02:37:09 +00:00
Bryce Seager van Dyk 07506353a2 Bug 1714621 - Add functionality to verify GMP's update xml content signatures. r=Gijs,robwu
Also driveby fix a log string to print the proper function name.

Differential Revision: https://phabricator.services.mozilla.com/D127566
2021-10-27 02:37:09 +00:00
Christoph Kerschbaumer 0b4708ecae Bug 1737256: Annotate tests within toolkit/mozapps/extensions/test/xpinstall to work with https-first enabled r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D129253
2021-10-22 14:17:42 +00:00
Cristian Tuns f8aa415792 Backed out changeset 2e836c38095a (bug 1737256) on request by ckerschb. CLOSED TREE 2021-10-22 08:33:08 -04:00
Mathew Hodson a28c02848c Bug 1733871 - Allow tests to use `computeHash` from ProductAddonChecker.jsm. r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D127387
2021-10-22 12:28:09 +00:00
Christoph Kerschbaumer fceb46e606 Bug 1737256: Annotate tests within toolkit/mozapps/extensions/test/xpinstall to work with https-first enabled r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D129253
2021-10-22 12:14:25 +00:00
Geoff Lankow 58b170669d Bug 1698112 - Stop referencing browser files from toolkit, and prevent it happening again with a test. r=preferences-reviewers,mossop
Differential Revision: https://phabricator.services.mozilla.com/D128974
2021-10-21 21:54:52 +00:00
Evgenia Kotovich 0d0980ee0d Bug 1576768 - Automatically format .sjs files using prettier. r=Standard8,agi,zombie,extension-reviewers
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D128482
2021-10-18 09:26:33 +00:00
Noemi Erli 2bba3cec69 Backed out changeset 2ab6bb03dcc1 (bug 1576768) for causing failures in test_double_submit.html CLOSED TREE 2021-10-18 02:05:57 +03:00
Evgenia Kotovich 3e3dff109c Bug 1576768 - Automatically format .sjs files using prettier. r=Standard8,agi,zombie,extension-reviewers
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D128482
2021-10-17 14:59:14 +00:00
Alexandru Michis dac6815201 Backed out changeset 7c08aa027893 (bug 1576768) for causing multiple failures.
CLOSED TREE
2021-10-15 16:52:43 +03:00
Evgenia Kotovich a8b32926fa Bug 1576768 - Automatically format .sjs files using prettier. r=Standard8,agi,zombie,extension-reviewers
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D128482
2021-10-15 12:58:11 +00:00
Mark Banner 3633fd7457 Bug 1378173 - Remove Promise.jsm. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D128098
2021-10-14 08:28:28 +00:00
amy churchwell 8f5d5db7ac Bug 1733632 - Update colorways section in about:addons to be a 3x6 grid. r=harry,mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D127504
2021-10-07 19:32:40 +00:00
Bryce Seager van Dyk 5797605523 Bug 1733670 - Allow 'addons.productaddons' log to have level set by pref. r=extension-reviewers,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D127309
2021-10-04 18:02:24 +00:00
Shane Caraveo 88b33eaf69 Bug 1712024 refetch addon metadata when language changes r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D116919
2021-10-01 16:08:18 +00:00
Mark Banner aec46f6b9d Bug 1733485 - Lazy load modules in GMPUtils.jsm, UpdateUtils.jsm, GMPProvider.jsm to avoid loading earlier than necessary. r=bytesized
Differential Revision: https://phabricator.services.mozilla.com/D127171
2021-10-01 08:18:04 +00:00
Harry Twyford 39aa1499f4 Bug 1731652 - Localize theme variant names. r=fluent-reviewers,flod,extension-reviewers,robwu
Differential Revision: https://phabricator.services.mozilla.com/D126833
2021-09-30 20:32:41 +00:00
Harry Twyford 2ff58e94f7 Bug 1732797 - Rename "System theme" to "System theme — auto". r=fluent-reviewers,mixedpuppy,flod
Differential Revision: https://phabricator.services.mozilla.com/D126972
2021-09-30 20:32:40 +00:00
Niklas Baumgardner 49c7deeea0 Bug 1731687 - Remove browser-doctype.inc. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D127136
2021-09-30 20:01:03 +00:00
Csoregi Natalia eecd2dd4ba Backed out changeset 538c138a40dd (bug 1732797) for failures on browser_ext_management_themes.js. CLOSED TREE 2021-09-30 21:40:43 +03:00
Harry Twyford cc24cea507 Bug 1732797 - Rename "System theme" to "System theme — auto". r=fluent-reviewers,mixedpuppy,flod
Differential Revision: https://phabricator.services.mozilla.com/D126972
2021-09-30 17:43:46 +00:00
Marco Bonardo 2864b7afb2 Bug 1692305 - Intermittent file removal failure in browser_unknownContentType_extension.js. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D126675
2021-09-30 08:30:19 +00:00
Harry Twyford 8b8efc8503 Bug 1731146 - Manage built-in themes from BuiltInThemes.jsm and use it to defer installing colorway themes. r=dao,mixedpuppy
This creates a centralized place to manage built in themes. The main motivation for this is that we want to defer intalling built-in themes until after UI startup, but we need to ensure those themes are installed when about:addons is visited. This module is called from both BrowserGlue (for installation) and aboutaddons.js (to ensure installation). Also, built in themes handing is all over the place right now, and this centralizes it, which is nice.

This also creates a more-permanent pref for colorway themes. The rationale is that I could see Product wanting a ripcord on this project and I want to build that in from the start.

This approach has serious performance improvements over the baseline. Here is perfherder for the current approach of installing before UI startup: https://treeherder.mozilla.org/perfherder/compare?originalProject=try&originalRevision=82baacf0b728add88c7e262ecb68d3fbcd1bda5e&newProject=try&newRevision=169edd7e48e5a051e5d3cbfbd6caaab4c496cd98&framework=1&page=1&showOnlyImportant=1 and again for an early version of the approach in this patch (installation after UI startup, but before I moved things to LightweightThemeConsumer): https://treeherder.mozilla.org/perfherder/compare?originalProject=try&originalRevision=82baacf0b728add88c7e262ecb68d3fbcd1bda5e&newProject=try&newRevision=6c200f35430a6af87401bd21c8db95e28a568964&framework=1&page=1&showOnlyImportant=1.

Differential Revision: https://phabricator.services.mozilla.com/D126549
2021-09-29 23:08:45 +00:00
Katherine Patenio 883e800510 Bug 1729738 - Migrate extension.(.*)@mozilla.org.* from properties to Fluent. r=mtigley,fluent-reviewers,robwu,flod
Differential Revision: https://phabricator.services.mozilla.com/D126445
2021-09-29 22:04:18 +00:00
amy churchwell 6359c9364b Bug 1732093 - Apply hover/active theme colors to ETP and downloads panel. r=harry,desktop-theme-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D126745
2021-09-29 20:05:19 +00:00
amy churchwell aa8d583f1c Bug 1729535 - Add monochromatic themes to about:addons#themes. r=harry,fluent-reviewers,mixedpuppy,flod
Differential Revision: https://phabricator.services.mozilla.com/D126401
2021-09-29 18:44:46 +00:00
Harry Twyford cbf8835783 Bug 1732957 - Update monochromatic theme ids to color-variant-colorway@mozilla.org. r=mixedpuppy,amy
This patch allows D126401 to add a test theme with ID test-colorway@mozilla.org to test the Colorways section in about:addons.

Differential Revision: https://phabricator.services.mozilla.com/D126820
2021-09-29 15:43:22 +00:00
Michelle Goossens c159e29e05 Bug 1727943 - Part 2: Migrate mochitest, reftest and crashtest Windows 10 ccov suites from AWS to Azure r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D125350
2021-09-28 15:27:39 +00:00
Harry Twyford 8162c31a13 Bug 1731660 - Theme notification badges, tab throbber, and attention color. r=dao
There are a few slight changes to other properties. These are ridealongs, and a result of UX updating the colors in the Figma spec. Those changes are included in the Figma export, so they get pulled in when I create new manifests with my script. Here are the script changes for this bug: https://github.com/htwyford/create-theme-script/pull/2

Differential Revision: https://phabricator.services.mozilla.com/D126376
2021-09-28 00:48:48 +00:00
Cristian Tuns 227291075e Bug 1692305 - disable browser_unknownContentType_extension.js on win10_2004 r=intermittent-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D126610
2021-09-24 22:50:03 +00:00
Rob Wu 0dbd7fcab1 Bug 1730037 - Update expiration of blocklist probes r=rpl
And remove obsolete blocklist.lastModified_rs_plugins scalar,
which became obsolete with the removal of NPAPI plugins in
https://hg.mozilla.org/mozilla-central/rev/6e00aba7

Differential Revision: https://phabricator.services.mozilla.com/D126548
2021-09-23 21:17:00 +00:00
Dan Minor 2228681a5b Bug 1642415 - Update existing tests to pass metasource into createMock; r=platform-i18n-reviewers,gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D125240
2021-09-22 18:16:07 +00:00
Kirk Steuber 2a85464c1a Bug 1718444 - Add testing that update-available prompts are not shown incorrectly r=nalexander,application-update-reviewers
Added testing that multiple update downloads per session (Bug 353804) works properly with or without automatic update downloading.

Depends on D126162

Differential Revision: https://phabricator.services.mozilla.com/D126163
2021-09-21 23:57:23 +00:00
Kirk Steuber cacea3d12a Bug 1718444 - Convert nsIUpdateCheckListener to async r=nalexander,application-update-reviewers
I want to be able to check if the update-available notification is fired during testing. The entry point to firing that notification is UpdateService.onCheckComplete, but it currently kicks off its work and does not wait for it to finish. This means that I can wait for the update-available notification to be fired, but I cannot easily wait for it NOT to be fired, which is what I want to be able to test here.

It looks though like it should be easy enough to just convert this interface to an asynchronous one. This will make it much easier to call onCheckComplete and know by the end of it if the update-available notification gets fired or not.

Differential Revision: https://phabricator.services.mozilla.com/D126162
2021-09-21 23:57:22 +00:00
Kirk Steuber f52093e006 Bug 1718444 - Don't show the update-available prompt if we aren't going to download the update r=nalexander,application-update-reviewers
This patch fixes an issue where it is possible to show the update-available prompt to the user for an update that will not ultimately be downloaded. This can result in many unnecessary update-available prompts. The issue is that `AUS.downloadUpdate` makes some checks to ensure that it doesn't download updates if, for example, that exact update has already been downloaded. But the update-available prompt is shown before `AUS.downloadUpdate` is called.


Depends on D126163

Differential Revision: https://phabricator.services.mozilla.com/D126164
2021-09-21 23:57:22 +00:00
Harry Twyford cee0305a2a Bug 1726437 - Add new monochromatic themes. r=dao,mixedpuppy
This is pretty much impossible to review as-is, so it may be more useful to review the script that made them. The repo is at https://github.com/htwyford/create-theme-script. parse-themes-script.js is the main script. It reads input.json. input.json is pulled from https://github.com/FirefoxUX/themes/blob/main/tokens/color/base.json, with some light edits to fix inconsistencies. The file in the FirefoxUX repo is an export of the colors in the Figma file: https://www.figma.com/file/xaRff6432QsirRftX8NZgb/MR2-Themes?node-id=86%3A17747.

The themes aren't perfect yet. For example, the text color in the Urlbar chiclet is sometimes wrong. They also don't consider the UX spec on badge colors, since UX is still actively updating that part of the spec. Since these themes are behind a pref, I think we should land it and fix the issues in followups. It will make it more clear what is changing when they're not being added en masse like this. Getting them in the tree ASAP also lets UX and QA get a head start on testing them.

Differential Revision: https://phabricator.services.mozilla.com/D125755
2021-09-21 13:32:58 +00:00
Harry Twyford 31b58b8bf6 Bug 1730262 - Add first monochromatic theme. r=desktop-theme-reviewers,dao,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D125283
2021-09-21 13:32:57 +00:00
Butkovits Atila 4b46b9b45b Backed out 3 changesets (bug 1719939, bug 1726437, bug 1730262) for causing failures on test_browserGlue_migration_ctrltab_recently_used_order.js.
Backed out changeset ea1653e9644f (bug 1719939)
Backed out changeset 01f90db715a7 (bug 1726437)
Backed out changeset c0e23b2acfbb (bug 1730262)
2021-09-21 05:15:31 +03:00
Junjie Ying 9b3839d3ba Bug 1719939 - Remove last fragments of code manually checking the browser.proton.enabled pref. r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D125345
2021-09-21 00:03:49 +00:00
Mike Kaply 0bb7a057b2 Bug 1726214 - For MSIX, install the addons in the corresponding language directory. r=mixedpuppy,nalexander,platform-i18n-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D123673
2021-09-20 22:55:35 +00:00
Harry Twyford 393eadce50 Bug 1726437 - Add new monochromatic themes. r=dao,mixedpuppy
This is pretty much impossible to review as-is, so it may be more useful to review the script that made them. The repo is at https://github.com/htwyford/create-theme-script. parse-themes-script.js is the main script. It reads input.json. input.json is pulled from https://github.com/FirefoxUX/themes/blob/main/tokens/color/base.json, with some light edits to fix inconsistencies. The file in the FirefoxUX repo is an export of the colors in the Figma file: https://www.figma.com/file/xaRff6432QsirRftX8NZgb/MR2-Themes?node-id=86%3A17747.

The themes aren't perfect yet. For example, the text color in the Urlbar chiclet is sometimes wrong. They also don't consider the UX spec on badge colors, since UX is still actively updating that part of the spec. Since these themes are behind a pref, I think we should land it and fix the issues in followups. It will make it more clear what is changing when they're not being added en masse like this. Getting them in the tree ASAP also lets UX and QA get a head start on testing them.

Differential Revision: https://phabricator.services.mozilla.com/D125755
2021-09-20 19:27:52 +00:00
Harry Twyford 42b741a2fd Bug 1730262 - Add first monochromatic theme. r=desktop-theme-reviewers,dao,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D125283
2021-09-20 18:30:49 +00:00
Marian-Vasile Laza 63be5b559f Backed out changeset 846edaaa86a9 (bug 1712024) for causing xpcshell failures on test_AddonRepository_cache_locale.js. 2021-09-18 01:09:04 +03:00