Closed Bug 1592550 Opened 5 years ago Closed 5 years ago

Allow saveAs util function to be passed an array of filters

Categories

(DevTools :: Shared Components, task, P3)

task

Tracking

(firefox72 fixed)

RESOLVED FIXED
Firefox 72
Tracking Status
firefox72 --- fixed

People

(Reporter: nchevobbe, Assigned: nchevobbe)

Details

Attachments

(1 file)

The saveAs function in devtools/shared/DevToolsUtils.js#798-819 should be able to be passed an array of filters that will be used in the save file dialog.

A new parameter is added, and it expect an array
of filter objects (which contain a pattern and
a label properties), which are going to be used
by the save file dialog.

Depends on D51070

Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ede68f0eeb90
Allow saveAs util function to be passed an array of filters. r=Honza.
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 72
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: