Open Bug 937812 Opened 8 years ago Updated 7 years ago

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

Categories

(Toolkit :: OS.File, defect)

defect
Not set
normal

Tracking

()

People

(Reporter: WeirdAl, Unassigned)

References

()

Details

(Whiteboard: [async])

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.