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
492aff3fac
Bug 1741909 - Add new sitepermission extension type to enterprise policy. r=mixedpuppy
...
Differential Revision: https://phabricator.services.mozilla.com/D138698
2022-02-14 20:43:16 +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
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
Mike Kaply
a356924793
Bug 1750233 - Allow JSON policy to be a REG_SZ. r=mstriemer
...
Differential Revision: https://phabricator.services.mozilla.com/D136380
2022-01-21 18:17:01 +00:00
Barret Rennie
8c22bbb359
Bug 1747461 - Remove FileUtils.getFile from browser/components/enterprisepolicies r=mixedpuppy
...
Differential Revision: https://phabricator.services.mozilla.com/D134894
2022-01-19 18:37:24 +00:00
Mike Kaply
1f5b9e8ab8
Bug 1750221 - Block mixed case about URLs in policy. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D136010
2022-01-18 19:31:29 +00:00
Meg Viar
69fcd838a1
Bug 1741741 - Avoid showing Mozilla VPN in unsupported countries r=dmose,preferences-reviewers,pdahiya,Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D133903
2021-12-22 19:55:29 +00:00
Barret Rennie
d4d0b38902
Bug 1745357 - Remove osfile.jsm from browser/components/enterprisepolicies r=mixedpuppy
...
Differential Revision: https://phabricator.services.mozilla.com/D133831
2021-12-16 22:16:02 +00:00
Kirk Steuber
d64ef4c9c5
Bug 1738983 - Enable Background Update by default on Release r=nalexander,preferences-reviewers,Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D133949
2021-12-16 18:49:29 +00:00
Mike Kaply
4f8a55b680
Bug 1745065 - Add support for managing more ciphers in policy. r=keeler
...
Differential Revision: https://phabricator.services.mozilla.com/D133374
2021-12-10 15:12:33 +00:00
Mike Kaply
425337f888
Bug 1730218 - Fix suggest_url in policies. r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D131291
2021-11-29 17:27:40 +00:00
Emilio Cobos Alvarez
d388fbd1f1
Bug 1742696 - Opt-in a bunch of about:pages to dark system colors / form controls. r=Gijs,preferences-reviewers,webcompat-reviewers,twisniewski
...
Privileged pages do this automatically via:
https://searchfox.org/mozilla-central/rev/aa8c75b83f636948f708986173965c84cae8c25f/widget/nsXPLookAndFeel.cpp#1179-1183
So this makes everything more consistent. Known exceptions:
* Pocket panels (as those don't seem to support dark mode)
* about:reader (because it has its own dark mode handling)
Differential Revision: https://phabricator.services.mozilla.com/D132019
2021-11-25 21:24:43 +00:00
Mike Kaply
558f3681bd
Bug 1741204 - Consolidate cookie policy into one Behavior policy. r=pbz
...
Differential Revision: https://phabricator.services.mozilla.com/D131825
2021-11-23 18:57:53 +00:00
Mike Kaply
26e617cc01
Bug 1741560 - Handle unsigned XPI case in policy. r=john.bieling
...
Differential Revision: https://phabricator.services.mozilla.com/D131855
2021-11-23 13:50:07 +00:00
Mike Kaply
190b5f245d
Bug 1741217 - Hide private browsing option in managed bookmarks if private browsing is disabled. r=mtigley
...
Differential Revision: https://phabricator.services.mozilla.com/D131289
2021-11-19 20:06:19 +00:00
Mike Kaply
248d0311c1
Bug 1739716 - Add keyword.enabled and user stylesheet prefs to policy. r=mtigley
...
Differential Revision: https://phabricator.services.mozilla.com/D131010
2021-11-18 20:45:15 +00:00
Niklas Goegge
4e4ae334a9
Bug 1617611: Annotate each failing test individually. r=webdriver-reviewers,necko-reviewers,ckerschb,whimboo,valentin
...
Annotating each test individually lets us avoid introducing new failing tests
while we go through the backlog of failing tests.
Depends on D129162
Differential Revision: https://phabricator.services.mozilla.com/D129163
2021-11-17 11:04:34 +00:00
criss
350a48be09
Backed out 2 changesets (bug 1617611) for causing mochitest failures on storageAccessWithDynamicFpi.js. CLOSED TREE
...
Backed out changeset fdb2c6bfc0c6 (bug 1617611)
Backed out changeset c3352f4b3681 (bug 1617611)
2021-11-16 13:02:05 +02:00
Niklas Goegge
76c2b4259c
Bug 1617611: Annotate each failing test individually. r=webdriver-reviewers,necko-reviewers,ckerschb,whimboo,valentin
...
Annotating each test individually lets us avoid introducing new failing tests
while we go through the backlog of failing tests.
Depends on D129162
Differential Revision: https://phabricator.services.mozilla.com/D129163
2021-11-16 10:15:45 +00:00
Mike Kaply
7f9539537f
Bug 1664852 - Close menu at end of test. r=mtigley
...
Differential Revision: https://phabricator.services.mozilla.com/D130497
2021-11-15 23:27:26 +00:00
Mike Kaply
f57e433849
Bug 1481946 - Allow policy search engines to be updated. r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D130865
2021-11-15 22:21:23 +00:00
Mike Kaply
4403c3f97e
Bug 1741130 - Fix typo in addon install error. r=john.bieling DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D131140
2021-11-15 17:31:01 +00:00
Mike Kaply
16bdde2b1a
Bug 1737605 - Parse JSON directly from GPO so it's properly validated. r=mtigley
...
Differential Revision: https://phabricator.services.mozilla.com/D129845
2021-11-05 20:10:53 +00:00
Dimi
f4d9c3137c
Bug 1729640 - P3. Notify event when a form with password is submitted r=sfoster,tgiles,geckoview-reviewers,agi
...
Notify "passwordmgr-form-submission-detected" when a form with password
is submitted.
The event should be notified regardless of whether the password manager
decides to show the doorhanger or not. To support this, this patch
also refactors _maybeSendFormInteractionMessage function to distinguish
"onFormSubmit" event and "showDoorhanger" event.
Differential Revision: https://phabricator.services.mozilla.com/D127104
2021-11-05 17:11:31 +00:00
raquelvargas
600bed0652
Bug 1733549 - Remove uses of ChromeUtils.import(..., null) in enterprise policy code. r=Standard8,mkaply
...
Differential Revision: https://phabricator.services.mozilla.com/D129649
2021-11-05 09:49:47 +00:00
Csoregi Natalia
1ae4d521e0
Backed out 7 changesets (bug 1729640) for causing permafailures on browser_web_process_isolation.js. a=backout
...
Backed out changeset 5b2a1799ce4e (bug 1729640)
Backed out changeset fcd4b833ad73 (bug 1729640)
Backed out changeset 5ff8d3adc6eb (bug 1729640)
Backed out changeset b8fd0343ca42 (bug 1729640)
Backed out changeset fbd6928e34ef (bug 1729640)
Backed out changeset 4ce2eebab0c4 (bug 1729640)
Backed out changeset c7c50c85f911 (bug 1729640)
2021-11-04 23:44:26 +02:00
Dimi
175aead8da
Bug 1729640 - P3. Notify event when a form with password is submitted r=sfoster,tgiles,geckoview-reviewers,agi
...
Notify "passwordmgr-form-submission-detected" when a form with password
is submitted.
The event should be notified regardless of whether the password manager
decides to show the doorhanger or not. To support this, this patch
also refactors _maybeSendFormInteractionMessage function to distinguish
"onFormSubmit" event and "showDoorhanger" event.
Differential Revision: https://phabricator.services.mozilla.com/D127104
2021-11-04 11:17:03 +00:00
Norisz Fay
2ff718ddd2
Backed out 7 changesets (bug 1729640) for causing Bp-hybrid bustages on LoginDetectionService.o CLOSED TREE
...
Backed out changeset 4d3532da5652 (bug 1729640)
Backed out changeset 9ec5346cf9d9 (bug 1729640)
Backed out changeset 43dd05680186 (bug 1729640)
Backed out changeset f44a8f37d84c (bug 1729640)
Backed out changeset 66376bee8cef (bug 1729640)
Backed out changeset c7ffe85380d7 (bug 1729640)
Backed out changeset ae9c5de3902a (bug 1729640)
2021-11-02 16:33:01 +02:00
Dimi
78e2eab243
Bug 1729640 - P3. Notify event when a form with password is submitted r=sfoster,tgiles,geckoview-reviewers,agi
...
Notify "passwordmgr-form-submission-detected" when a form with password
is submitted.
The event should be notified regardless of whether the password manager
decides to show the doorhanger or not. To support this, this patch
also refactors _maybeSendFormInteractionMessage function to distinguish
"onFormSubmit" event and "showDoorhanger" event.
Differential Revision: https://phabricator.services.mozilla.com/D127104
2021-11-02 13:47:48 +00:00
Mike Kaply
4339739325
Bug 1724488 - Add sponsored content to FirefoxHome policy. r=thecount
...
Differential Revision: https://phabricator.services.mozilla.com/D129542
2021-10-26 21:56:46 +00:00