Closed Bug 1716564 Opened 4 years ago Closed 4 years ago

Add test for checking whether or not we show the UnknownContentDialog for different file types

Categories

(Firefox :: Downloads Panel, task, P3)

task

Tracking

()

RESOLVED FIXED
91 Branch
Tracking Status
firefox91 --- fixed

People

(Reporter: mtigley, Assigned: ava8katushka)

References

Details

Attachments

(1 file)

We should add a test that ensures that when a user configures what Firefox does with certain file types, that action is respected. The following actions that can be:

  • Save to disk: file is just being downloaded
  • Handle internally: new tab is open with this file.
  • Handle with default app: default system app is opened. This might be a bit difficult to test.
  • Always ask: asking dialog is presented before file is being downloaded
Assignee: nobody → ava8katushka
Status: NEW → ASSIGNED
Pushed by mtigley@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/21bf8384ddfa Add test for saving files with download preferences r=mtigley
Flags: needinfo?(ava8katushka)

The problem is there is no system default handler for pdf on windows32 machine. So added the check if having system default handler is the case.
Try push for this test: https://treeherder.mozilla.org/#/jobs?repo=try&revision=75c878a800309052be5461be35a5d8a9ecf6ebee

Flags: needinfo?(ava8katushka)
Pushed by mtigley@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/13a8f52f4652 Add test for saving files with download preferences r=mtigley
Regressions: 1718316
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 91 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: