Spun off of bug 368285. Only the "PutLocalFiles" cas sets mSelectedType.
specifically bug 368285 comment 2.
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.
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?
(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?
Status: NEW → RESOLVED
Closed: 5 months ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.