Please provide a method on OS.File for opening a filepicker

NEW
Unassigned

Status

()

Toolkit
OS.File
5 years ago
4 years ago

People

(Reporter: WeirdAl, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [async], URL)

(Reporter)

Description

5 years ago
JS chrome developers should use OS.File instead of nsIFile, but the filepicker component predates OS.File by many years and still returns nsIFile.

If OS.File could wrap around the filepicker, that would help towards my use of it.

Promise<void> OS.File.picker(configObject), perhaps?
Whiteboard: [async]
You need to log in before you can comment on or make changes to this bug.