Closed Bug 439619 Opened 16 years ago Closed 16 years ago

Extension manager "Install..." fails if appendFilter iface not implemented

Categories

(Toolkit :: Add-ons Manager, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9.1a2

People

(Reporter: romaxa, Assigned: romaxa)

References

Details

Attachments

(1 file)

Attached patch Bugfix (deleted) — Splinter Review
Extension manager Install from file functionality fails if AppendFilter not implemented in FilePicker.
Attachment #325395 - Flags: review?(robert.bugzilla)
On what platforms is appendFilter not implemented?
Currently it is not implemented on maemo-gtkmozembed filepicker... https://garage.maemo.org/svn/browser/mozilla/trunk/libgtkembedmoz/gtk/src/EmbedFilePicker.cpp Of course it is not a big issue, but timeless says that it better to make this thing not critical and move it into try condition.
I would suggest that it might be better to just make the appendFilter(s) methods successful no-ops. I think that will make lives a lot easier for extension authors wanting to port their extension to the mobile platform
mossop: there's no contract that says what it should do. it's very easy for this not to be implemented on an embedding platform (and the right default behavior for not implemented is an exception). we will probably make our impl to return ns_ok, however we're asking you to make this change anyway.
Attachment #325395 - Flags: review?(robert.bugzilla) → review+
Product: Firefox → Toolkit
Is there a reason this hasn't landed yet?
checkin-needed flag required?
Keywords: checkin-needed
Assignee: nobody → romaxa
Status: NEW → RESOLVED
Closed: 16 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.1a2
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: