Closed
Bug 1007732
Opened 12 years ago
Closed 12 years ago
mapURIToAddonID fails for bootstrapped add-ons detected at startup
Categories
(Toolkit :: Add-ons Manager, defect)
Tracking
()
RESOLVED
FIXED
mozilla32
People
(Reporter: mossop, Assigned: mossop)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
|
10.27 KB,
patch
|
Unfocused
:
review+
|
Details | Diff | Splinter Review |
For some reason the fixes in bug 986755 don't work for the cfx run case
| Assignee | ||
Updated•12 years ago
|
Assignee: nobody → dtownsend+bugmail
| Assignee | ||
Comment 1•12 years ago
|
||
Bug causes us to throw away URI mappings for bootstrapped add-ons detected at startup
Blocks: 957089
Component: Developer Tools: Debugger → Add-ons Manager
Product: Firefox → Toolkit
Summary: Grouping by XPI breaks when running an add-on with cfx run → mapURIToAddonID fails for bootstrapped add-ons detected at startup
| Assignee | ||
Comment 2•12 years ago
|
||
The way we build up locations for mapURIToAddonID is sort of crazy, parsing through the installcache pref and other bits to get stuff. It also gets wiped out during startup after some of the mappings have been set when a new restartless add-on is detected.
I think it's much saner to do it as part of the install location scan. We already have direct access to all the add-on's locations there so it's trivial to record them.
This has a side effect. We can now map all disabled add-ons. Previously we could only map disabled add-ons if they had been previously enabled. I don't think this is a bad thing but if we still need the old behaviour then I think there are easier ways to get there than the way the current system works.
Attachment #8420201 -
Flags: review?(bmcbride)
Comment 3•12 years ago
|
||
Comment on attachment 8420201 [details] [diff] [review]
patch
Review of attachment 8420201 [details] [diff] [review]:
-----------------------------------------------------------------
Oh, huh - that's much more elegant!
Attachment #8420201 -
Flags: review?(bmcbride) → review+
| Assignee | ||
Comment 4•12 years ago
|
||
Comment 5•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla32
| Assignee | ||
Comment 6•12 years ago
|
||
This potentially breaks the add-on debugger and about:memory for add-ons detected at startup. I don't think that's enough of a problem to want to press on with an uplift but could be argued otherwise.
tracking-firefox31:
--- → ?
Updated•12 years ago
|
Comment 7•12 years ago
|
||
No activity for a month on this bug and no uplift request after the aurora cycle. I guess we don't want an uplift here.
You need to log in
before you can comment on or make changes to this bug.
Description
•