Closed
Bug 617055
Opened 14 years ago
Closed 14 years ago
Failed file access because of packedxpi should trigger an error
Categories
(Firefox :: Extension Compatibility, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: tbertels+bugzilla, Unassigned)
References
Details
Since bug 533038 landed, extensions accessing files in their xpi are not going to work anymore.
An error in the error console would make it easier to figure out for the extension developers.
Comment 1•14 years ago
|
||
What access pattern are you talking about? __LOCATION__? Using __LOCATION__ in a JS component would end up undefined, which would normally throw pretty quickly anyway.
Component: XPConnect → Extension Compatibility
Product: Core → Firefox
QA Contact: xpconnect → extension.compatibility
Reporter | ||
Comment 2•14 years ago
|
||
In my case, I suppose it's linked to the usage of "style="background: url(chrome://" in a "<xul:hbox", but any usage case mentioned on https://developer.mozilla.org/en/Extensions/Updating_extensions_for_Firefox_4#XPI_unpacking should throw if it doesn't already.
Comment 3•14 years ago
|
||
(In reply to comment #2)
> In my case, I suppose it's linked to the usage of "style="background:
> url(chrome://" in a "<xul:hbox"
Access to chrome urls should work just as before I believe.
Reporter | ||
Comment 4•14 years ago
|
||
Well, I can't think of anything else.
The package files are accessed with:
- "style="background: url(chrome://" in a "<xul:hbox" (already mentioned) (PNG images)
- ".setAttribute("src", "chrome://" (PNG images)
- "moz-binding: url("chrome://" (XML file)
- "scriptinc.loadSubScript("chrome://minimeter" (JS file)
The last one works correctly, but at least one of the others doesn't.
The extension is Minimeter (https://addons.mozilla.org/fr/firefox/addon/1652/)
Comment 5•14 years ago
|
||
All of those should work. For the moment, closing this as INCOMPLETE. Please reopen with specific detail or a minimized testcase.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → INCOMPLETE
Reporter | ||
Comment 6•14 years ago
|
||
It seems that it was temporary.
Resolution: INCOMPLETE → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•