Make nsBaseFilePicker and nsFilePickerProxy operate on nsISupports to allow Directory objects to be picked

NEW
Assigned to

Status

()

Core
DOM
3 years ago
3 years ago

People

(Reporter: jwatt, Assigned: jwatt)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(firefox41 affected)

Details

Attachments

(1 attachment)

Comment hidden (empty)
(Assignee)

Comment 1

3 years ago
Created attachment 8625446 [details] [diff] [review]
patch
Attachment #8625446 - Flags: review?(amarchesini)
Comment on attachment 8625446 [details] [diff] [review]
patch

Review of attachment 8625446 [details] [diff] [review]:
-----------------------------------------------------------------

Actually, I'm working to remove nsIDOMBlob completely. What about if Blob and Directory has the same base class?
Then we can get rid of this nsIDOMBlob interface. Note that nsIDOMBlob is already a dummy interface (completely empty).
Attachment #8625446 - Flags: review?(amarchesini)
(Assignee)

Comment 3

3 years ago
You mean a base interface like a new nsIDOMBlobOrDirectory? Or some common non-IDL C++ class?
I think about some non-IDL refcnted C++ class. With some useful methods like "IsBlobOrFile()", "IsDirectory()", etc.
What do you think about it? If you want we can talk about that this week face-to-face.
You need to log in before you can comment on or make changes to this bug.