Kirk Steuber
283c5e7ea8
Bug 1786667 - Don't access update components in BrowserGlue if Firefox was not built with support for them r=bhearsum,preferences-reviewers
...
This patch was made to guard Update functionality from being called in BrowserGlue.jsm if Firefox was not built with support for the Updater. However, it also ended up touching the updater build configuration. I discovered while testing this patch that building with `--disable-updater` does not imply `--disable-maintenance-service` or `--disable-update-agent`. So I fixed that issue as well. Once that was fixed, I could change some other code that checked `AppConstants.MOZ_UPDATER && AppConstants.MOZ_UPDATE_AGENT` since that is now equivilant to `AppConstants.MOZ_UPDATE_AGENT`.
Differential Revision: https://phabricator.services.mozilla.com/D156902
2022-09-09 15:01:13 +00:00
Mark Banner
be3e5b9f71
Bug 1789254 - Migrate enterprisepolicies (browser and toolkit) to ESM. r=mkaply
...
Differential Revision: https://phabricator.services.mozilla.com/D156463
2022-09-08 14:40:06 +00:00
Norisz Fay
6008f8d423
Backed out 3 changesets (bug 1789254) for causing bc failures on browser_xpcom_graph_wait.js CLOSED TREE
...
Backed out changeset bea1e1ba4a14 (bug 1789254)
Backed out changeset 4086aaa5f3d0 (bug 1789254)
Backed out changeset 131cac1d1146 (bug 1789254)
2022-09-08 17:14:00 +03:00
Mark Banner
97344659e3
Bug 1789254 - Migrate enterprisepolicies (browser and toolkit) to ESM. r=mkaply
...
Differential Revision: https://phabricator.services.mozilla.com/D156463
2022-09-08 12:43:32 +00:00
Butkovits Atila
8594347f5a
Backed out 2 changesets (bug 1676492) for causing failures at test_navigation.py. CLOSED TREE
...
Backed out changeset 09fd88048f35 (bug 1676492)
Backed out changeset bc76e6966ec9 (bug 1676492)
2022-08-30 20:56:51 +03:00
Neil Deakin
7f8f002700
Bug 1676492, show the bookmarks toolbar when a new window is opened when the preference is set to show a blank page, r=Mardak,preferences-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D155003
2022-08-30 14:02:02 +00:00
Mark Banner
19b7fb742e
Bug 1782659 - Enable ESlint rule no-unused-vars on the global scope for browser/ xpcshell-tests. r=mak
...
Differential Revision: https://phabricator.services.mozilla.com/D153433
2022-08-05 08:38:50 +00:00
Mark Banner
cd9bed2e7a
Bug 1780017 - Migrate urlbar consumers to use ESM imports directly. r=adw,preferences-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D152057
2022-07-26 15:11:30 +00:00
smolnar
4cb3dcaaa2
Backed out 5 changesets (bug 1780017, bug 1780347) for causing bc failures in browser/base/content/test/performance/browser_preferences_usage.js CLOSED TREE
...
Backed out changeset 86c3a9142535 (bug 1780347)
Backed out changeset 35abe35417a0 (bug 1780017)
Backed out changeset f448f044f028 (bug 1780017)
Backed out changeset a400cbe83084 (bug 1780017)
Backed out changeset 0a23c9e27f01 (bug 1780017)
2022-07-25 21:00:07 +03:00
Mark Banner
bf597b1f3a
Bug 1780017 - Migrate urlbar consumers to use ESM imports directly. r=adw,preferences-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D152057
2022-07-25 12:46:48 +00:00
Mark Banner
d026f430f6
Bug 1779982 - Migrate places consumers to use ESM imports directly. r=mak,preferences-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D152005
2022-07-20 22:34:21 +00:00
smolnar
ee079d37e2
Backed out 8 changesets (bug 1779982, bug 1780017, bug 1780347) for causing doc generate failures. CLOSED TREE
...
Backed out changeset 3f22c0f99cf1 (bug 1780347)
Backed out changeset 6f20b7e4b21b (bug 1780017)
Backed out changeset ae6062c69aeb (bug 1780017)
Backed out changeset e668d7778d97 (bug 1780017)
Backed out changeset e158fc41594b (bug 1780017)
Backed out changeset d4c69c956271 (bug 1779982)
Backed out changeset 145212fd826d (bug 1779982)
Backed out changeset 54079aaa1857 (bug 1779982)
2022-07-20 22:43:53 +03:00
Mark Banner
78524564fc
Bug 1780017 - Migrate urlbar consumers to use ESM imports directly. r=adw,preferences-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D152057
2022-07-20 15:50:42 +00:00
Mark Banner
8715b062f5
Bug 1779982 - Migrate places consumers to use ESM imports directly. r=mak,preferences-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D152005
2022-07-20 15:50:40 +00:00
Iulian Moraru
bc13570de5
Backed out 7 changesets (bug 1779982, bug 1780017) for causing multiple failures. CLOSED TREE
...
Backed out changeset f33a58aa2f3f (bug 1780017)
Backed out changeset e21c85d61b91 (bug 1780017)
Backed out changeset 213ee5578e7c (bug 1780017)
Backed out changeset ea9b3bf42ea1 (bug 1780017)
Backed out changeset d2d8530f3c4d (bug 1779982)
Backed out changeset 088e5148c307 (bug 1779982)
Backed out changeset 267e08f3868a (bug 1779982)
2022-07-20 15:44:53 +03:00
Mark Banner
9cb7e8c83c
Bug 1780017 - Migrate urlbar consumers to use ESM imports directly. r=adw,preferences-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D152057
2022-07-20 10:36:51 +00:00
Mark Banner
2bd76952c1
Bug 1779982 - Migrate places consumers to use ESM imports directly. r=mak,preferences-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D152005
2022-07-20 10:36:49 +00:00
Mark Banner
6552d11eaf
Bug 1779981 - Migrate search consumers to use ESM imports directly. r=mcheang,preferences-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D152001
2022-07-19 17:12:43 +00:00
Tooru Fujisawa
48c568867c
Bug 1667455 - Part 5: Stop importing Services.jsm from chrome-priv JS code, top-level single-line cases. r=kmag,webdriver-reviewers,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,extension-reviewers,application-update-reviewers,pip-reviewers,twisniewski,m_kato,jdescottes,mconley,AlexandruIonescu,mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D150894
2022-07-11 12:41:50 +00:00
James Teow
6b2fbf088c
Bug 1773771 - Add GoToIntranetSiteForSingleWordEntryInAddressBar enterprise policy r=mkaply,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D148952
2022-06-30 16:21:44 +00:00
Hannah Peuckmann
1a3d975a52
Bug 1764761 - Remove/replace the network.cookie.lifetimePolicy. r=pbz,necko-reviewers,mkaply,dom-storage-reviewers,agi,asuth,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D144548
2022-06-29 17:33:37 +00:00
Gijs Kruitbosch
07f341a6ea
Bug 1772001 - fix enterprise policy for using the temp folder for downloads, r=mkaply
...
Differential Revision: https://phabricator.services.mozilla.com/D147807
2022-05-31 23:47:39 +00:00
Mike Kaply
50e0a46202
Bug 1770960 - Enterprise policy for using system print dialog. r=mstriemer,fluent-reviewers,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D147212
2022-05-27 19:59:12 +00:00
Hannah Peuckmann
84fc37682a
Bug 1681495 - Switch clear cookies and site data checkbox to control sanitization prefs. r=pbz
...
Differential Revision: https://phabricator.services.mozilla.com/D140345
2022-05-19 14:08:16 +00:00
Kirk Steuber
8bf87d7b40
Bug 1762957 - Tests for Update Pinning r=bhearsum
...
Note that these tests only ensure that the pin is properly added to the update URL and to the telemetry. They do not test that the update applied will be of the correct version. This is because we are not attempting to have Firefox check if the update provided is valid given the pin, we are leaving it to the update server (Balrog) to find and serve the correct version.
Differential Revision: https://phabricator.services.mozilla.com/D143788
2022-05-16 20:55:07 +00:00
Mike Kaply
09fbd2879d
Bug 1722050 - Add policy for opening executable files based on domain/extension pairs. r=Gijs,fluent-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D144214
2022-05-12 15:22:38 +00:00
Bogdan Szekely
f0940a9a03
Backed out changeset 0a74e9a67faa (bug 1722050) for causing xpcshell failures on test_sorted_alphabetically.js. CLOSED TREE
2022-05-12 17:19:37 +03:00
Mike Kaply
5b3ec8b9b8
Bug 1722050 - Add policy for opening executable files based on domain/extension pairs. r=Gijs,fluent-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D144214
2022-05-12 13:17:30 +00:00
Mike Kaply
f26b216117
Bug 1754773 - Use new domain policy message for policy blocking. r=mixedpuppy
...
Differential Revision: https://phabricator.services.mozilla.com/D144834
2022-05-09 16:04:54 +00:00
Doug Thayer
3b737ed548
Bug 1756823 - Replace ConsoleAPIStorage observer calls with js array r=nchevobbe,webdriver-reviewers,geckoview-reviewers,agi,jdescottes
...
See the comment in the file explaining it. For a case of logging 100k numbers,
this dropped the time per number from 15 microseconds to 9 with the console
closed, and 55 microseconds to 38 with the console open. I think we could shave
off more with a native approach, but I don't know that it's worth it and it's
much more likely for that to introduce bugs.
Differential Revision: https://phabricator.services.mozilla.com/D143782
2022-05-03 17:21:59 +00:00
Shane Hughes
19d105fe6d
Bug 1762775 - Change download folder display in prefs UI. r=Gijs,fluent-reviewers,preferences-reviewers,desktop-theme-reviewers,dao,flod
...
The default download folder prefs are now counterintuitively used
whether browser.download.useDownloadDir is enabled or not, since we no
longer save downloads to the "temp" folder. But the display for these
prefs in about:preferences makes it seem as though the configured path
will not be used if the "Always ask..." option is selected. This patch
removes the radiogroup and replaces it with a checkbox, so that the
download folder path can be changed irrespective of useDownloadDir's
value (unless browser.download.dir is disabled by policy).
Differential Revision: https://phabricator.services.mozilla.com/D143555
2022-04-28 19:49:17 +00:00
Mike Kaply
f63f640b03
Bug 1520913 - Allow password manager exceptions in policy. r=mstriemer,fluent-reviewers,flod,preferences-reviewers,Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D142886
2022-04-14 19:41:32 +00:00
Mike Kaply
a83f31cc7d
Bug 1499095 - Remove engines hidden by policy after restoring defaults. r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D142888
2022-04-12 14:58:45 +00:00
Mike Kaply
a96831c59b
Bug 1762972 - Don't use head.js in standalone tests. r=mstriemer
...
Differential Revision: https://phabricator.services.mozilla.com/D142960
2022-04-07 18:46:32 +00:00
Mike Kaply
cdb2dfd8c5
Bug 1750863 - Refactor blocked about tests so they are run in more appropriate spots. r=mstriemer
...
Differential Revision: https://phabricator.services.mozilla.com/D142380
2022-04-04 16:16:45 +00:00
Gijs Kruitbosch
c7e262c3b0
Bug 1753696 - move common setup/init tasks in head.js files to use add_setup, r=Standard8
...
Without this, changing to add_setup in individual test files causes the tasks to be reordered, which causes tests to fail.
I also had to adjust an enterprise policy test that was expecting setup tests to run inbetween tasks.
Differential Revision: https://phabricator.services.mozilla.com/D142457
2022-03-30 16:16:43 +00:00
Gijs Kruitbosch
edda40141b
Bug 1753696 - Automatic rewrite: replace add_task(setup with add_setup in browser mochitest, r=Standard8,webcompat-reviewers,twisniewski
...
Differential Revision: https://phabricator.services.mozilla.com/D141437
2022-03-30 16:16:42 +00:00
Norisz Fay
e1d7571cc8
Backed out 2 changesets (bug 1753696) for causing multiple dt and bc failures CLOSED TREE
...
Backed out changeset 67fd9edfbcea (bug 1753696)
Backed out changeset a9d957ea887b (bug 1753696)
2022-03-30 12:17:55 +03:00
Gijs Kruitbosch
1214ac636b
Bug 1753696 - Automatic rewrite: replace add_task(setup with add_setup in browser mochitest, r=Standard8,webcompat-reviewers,twisniewski
...
Differential Revision: https://phabricator.services.mozilla.com/D141437
2022-03-30 08:18:51 +00:00
Julian Descottes
a35c1dd666
Bug 1609100 - Remove mentions of about:devtools from enterprisepolicies r=mkaply
...
Depends on D141464
The about:devtools page is removed, we can remove it from the policy code.
Differential Revision: https://phabricator.services.mozilla.com/D141467
2022-03-28 11:12:07 +00:00
Norisz Fay
c71e9ba091
Backed out 5 changesets (bug 1609100) for causing mochitest failures on browser_check_identity_state.js CLOSED TREE
...
Backed out changeset 521cbbae0914 (bug 1609100 )
Backed out changeset e22daee724f0 (bug 1609100 )
Backed out changeset e5c4afe5dd66 (bug 1609100 )
Backed out changeset e6ae2c01908e (bug 1609100 )
Backed out changeset 3e59351660ab (bug 1609100 )
2022-03-28 13:11:58 +03:00
Julian Descottes
863e0de840
Bug 1609100 - Remove mentions of about:devtools from enterprisepolicies r=mkaply
...
Depends on D141464
The about:devtools page is removed, we can remove it from the policy code.
Differential Revision: https://phabricator.services.mozilla.com/D141467
2022-03-28 08:57:36 +00:00
Luca Greco
a1fc8dcb1a
Bug 1759737 - Require user gesture on XPInstalls requests. r=mixedpuppy
...
Differential Revision: https://phabricator.services.mozilla.com/D141474
2022-03-23 19:42:27 +00:00
Marian-Vasile Laza
db2d7d75d2
Backed out changeset 9a5b9d5e5a20 (bug 1759737) for causing screenshots failures on browser_permissionPrompts.js. CLOSED TREE
2022-03-23 00:48:47 -07:00
Luca Greco
7e0c5884e8
Bug 1759737 - Require user gesture on XPInstalls requests. r=mixedpuppy
...
Differential Revision: https://phabricator.services.mozilla.com/D141474
2022-03-22 18:11:33 +00:00
Luca Greco
7e4583a2f2
Bug 1754441 - Explicit set prefs to enable InstallTrigger on all tests that depend on its availability. r=mixedpuppy
...
Differential Revision: https://phabricator.services.mozilla.com/D138793
2022-03-18 20:02:54 +00:00
Mike Kaply
b23f9a652f
Bug 1755354 - Add policy to remove More from Mozilla. r=pdahiya
...
Differential Revision: https://phabricator.services.mozilla.com/D139023
2022-02-17 20:15:30 +00:00
Sergey Galich
277f54a286
Bug 1653486 - Replace all non-user-facing references to "master" password. r=dimi,tgiles,preferences-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D138113
2022-02-17 17:29:57 +00:00
Mike Kaply
fd19f08365
Bug 1742167 - Disable managedbookmarks test on Linux. r=mstriemer
...
Differential Revision: https://phabricator.services.mozilla.com/D138811
2022-02-17 15:32:37 +00:00
Mike Kaply
ad19bc540a
Bug 1711870 - Use http-on-examine-response to block redirects in policy. r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D137869
2022-02-11 21:04:51 +00:00