Closed
Bug 621406
Opened 14 years ago
Closed 6 years ago
extension registering a stream converter does not work in child process.
Categories
(Firefox for Android Graveyard :: Extension Compatibility, defect)
Tracking
(fennec-)
RESOLVED
WONTFIX
Tracking | Status | |
---|---|---|
fennec | - | --- |
People
(Reporter: tim.babych, Unassigned)
Details
Attachments
(1 file)
2.44 KB,
application/x-xpinstall
|
Details |
When a streamconverter for mimetype "application/fb2" is registered, it is
not called when a file with this mimetype is downloaded from a website. It works without a problem in Firefox 4 beta 8.
Please check the attached testcase xpi which is a stripped down version of my
extension.
It is not the same as bug 562638, because Content-Disposition is not involved here, test URL is http://clear.com.ua/misc/fb2/1%20-%20Pratchett%20-%20The%20Color%20of%20Magic.fb2
Firefox 4 beta 8 output:
FB2 URI match on http://clear.com.ua/misc/fb2/1%20-%20Pratchett%20-%20The%20Color%20of%20Magic.fb2
FB2 asyncConvertData
FB2 onStartRequest
FB2 onDataAvailable
FB2 onStopRequest
Fennec 4 beta 3 output:
FB2 URI match on http://clear.com.ua/misc/fb2/1%20-%20Pratchett%20-%20The%20Color%20of%20Magic.fb2
Updated•14 years ago
|
tracking-fennec: --- → ?
Comment 1•14 years ago
|
||
what platform are you testing on?
Reporter | ||
Comment 2•14 years ago
|
||
Linux i686 desktop build on Ubuntu 10.10 x64.
Comment 3•14 years ago
|
||
I am guessing this is an e10s issue
Updated•14 years ago
|
Assignee: nobody → doug.turner
tracking-fennec: ? → 2.0+
Updated•14 years ago
|
Assignee: doug.turner → azakai
Comment 4•14 years ago
|
||
Hmm, HelperAddDialog.show receives aLauncher with a MIMEInfo that has the proper MIMEType - application/fb2 - but hasDefaultHandler is false. So we show a notification that no application exists to open the content, and an option is given to save it to disk.
I am guessing we shouldn't even get to HelperAppDialog?
Comment 5•14 years ago
|
||
The issue is that the stream converter defined in the plugin, is not seen in the child. More specifically, do_CreateInstance is called on a contract ID for the required conversion, but it fails in Fennec in the child process (but works in Firefox in the single process).
So, we need to remote something here. It isn't obvious to me what. Any thoughts?
Comment 6•14 years ago
|
||
Jason, This is an example of an extension registering a stream converter and it failing to work.
I'd love to see this fixed, but I am 2.0- this.
tracking-fennec: 2.0+ → 2.0-
Updated•14 years ago
|
Summary: Streamconverter is not called (2) → extension registering a stream converter does not work in child process.
Comment 7•14 years ago
|
||
This is not something that I wish to be fixed in general (extension being able to register contracts in the content process). If there is a specific use case such as stream conversion that we want/need to support, we should design an API for that issue specifically.
Comment 8•14 years ago
|
||
Do we have any thoughts on what kind of API we want to support here?
Assignee: azakai → nobody
Comment 9•6 years ago
|
||
Closing all opened bug in a graveyard component
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•