Closed Bug 1722050 Opened 3 years ago Closed 2 years ago

Implement ExemptDomainFileTypePairsFromFileTypeDownloadWarnings

Categories

(Firefox :: Enterprise Policies, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
102 Branch
Tracking Status
firefox102 --- fixed

People

(Reporter: mkaply, Assigned: mkaply)

References

Details

Attachments

(1 file)

We've been making the ESR not warn about JNLP (see bug 1648786) for enterprises that still use it.

A better long term solution is to implement the Micrososft policy

ExemptDomainFileTypePairsFromFileTypeDownloadWarnings

https://docs.microsoft.com/en-us/deployedge/microsoft-edge-policies#disable-download-file-type-extension-based-warnings-for-specified-file-types-on-domains

From Gijs:

You'd want to add code at https://searchfox.org/mozilla-central/rev/2022d34edd5817948b27f093cd203ae6adb18a25/toolkit/components/downloads/DownloadIntegration.jsm#740-753 that consulted the list of safelisted origins from policy, using the origin associated with aDownload in that method, and skipped the prompt in that case.

Blocks: 1754525
Assignee: nobody → mozilla
Status: NEW → ASSIGNED
Pushed by mozilla@kaply.com:
https://hg.mozilla.org/integration/autoland/rev/0a74e9a67faa
Add policy for opening executable files based on domain/extension pairs. r=Gijs,fluent-reviewers

Backed out for causing xpcshell failures on test_sorted_alphabetically.js.
Push with failures
Failure log
Backout link

Flags: needinfo?(mozilla)

Well that's embarrassing. Patch updated.

Flags: needinfo?(mozilla)
Pushed by mozilla@kaply.com:
https://hg.mozilla.org/integration/autoland/rev/43d2e2a15bad
Add policy for opening executable files based on domain/extension pairs. r=Gijs,fluent-reviewers
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch
Blocks: 1771276
See Also: → 1771276
No longer blocks: 1771276
Regressions: 1771276
See Also: 1771276
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: