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
Francesco Lodolo (:flod)
b2c0cf3a3d
Bug 1780919 - Use Fluent term for Firefox Home, r=Gijs,fluent-reviewers,preferences-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D152592
2022-07-25 10:50:06 +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
328d63ce7f
Bug 1777486 - Part 2: Migrate XPCOMUtils.jsm consumers with automatic migration. r=webdriver-reviewers,geckoview-reviewers,preferences-reviewers,application-update-reviewers,pip-reviewers,kmag,owlish,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D151214
2022-07-12 04:21:34 +00:00
Andreea Pavel
f009ba2983
Backed out 11 changesets (Bug 1777486) for failing bc at browser_startup.js on a CLOSED TREE
...
Backed out changeset b6c4c386f1a6 (Bug 1777486)
Backed out changeset 195cc2de8433 (Bug 1777486)
Backed out changeset 20c746fb1648 (Bug 1777486)
Backed out changeset d5fd8173d62d (Bug 1777486)
Backed out changeset 6d758fab5a3e (Bug 1777486)
Backed out changeset e938b601ba15 (Bug 1777486)
Backed out changeset 0c4ea0b9416b (Bug 1777486)
Backed out changeset 0559c53cc668 (Bug 1777486)
Backed out changeset eea573d3a9f9 (Bug 1777486)
Backed out changeset 9ce3a6496a49 (bug 1777486)
Backed out changeset b0867652fc48 (bug 1777486)
2022-07-11 22:24:40 +03:00
Tooru Fujisawa
bf0a8b781b
Bug 1777486 - Part 2: Migrate XPCOMUtils.jsm consumers with automatic migration. r=webdriver-reviewers,geckoview-reviewers,preferences-reviewers,application-update-reviewers,pip-reviewers,kmag,owlish,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D151214
2022-07-11 15:09:13 +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
Tooru Fujisawa
b10d0289af
Bug 1667455 - Part 4: Stop importing Services.jsm from JSM. r=kmag,webdriver-reviewers,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,application-update-reviewers,pip-reviewers,twisniewski,devtools-reviewers,m_kato,jdescottes,ochameau,mconley,sfoster,AlexandruIonescu
...
Differential Revision: https://phabricator.services.mozilla.com/D150893
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
Sergey Galich
ca469bd8b6
Bug 1773047 - Remove the security.insecure_field_warning.contextual.enabled pref r=dimi,geckoview-reviewers,owlish
...
Differential Revision: https://phabricator.services.mozilla.com/D149550
2022-06-27 17:18:41 +00:00
Iulian Moraru
eafc4e9bfc
Backed out changeset 9c9b960cb8bf (bug 1773047) for causing multiple failures related to Autocomplete. CLOSED TREE
2022-06-22 22:02:41 +03:00
Sergey Galich
40ae641e5d
Bug 1773047 - Remove the security.insecure_field_warning.contextual.enabled pref r=dimi,geckoview-reviewers,owlish
...
Differential Revision: https://phabricator.services.mozilla.com/D149550
2022-06-22 17:48:18 +00:00
Mark Banner
6535c4d848
Bug 1774598 - Rework _initFromManifest to split out its component parts into the separate search engine classes. r=mcheang
...
Differential Revision: https://phabricator.services.mozilla.com/D149615
2022-06-17 20:41:09 +00:00
Tooru Fujisawa
b82c344b4a
Bug 1772100 - Part 7: Use plain object for lazy getter in browser/components/enterprisepolicies/. r=mkaply
...
Differential Revision: https://phabricator.services.mozilla.com/D148017
2022-06-06 22:46:22 +00:00
Tooru Fujisawa
ebcb6dfd9c
Bug 1772360 - Remove unnecessary call for XPCOMUtils.defineLazyGlobalGetters. r=florian,webdriver-reviewers,webcompat-reviewers,denschub,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D148168
2022-06-06 04:42:10 +00:00
Molnar Sandor
4c2b06df41
Backed out 15 changesets (bug 1772313, bug 1772351, bug 1772360) for causing xpc failures in telemetry/tests/unit/test_SocketScalars.js CLOSED TREE
...
Backed out changeset c8b0a2ed239e (bug 1772360)
Backed out changeset 1922adad6abe (bug 1772351)
Backed out changeset 6d3634cce489 (bug 1772351)
Backed out changeset f03968a9d053 (bug 1772351)
Backed out changeset e7a38ef90fe4 (bug 1772351)
Backed out changeset b389e7654771 (bug 1772313)
Backed out changeset 59a33598ff51 (bug 1772313)
Backed out changeset ab60885a8a93 (bug 1772313)
Backed out changeset aad8efac9d05 (bug 1772313)
Backed out changeset 4378e519a8e7 (bug 1772313)
Backed out changeset 302ac54741f8 (bug 1772313)
Backed out changeset 74c59f9fd51c (bug 1772313)
Backed out changeset 575fb877c56c (bug 1772313)
Backed out changeset 2eaa68f10b19 (bug 1772313)
Backed out changeset 4a8b3ba193dc (bug 1772313)
2022-06-06 07:04:25 +03:00
Tooru Fujisawa
81758ebac5
Bug 1772360 - Remove unnecessary call for XPCOMUtils.defineLazyGlobalGetters. r=florian,webdriver-reviewers,webcompat-reviewers,denschub,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D148168
2022-06-06 02:49:14 +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
Tooru Fujisawa
f2fe000ae7
Bug 1610653 - Part 1: Do not use global this property assignment to define global variable in browser/components. r=mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D144108
2022-05-30 15:19:35 +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
Gijs Kruitbosch
1d925a3a2d
Bug 1738574 - add an option to put downloads in tmp to start with, r=mak,mkaply,fluent-reviewers,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D146719
2022-05-24 12:54:42 +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
Andrew McCreight
5cedd55c3f
Bug 1514936, part 1 - Remove the outer argument to nsIFactory::createInstance. r=xpcom-reviewers,preferences-reviewers,nika,Gijs
...
This patch won't actually build, because a few bits of code are used
for both nsIFactory::createInstance and static components, and static
components are not fixed until the next patch.
The first place is nsLoadGroupConstructor, which uses an nsIFactory
macro to create a static component constructor. (This could be worked
around by expanding the macro to the state before this patch.)
The other issue is that nsAppShellConstructor is used in an nsIFactory
on OSX, but as a static component on all other platforms. This could
be worked around by wrapping nsAppShellConstructor in an adaptor that
passes in the extra null argument to nsAppShellConstructor.
Differential Revision: https://phabricator.services.mozilla.com/D146456
2022-05-17 20:24:19 +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
Kirk Steuber
92a5756b34
Bug 1762957 - Add Firefox Enterprise Policy for application update pinning r=mkaply,bhearsum,fluent-reviewers,flod
...
This patch also adds the capability for Policy implementations (in Policies.jsm) to have a `validate` function. If it returns `false`, the Enterprise Policy engine will consider the policy's parameter to be invalid and the policy will not be activated. This capability is used to validate the update pin policy's parameter to make sure that it takes the expected format ("X." or "X.Y.", where X is the pinned major version and Y is the pinned minor version).
Differential Revision: https://phabricator.services.mozilla.com/D143785
2022-05-16 20:55:05 +00:00
Tom Schuster
f5d14f8497
Bug 1760024 - Add a pref for checking file:// script loads. r=freddyb
...
Differential Revision: https://phabricator.services.mozilla.com/D146069
2022-05-13 11:13:09 +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