Last Comment Bug 681206 - loadFrameScript has no unload counterpart to allow bootstrapped addons to properly clean up
: loadFrameScript has no unload counterpart to allow bootstrapped addons to pro...
: dev-doc-complete
Product: Core
Classification: Components
Component: IPC (show other bugs)
: unspecified
: All All
-- normal (vote)
: ---
Assigned To: Olli Pettay [:smaug]
: Bill McCloskey (:billm)
Depends on:
  Show dependency treegraph
Reported: 2011-08-23 01:56 PDT by Will Elwood (:Will)
Modified: 2011-11-08 06:05 PST (History)
4 users (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---

patch (3.59 KB, patch)
2011-08-23 11:57 PDT, Olli Pettay [:smaug]
jst: review+
Details | Diff | Splinter Review

Description User image Will Elwood (:Will) 2011-08-23 01:56:08 PDT
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 User image Josh Matthews [:jdm] 2011-08-23 07:16:28 PDT
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.
Comment 2 User image Olli Pettay [:smaug] 2011-08-23 11:57:15 PDT
Created attachment 555153 [details] [diff] [review]
Comment 3 User image Olli Pettay [:smaug] 2011-08-24 03:48:17 PDT
Comment 4 User image Eric Shepherd [:sheppy] 2011-09-30 12:30:49 PDT
Is this on Aurora (Fx9)?
Comment 5 User image Olli Pettay [:smaug] 2011-09-30 12:32:28 PDT

Note You need to log in before you can comment on or make changes to this bug.