Commit Graph

624 Commits

Author SHA1 Message Date
Mike Kaply
ed4834dc3f Bug 1715965 - Handle errors for local XPIs installed by policy. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D120763
2021-07-27 14:42:43 +00:00
Iulian Moraru
4e871ab90b Backed out changeset e3e4ce3c1020 (bug 1715965) for causing xpcshell failures on test_addon_update.js. CLOSED TREE 2021-07-27 00:43:47 +03:00
Mike Kaply
a954e6f60f Bug 1715965 - Handle errors for local XPIs installed by policy. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D120763
2021-07-26 20:55:31 +00:00
Gijs Kruitbosch
c43492bf27 Bug 1512851 - tidy up file menu popup event handling, r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D120636
2021-07-26 12:22:37 +00:00
Mike Kaply
8c7798488c Bug 1692109 - No need to wait for menu hide. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D120676
2021-07-22 22:21:19 +00:00
Mike Kaply
18721e0477 Bug 1719301 - Remove version number from Windows SSO pref and policy. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D119187
2021-07-06 18:18:53 +00:00
Mike Kaply
73c98237a0 Bug 1716360 - Add policy for Windows 10 SSO. r=emalysz,flod
Differential Revision: https://phabricator.services.mozilla.com/D118042
2021-06-23 17:01:23 +00:00
Mike Kaply
8da3bdfee4 Bug 1716630 - Test for developer tools on app menu when developer tools are disabled is set. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D117933
2021-06-15 21:41:41 +00:00
Daisuke Akatsuka
764d8c46cc Bug 1709405: Make add engines compact. r=harry,desktop-theme-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D116057
2021-06-03 01:48:25 +00:00
Mike Kaply
59f1aaef9f Bug 1710796 - Don't show URL bar update hints if update is disabled. r=emalysz,mhowell
Differential Revision: https://phabricator.services.mozilla.com/D115245
2021-05-27 22:32:22 +00:00
Mike Kaply
f9e9c4ef97 Bug 1692159 - Disable saved password preference if disabled by policy. r=mixedpuppy,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D115655
2021-05-24 17:30:33 +00:00
Michelle Goossens
6cb6ba7640 Bug 1711498 - Remove checks for protonAppMenuEnabled or protonToolbarEnabled smart pref getters from tests r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D115651
2021-05-21 15:51:13 +00:00
Csoregi Natalia
bcd752b188 Backed out changeset e753adfbdc7d (bug 1710796) for failures on browser_policy_disable_app_update.js. CLOSED TREE 2021-05-21 00:32:39 +03:00
Mike Kaply
136e85bb64 Bug 1710796 - Don't show URL bar update hints if update is disabled. r=emalysz,mhowell
Differential Revision: https://phabricator.services.mozilla.com/D115245
2021-05-20 17:00:10 +00:00
Michelle Goossens
692ff0bb41 Bug 1711497 - Remove browser.proton.enabled checks/setters from tests r=Gijs,marionette-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D115539
2021-05-20 13:03:51 +00:00
Mike Kaply
01a5b74ee4 Bug 1710749 - If a website is blocked via policy, block about:reader r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D115066
2021-05-17 18:52:38 +00:00
Silke Hofmann
ee069252cb Bug 1710273 - Stop using ChromeUtils.import(..., null) for importing EnterprisePolicies.jsm. r=nhnt11,extension-reviewers,preferences-reviewers,zombie
Differential Revision: https://phabricator.services.mozilla.com/D115024
2021-05-12 23:16:33 +00:00
Markus Stange
d767385d17 Bug 1705120 - When a menu item in a native menu is activated, hide and close any non-native menus at the right times. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D114441
2021-05-07 17:00:22 +00:00
Valentin Gosu
66643c5bf0 Bug 1574475 - Remove FTP proxy code r=necko-reviewers,preferences-reviewers,mixedpuppy,mkaply,dragana
Differential Revision: https://phabricator.services.mozilla.com/D111248
2021-04-28 09:33:46 +00:00
Mike Kaply
4a29ffd947 Bug 1706119 - Add enterprise policy for open-protocol-handler permission. r=emalysz,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D113034
2021-04-26 19:17:11 +00:00
Narcis Beleuzu
359bfccedf Backed out 8 changesets (bug 1574475, bug 1699222) for build bustages on moz.build . CLOSED TREE
Backed out changeset 6c2c039872b3 (bug 1574475)
Backed out changeset 8a2a04743c5f (bug 1699222)
Backed out changeset 9437c60798d6 (bug 1574475)
Backed out changeset 7ef1884ac11b (bug 1574475)
Backed out changeset ec8c237d5298 (bug 1574475)
Backed out changeset 4a760b3f5d53 (bug 1574475)
Backed out changeset b229b0eea1e7 (bug 1574475)
Backed out changeset 03d34a2f10a6 (bug 1574475)
2021-04-22 18:10:59 +03:00
Valentin Gosu
52e46d11c4 Bug 1574475 - Remove FTP proxy code r=necko-reviewers,preferences-reviewers,mixedpuppy,mkaply,dragana
Differential Revision: https://phabricator.services.mozilla.com/D111248
2021-04-22 13:41:34 +00:00
Harry Twyford
9d064bf33b Bug 1705142 - Make browser_policy_managedbookmarks.js work with native context menus. r=mac-reviewers,mstange
Differential Revision: https://phabricator.services.mozilla.com/D112059
2021-04-15 13:45:47 +00:00
Kirk Steuber
932e0a6f30 Bug 1703302 - Remove app.background.experimental to show background update UI unconditionally r=nalexander,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D111199
2021-04-14 17:50:07 +00:00
Sarah Ukoha
d6f3a5ba00 Bug 1703813 - Replaced BrowserTestUtils.waitForCondition with TestUtils.waitForCondition in browser_policy_extensions.js. r=prathiksha
Differential Revision: https://phabricator.services.mozilla.com/D111263
2021-04-08 20:17:51 +00:00
Mike Kaply
58478d588c Bug 1696948 - Make sure password field displays when DisablePasswordReveal is used r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D110119
2021-03-31 18:10:52 +00:00
Emma Malysz
4825c023d7 Bug 1700792, fix intermittent test failure by closing app menu r=mkaply
Differential Revision: https://phabricator.services.mozilla.com/D110117
2021-03-29 16:55:50 +00:00
Mike Kaply
175a292324 Bug 1679826 - Allow disabling updates for addons installed by policy. r=emalysz,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D103381
2021-03-26 15:30:13 +00:00
Emma Malysz
c0ba2b2262 Bug 1700503, insert enterprise policy support menu item to app menu r=mkaply
Differential Revision: https://phabricator.services.mozilla.com/D109569
2021-03-24 20:48:28 +00:00
Scott
7d50c41836 Bug 1693376 - Move save to Pocket to the toolbar. r=Gijs,fluent-reviewers,gvn,flod
Differential Revision: https://phabricator.services.mozilla.com/D107744
2021-03-23 20:06:03 +00:00
Kirk Steuber
cb4ede06b8 Bug 1483399 - Add tests for the about:preferences UI for app.update.background.enabled r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D108707
2021-03-22 20:40:28 +00:00
Mike Kaply
33db4189e4 Bug 1691551 - Add enterprise policy for showing the home button. r=emalysz,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D108963
2021-03-19 22:07:05 +00:00
Mike Kaply
b1da93faf8 Bug 1697566 - Correct implementation of SkipOnboarding policy. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D107894
2021-03-12 20:02:49 +00:00
Kirk Steuber
3940adf848 Bug 1691495 - Add tests for app.update.background.enabled and its policy r=nalexander,mkaply
Note that I made this a browser test rather than an xpcshell test, despite not using any particular browser functionality. I made this choice because I expect to expand this test a bit later, adding checking for preferences UI, much like the browser_policy_app_auto_update.js test in the same directory does.

Depends on D107922

Differential Revision: https://phabricator.services.mozilla.com/D107923
2021-03-10 22:12:24 +00:00
Jens Stutte
3b47cc9695 Bug 1689953: Harmonize shutdown phase definitions across nsTerminator and AppShutdown r=dthayer,chutten
This patch wants to solve several quirks around the shutdown terminator.

 - Use the same shutdown phase definitions in AppShutdown and nsTerminator. This touches quite a few files.
 - Ensure that the terminator phase shift is handled before any shutdown observer notifications are sent and reduce its heartbeat duration.
 - Add missing phases to the shutdown telemetry.

Please note that this changes the unit of "tick" to 100ms rather than 1s.
As a side effect, we also remove the obsolete "shutdown-persist" context.

While the existing test coverage continues to prove the most important functions, we acknowledge the wish for better test coverage with [[ https://bugzilla.mozilla.org/show_bug.cgi?id=1693966 | bug 1693966 ]].

Differential Revision: https://phabricator.services.mozilla.com/D103626
2021-02-27 14:38:14 +00:00
Butkovits Atila
d0aa372d80 Backed out changeset be43a81b35f9 (bug 1689953) for causing failure at test_terminator_record.js. CLOSED TREE 2021-02-27 05:03:11 +02:00
Jens Stutte
3fddfccde0 Bug 1689953: Harmonize shutdown phase definitions across nsTerminator and AppShutdown r=dthayer,chutten
This patch wants to solve several quirks around the shutdown terminator.

 - Use the same shutdown phase definitions in AppShutdown and nsTerminator. This touches quite a few files.
 - Ensure that the terminator phase shift is handled before any shutdown observer notifications are sent and reduce its heartbeat duration.
 - Add missing phases to the shutdown telemetry.

Please note that this changes the unit of "tick" to 100ms rather than 1s.
As a side effect, we also remove the obsolete "shutdown-persist" context.

While the existing test coverage continues to prove the most important functions, we acknowledge the wish for better test coverage with [[ https://bugzilla.mozilla.org/show_bug.cgi?id=1693966 | bug 1693966 ]].

Differential Revision: https://phabricator.services.mozilla.com/D103626
2021-02-26 21:33:29 +00:00
Emma Malysz
e2150da0fa Bug 1690858: add safemode toggle to help menu r=mconley,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D104747
2021-02-16 16:51:45 +00:00
Mark Banner
c991d8611e Bug 1608272 - Remove 'this' as the second argument to 'ChromeUtils.import', use object destructuring instead (test-only changes). r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D104683
2021-02-11 22:02:15 +00:00
Andrew Osmond
0aba05519a Bug 1686946 - Ship Software WebRender to OSX early beta/nightly users without (full) WebRender. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D101933
2021-02-11 17:53:40 +00:00
Luca Greco
ecc3c2550a Bug 1525179 - Use aboutaddons.html at the root of about:addons. r=robwu
- Moved aboutaddons.html at the root of the about:addons page
- renamed aboutaddons.js `initialize` global function to `initializeView` (and renamed `show` and `hide` global functions accordingly)
- Simplify initial load logic a bit more:
  - remove gCategories
  - moved responsability of the CategoriesBox initialization to the `initializationView` function
  - replaced initialization logic based on `gPendingInitializations` and `notifyInitialized` with
    a `promiseInitialized` global resolved when `initializeView` method has been called and its return value resolved
- Fix test helpers and test failures
  - InlineOptionsBrowser: take into account that browser-custom-element does opt-in the delayedConnectedCallback behavior
    and browser.loadURI may throw if called while the document is still loading.

Differential Revision: https://phabricator.services.mozilla.com/D96472
2021-02-03 17:08:14 +00:00
Daisuke Akatsuka
ce770ca251 Bug 1607245: Batch notification of bookmark-removed events. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D103155
2021-02-03 11:56:52 +00:00
Mike Conley
08ae3982d7 Bug 1689632 - Simplify the Help menu a bit. r=emalysz,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D103489
2021-02-01 15:31:30 +00:00
Tim Nguyen
c73c17d40f Bug 1689727 - Stop using XUL <deck> for #updateDeck. r=preferences-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D103519
2021-01-30 15:02:35 +00:00
Magnus Melin
e24622e760 Bug 1688857 - remove leftover reference to the old xul about:config page. r=mkaply
Differential Revision: https://phabricator.services.mozilla.com/D103034
2021-01-26 19:25:05 +00:00
Mark Banner
da7df5a68d Bug 1649164 - Add an encoding option for policy search engines and change the default to UTF-8. r=mkaply
This will cause the default for any new policy engine in a profile, or an updated engine, to be UTF-8, unless specified by the policy.

Differential Revision: https://phabricator.services.mozilla.com/D100666
2021-01-05 09:48:52 +00:00
Michael Kaply
2028255e17 Bug 1680095 - Block Save Link As if site is blocked by policy. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D98527
2020-12-07 16:37:12 +00:00
Andrew McCreight
929d05c0ac Bug 1678413 - Release listeners for nsViewSourceChannel. r=necko-reviewers,dragana
Release the two kinds of listeners that view source channel has
if AsyncOpen fails, or in OnStop. This matches the behavior of
HttpChannelChild. The former change fixes a leak when view source
channels are blocked by enterprise policies.

It looks like clang-format deleted the double include of
nsViewSourceChannel.h.

Differential Revision: https://phabricator.services.mozilla.com/D98223
2020-11-30 21:09:31 +00:00
Marco Bonardo
5fee7240ed Bug 1677408 - Part 4 - Replace onItemVisited with page-visited. r=Standard8
Rather than fetching bookmarks from the disk for each page-visited notification,
we just let the result to recursively find and update children in the memory
structure.

Differential Revision: https://phabricator.services.mozilla.com/D97277
2020-11-23 16:28:04 +00:00
Butkovits Atila
c08d529090 Backed out 7 changesets (bug 1677408) for bustages on nsNavHistory.cpp. CLOSED TREE
Backed out changeset 1e0dc9aaa979 (bug 1677408)
Backed out changeset 4198bc35198c (bug 1677408)
Backed out changeset ff93f264138b (bug 1677408)
Backed out changeset 0f2d72d2ed5a (bug 1677408)
Backed out changeset 996cbd111957 (bug 1677408)
Backed out changeset b0c23854e117 (bug 1677408)
Backed out changeset f7d6cc5e4457 (bug 1677408)
2020-11-23 16:49:31 +02:00