Closed
Bug 369756
Opened 17 years ago
Closed 5 years ago
Cocoa file picker doesn't set mSelectedType in all cases
Categories
(Core :: Widget: Cocoa, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: WeirdAl, Unassigned)
References
Details
Spun off of bug 368285. Only the "PutLocalFiles" cas sets mSelectedType.
Reporter | ||
Comment 1•17 years ago
|
||
specifically bug 368285 comment 2.
Reporter | ||
Comment 2•17 years ago
|
||
also worth noting (but probably not needing its own bug) is http://lxr.mozilla.org/seamonkey/source/widget/src/cocoa/nsFilePicker.mm#577 and #588 : "do we still need this?" is definitely "yes", because the IDL requires it.
Reporter | ||
Comment 3•17 years ago
|
||
Additional test case, unresolved: what if the chrome code calling on this does the following: fp.appendFilter("XULRunner application", "*.ini"); fp.appendFilter("Some other ini file", "*.ini"); var buttonStatus = fp.show(); How should fp.filterIndex be resolved?
Comment 4•13 years ago
|
||
(In reply to comment #0) > Spun off of bug 368285. Only the "PutLocalFiles" cas sets mSelectedType. Actually, the real question is why PutLocalFiles is setting mSelectType?
Comment 5•5 years ago
|
||
Closing this since Components.classes
is no longer accessible to web content.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•