Closed Bug 937812 Opened 11 years ago Closed 2 years ago

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

Categories

(Toolkit Graveyard :: OS.File, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

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]
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → WONTFIX
Product: Toolkit → Toolkit Graveyard
You need to log in before you can comment on or make changes to this bug.