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)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: Will, Assigned: smaug)

Details

(Keywords: dev-doc-complete)

Attachments

(1 file)

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.
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: nobody → Olli.Pettay
Attached patch patchSplinter Review
Attachment #555153 - Flags: review?(jst)
Attachment #555153 - Flags: review?(jst) → review+
http://hg.mozilla.org/mozilla-central/rev/e0acef471ab2
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Keywords: dev-doc-needed
Is this on Aurora (Fx9)?
Yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: