Closed
Bug 681206
Opened 13 years ago
Closed 13 years ago
loadFrameScript has no unload counterpart to allow bootstrapped addons to properly clean up
Categories
(Core :: IPC, defect)
Core
IPC
Tracking
()
RESOLVED
FIXED
People
(Reporter: Will, Assigned: smaug)
Details
(Keywords: dev-doc-complete)
Attachments
(1 file)
3.59 KB,
patch
|
jst
:
review+
|
Details | Diff | Splinter Review |
When a bootstrapped addon is shutdown, any global frame scripts it has previously loaded with the allow delayed load flag will remain and continue to execute for new tabs. Every time the addon is started without restarting the application, frame scripts multiply. Hopefully a solution similar to bug 481603 can be found.
Comment 1•13 years ago
|
||
Olli, it does strike me as strange that there's no way to stop a content script from being loaded in the future, but I'm surprised that this hasn't been an issue until now.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee | ||
Updated•13 years ago
|
Assignee: nobody → Olli.Pettay
Assignee | ||
Comment 2•13 years ago
|
||
Attachment #555153 -
Flags: review?(jst)
Updated•13 years ago
|
Attachment #555153 -
Flags: review?(jst) → review+
Assignee | ||
Comment 3•13 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/e0acef471ab2
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•13 years ago
|
Keywords: dev-doc-needed
Comment 4•13 years ago
|
||
Is this on Aurora (Fx9)?
Assignee | ||
Comment 5•13 years ago
|
||
Yes
Comment 6•13 years ago
|
||
Documentation updated: https://developer.mozilla.org/en/XPCOM_Interface_Reference/nsIChromeFrameMessageManager https://developer.mozilla.org/en/The_message_manager https://developer.mozilla.org/en/Firefox/Updating_add-ons_for_Firefox_9#Bootstrapped_add-ons_can_remove_delayed-load_scripts Also mentioned on Firefox 9 for developers.
Keywords: dev-doc-needed → dev-doc-complete
You need to log in
before you can comment on or make changes to this bug.
Description
•