Mike Kaply
c6f296a985
Bug 1838447 - Exclude EOL distribution IDs from enterprise telemetry. r=mstriemer
...
Differential Revision: https://phabricator.services.mozilla.com/D180947
2023-06-22 14:55:24 +00:00
Mike Kaply
0b16097473
Bug 1772503 - Keep policy locked preferences locked. r=mhowell,necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D181100
2023-06-20 12:17:49 +00:00
Sandor Molnar
5cd6d50a7b
Backed out changeset 208ba0efbefb (bug 1772503) for causing xpc failures in netwerk/test/unit/test_trr_enterprise_policy.js CLOSED TREE
2023-06-15 21:06:56 +03:00
Mike Kaply
0350e1278c
Bug 1772503 - Keep policy locked preferences locked. r=mhowell
...
Differential Revision: https://phabricator.services.mozilla.com/D181100
2023-06-15 16:01:20 +00:00
Rob Wu
bad812f243
Bug 1836482 - Replace AddonManager.jsm imports with AddonManager.sys.mjs r=Standard8,webcompat-reviewers,twisniewski
...
This patch was generated as follows:
Run:
`./mach esmify --imports . --prefix=toolkit/mozapps/extensions/AddonManager`
In the output there are linter/prettifier errors due to unused
XPCOMUtils or separate importESModule calls. These have been fixed
manually and verified with `./mach lint --outgoing`.
The `esmify` script also inserts many unwanted newlines around imports
that are broken on two lines due to length. Due to the number of these,
I fixed them programatically.
1. Create patch from the changes so far.
2. From the patch, delete all lines that consist of "+" (i.e. added blank line).
3. Reset the working dir and apply the revised patch.
4. Verify that the diff between step 1 and 3 looks reasonable.
5. Verify that this patch as a whole looks reasonable.
Commands:
```
git diff > rename.diff
:%g/^+$/d
git commit -va -m WIP-rename
git revert HEAD
git apply --recount rename.diff
git diff HEAD^ # and verify that the removed lines are ok.
git commit -va # one last review to verify correctness of whole patch.
git rebase -i HEAD~3 # drop the WIP + reverted commit, pick only the last.
```
`git apply` has the `--recount` option to force it to ignore mismatches
in line counts, which happens because we deleted added lines (^+$)
without fixing up the line counts in the file headers.
Differential Revision: https://phabricator.services.mozilla.com/D179874
2023-06-04 13:44:45 +00:00
Mark Banner
232facd440
Bug 1824613 - Convert consumers of toolkit/mozapps/extensions/ to import ES modules directly. r=extension-reviewers,settings-reviewers,application-update-reviewers,credential-management-reviewers,devtools-reviewers,sync-reviewers,sgalich,bytesized,robwu,skhamis
...
Depends on D179819
Differential Revision: https://phabricator.services.mozilla.com/D179820
2023-06-02 20:00:35 +00:00
Saira Abdulla
d8dc989e1b
Bug 1824612 - Convert consumers of toolkit/components/extensions to ES modules. r=robwu,webcompat-reviewers,geckoview-reviewers,settings-reviewers,application-update-reviewers,credential-management-reviewers,devtools-reviewers,cookie-reviewers,twisniewski,sgalich,valentin,nalexander,mconley,m_kato
...
Depends on D175553
Differential Revision: https://phabricator.services.mozilla.com/D176005
2023-05-31 15:27:03 +00:00
Iulian Moraru
05e26cad32
Backed out 2 changesets (bug 1824612) for causing dt failures on browser_dbg-features-source-tree.js. CLOSED TREE
...
Backed out changeset c3f38adc818e (bug 1824612)
Backed out changeset 58ba8bb3398a (bug 1824612)
2023-05-31 17:28:16 +03:00
Saira Abdulla
cac3d1f236
Bug 1824612 - Convert consumers of toolkit/components/extensions to ES modules. r=robwu,webcompat-reviewers,geckoview-reviewers,settings-reviewers,application-update-reviewers,credential-management-reviewers,devtools-reviewers,cookie-reviewers,twisniewski,sgalich,valentin,nalexander,mconley,m_kato
...
Depends on D175553
Differential Revision: https://phabricator.services.mozilla.com/D176005
2023-05-31 10:21:37 +00:00
Mark Banner
0666077666
Bug 1826062 - Automatic fixes for upgrading Prettier to 2.8.8. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,calu
...
Differential Revision: https://phabricator.services.mozilla.com/D177027
2023-05-20 12:26:53 +00:00
Mark Banner
91fde42f7b
Bug 1826062 - Automatic fixes for Prettier 2.0.5 upgrade. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,owlish
...
Differential Revision: https://phabricator.services.mozilla.com/D177025
2023-05-20 12:26:49 +00:00
Gregory Pappas
15b24de236
Bug 1833185 - Remove FlashPlugin policy r=mkaply
...
Differential Revision: https://phabricator.services.mozilla.com/D178080
2023-05-16 13:28:57 +00:00
Mark Banner
0fadbc1ec4
Bug 1829618 - Enable Prettier on json files (automatic fixes). r=perftest-reviewers,webcompat-reviewers,extension-reviewers,andi,desktop-theme-reviewers,pip-reviewers,devtools-reviewers,sync-reviewers,mossop,denschub,dao,sparky,robwu,geckoview-reviewers,owlish
...
Differential Revision: https://phabricator.services.mozilla.com/D176336
2023-05-09 16:14:51 +00:00
Bilal
19e224dcb3
Bug 1816987 - ESMified browser/components/enterprisepolicies/schemas r=kpatenio
...
Differential Revision: https://phabricator.services.mozilla.com/D174495
2023-04-27 19:23:00 +00:00
Bilal
34ec496fc7
Bug 1816999 - ESMified browser/components/shell. r=kpatenio
...
Differential Revision: https://phabricator.services.mozilla.com/D175274
2023-04-14 16:59:15 +00:00
Mark Banner
85d8bc064f
Bug 1826702 - Convert PermissionTestUtils to an ES module. r=permissions-reviewers,settings-reviewers,media-playback-reviewers,pbz,padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D174846
2023-04-06 15:07:56 +00:00
Mike Kaply
9f61099ced
Bug 1821068 - Allow policy to set initial container entries. r=sdk,fluent-reviewers,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D173536
2023-04-05 20:17:36 +00:00
Mike Kaply
a58ae0127e
Bug 1803804 - Add a specific signal for enterprise users. r=mstriemer
...
Differential Revision: https://phabricator.services.mozilla.com/D174489
2023-04-05 14:48:36 +00:00
Mike Kaply
c5bdf23e8b
Bug 1820195 - Special case pdfjs preferences in policy. r=hjones
...
Differential Revision: https://phabricator.services.mozilla.com/D171598
2023-03-07 15:17:45 +00:00
Tim Huang
7113e71ea4
Bug 1818313 - Add a enterprisepolicy for the email tracking protection. r=mkaply
...
This patch adds a "EmailTracking" enterprisepolicy under the
EnableTrackingProtection to control the email tracking protection.
Differential Revision: https://phabricator.services.mozilla.com/D170734
2023-02-28 09:12:13 +00:00
Noemi Erli
b47a332c25
Backed out 2 changesets (bug 1818313, bug 1818583) for causing bustage in UrlClassifierFeatureEmailTrackingProtection.cpp CLOSED TREE
...
Backed out changeset 18e789b52610 (bug 1818313)
Backed out changeset 61ba31a1183a (bug 1818583)
2023-02-24 23:53:11 +02:00
Tim Huang
aeb1a6e9ea
Bug 1818313 - Add a enterprisepolicy for the email tracking protection. r=mkaply
...
This patch adds a "EmailTracking" enterprisepolicy under the
EnableTrackingProtection to control the email tracking protection.
Differential Revision: https://phabricator.services.mozilla.com/D170734
2023-02-24 20:07:48 +00:00
Mark Banner
df47c60747
Bug 1806359 - Convert telemetry imports to direct ES imports. r=necko-reviewers,application-update-reviewers,pip-reviewers,credential-management-reviewers,janerik,mconley,sgalich,bytesized,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D165002
2022-12-23 12:37:07 +00:00
Mark Banner
5d1820b074
Bug 1799314 - Convert consumers of testing modules to import ES modules direct (browser/). r=Gijs,settings-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D161914
2022-11-17 12:00:30 +00:00
Kirk Steuber
8bbbac70d4
Bug 1727820 - Change nsIUpdateChecker consumers to use the new interface r=bhearsum
...
This patch misses one notable nsIUpdateChecker consumer: AppUpdater. This patch stack makes major changes to AppUpdater, so those changes will be made in their own patch later in this patch stack.
Differential Revision: https://phabricator.services.mozilla.com/D159295
2022-10-26 07:44:31 +00:00
Iulian Moraru
902802bebe
Backed out 18 changesets (bug 1727820) for causing mochitest failures. CLOSED TREE
...
Backed out changeset 04a0c1cbeeb3 (bug 1727820)
Backed out changeset a6633d97ba02 (bug 1727820)
Backed out changeset dd7cd58bdf72 (bug 1727820)
Backed out changeset 06b53d536ef1 (bug 1727820)
Backed out changeset 2cbec56223e5 (bug 1727820)
Backed out changeset 7ccc00d36f16 (bug 1727820)
Backed out changeset 023595d9cb76 (bug 1727820)
Backed out changeset 3dafccf3cf28 (bug 1727820)
Backed out changeset c60b9a6a79ce (bug 1727820)
Backed out changeset 9bbb0f0f1caf (bug 1727820)
Backed out changeset 6d8cf5f78de8 (bug 1727820)
Backed out changeset 8ed9a62d4c5a (bug 1727820)
Backed out changeset d429cf593dae (bug 1727820)
Backed out changeset 67ba1beb529a (bug 1727820)
Backed out changeset 15762d60d97e (bug 1727820)
Backed out changeset 04f5ad71363a (bug 1727820)
Backed out changeset 137f1da67f91 (bug 1727820)
Backed out changeset 5b91828ded9b (bug 1727820)
2022-10-26 01:25:06 +03:00
Kirk Steuber
c6ba4aa673
Bug 1727820 - Change nsIUpdateChecker consumers to use the new interface r=bhearsum
...
This patch misses one notable nsIUpdateChecker consumer: AppUpdater. This patch stack makes major changes to AppUpdater, so those changes will be made in their own patch later in this patch stack.
Differential Revision: https://phabricator.services.mozilla.com/D159295
2022-10-25 18:10:18 +00:00
William Durand
511ed597cf
Bug 1797050 - Part 2 - Use browser_specific_settings instead of applications in existing browser/components/enterprisepolicies/ tests. r=rpl,mkaply
...
We want to encourage extension developers to use `browser_specific_settings` instead of `applications`,
which will be unsupported in Manifest Version 3+. This patch prepares the introduction of a new warning
(that is usually converted into an error in the test environment).
Differential Revision: https://phabricator.services.mozilla.com/D160058
2022-10-25 14:58:57 +00:00
Norisz Fay
11a2b4ece2
Backed out 18 changesets (bug 1727820) for causing mochitest failures on browser_updateAsk.js CLOSED TREE
...
Backed out changeset 577d5618fcd1 (bug 1727820)
Backed out changeset 9e6a904ec81d (bug 1727820)
Backed out changeset d95a38c6e8b4 (bug 1727820)
Backed out changeset dc9b7d7e97ae (bug 1727820)
Backed out changeset 464b501ae051 (bug 1727820)
Backed out changeset 9729c6dd1aac (bug 1727820)
Backed out changeset 3c67eac7d52e (bug 1727820)
Backed out changeset 7c2a0dfca2d2 (bug 1727820)
Backed out changeset 2021fb0cba9e (bug 1727820)
Backed out changeset 7a02de8e6ca6 (bug 1727820)
Backed out changeset 6e9017360297 (bug 1727820)
Backed out changeset 0bfff694ce96 (bug 1727820)
Backed out changeset 746d1c708507 (bug 1727820)
Backed out changeset 3b14d8d1fb94 (bug 1727820)
Backed out changeset c8a1417f3528 (bug 1727820)
Backed out changeset 69ef434ae92c (bug 1727820)
Backed out changeset ad646b770b07 (bug 1727820)
Backed out changeset 18b9dd91761f (bug 1727820)
2022-10-25 05:31:39 +03:00
Kirk Steuber
80f78afa02
Bug 1727820 - Change nsIUpdateChecker consumers to use the new interface r=bhearsum
...
This patch misses one notable nsIUpdateChecker consumer: AppUpdater. This patch stack makes major changes to AppUpdater, so those changes will be made in their own patch later in this patch stack.
Differential Revision: https://phabricator.services.mozilla.com/D159295
2022-10-24 20:53:21 +00:00
Mark Banner
5407bdffa8
Bug 1792341 - Migrate more toolkit/modules consumers to use direct ES module import. r=Gijs,webdriver-reviewers,perftest-reviewers,necko-reviewers,geckoview-reviewers,preferences-reviewers,application-update-reviewers,pip-reviewers,credential-management-reviewers,sgalich,owlish,bytesized,AlexandruIonescu,whimboo,mconley,mixedpuppy
...
Mainly automated changes. Some manual ESLint fixes and whitespace cleanup.
Differential Revision: https://phabricator.services.mozilla.com/D158452
2022-10-18 11:21:26 +00:00
Mark Banner
dd58975736
Bug 1445134 - Load policy engines from enterprise policies at search service startup. r=mkaply,mcheang
...
Rather than having the enterprise policy push engine information to the search service, this pulls it from the policies whilst initialisation is in progress. This will ensure the search service always has the correct information for policy engines even if the search settings file is modified.
Differential Revision: https://phabricator.services.mozilla.com/D156538
2022-10-18 07:21:47 +00:00
Mark Banner
0fdad6488f
Bug 1445134 - Move most of browser_policy_search_engine.js to an xpcshell-test as it doesn't need to be run as mochitest. r=mkaply
...
Differential Revision: https://phabricator.services.mozilla.com/D158859
2022-10-18 07:21:45 +00:00
Butkovits Atila
46c834c673
Backed out 6 changesets (bug 1445134) for causing xpcshell failures. CLOSED TREE
...
Backed out changeset 59f902b761b5 (bug 1445134)
Backed out changeset 2ec41e23c593 (bug 1445134)
Backed out changeset b0dc583fff47 (bug 1445134)
Backed out changeset a09ccaf19501 (bug 1445134)
Backed out changeset 2d736481d13d (bug 1445134)
Backed out changeset 57ec56757493 (bug 1445134)
2022-10-17 17:54:39 +03:00
Mark Banner
c09198c67b
Bug 1445134 - Load policy engines from enterprise policies at search service startup. r=mkaply,mcheang
...
Rather than having the enterprise policy push engine information to the search service, this pulls it from the policies whilst initialisation is in progress. This will ensure the search service always has the correct information for policy engines even if the search settings file is modified.
Differential Revision: https://phabricator.services.mozilla.com/D156538
2022-10-17 12:56:07 +00:00
Mark Banner
920a4a27fb
Bug 1445134 - Move most of browser_policy_search_engine.js to an xpcshell-test as it doesn't need to be run as mochitest. r=mkaply
...
Differential Revision: https://phabricator.services.mozilla.com/D158859
2022-10-17 12:56:05 +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
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
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
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
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
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
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
9a61be5fde
Bug 1751037 - Properly disable PDFjs permissions. r=mtigley
...
Differential Revision: https://phabricator.services.mozilla.com/D137778
2022-02-10 14:15:11 +00:00