Closed
Bug 696213
Opened 13 years ago
Closed 13 years ago
Zombie compartments with Scriptish add-on and certain user-scripts for pages loaded at startup by SessionStore
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: morac, Unassigned)
References
Details
(Whiteboard: [MemShrink:P3])
Attachments
(1 file)
(deleted),
text/plain
|
Details |
I'm seeing Zombie Compartments with the Scriptish add-on installed and certain user scripts (ones that create elements in the host page) enabled if tabs that the scripts run in are loaded as part of SessionStore's session management. For example on a reload of the browser. Opening a tab and manually loading the page and then closing it does not result in a Zombie compartment.
This happens on the latest Minefield nightly load with only the Scriptish and Restartless Restart add-ons installed (nothing else). Disabling Scriptish or the associated user scripts prevents the Zombie compartments.
The Zombie compartment for pages will stick around after numerous minimize cache actions unless the browser window is closed, in which case the zombie compartment will go away.
So I'm guessing there's some kind of weird interaction between SessionStore and and Scriptish resulting in zombie compartments.
Comment 1•13 years ago
|
||
Triaging as MemShrink:P3, since this is due to an addon.
Whiteboard: [MemShrink] → [MemShrink:P3]
Reporter | ||
Comment 2•13 years ago
|
||
Updated•13 years ago
|
Blocks: LeakyAddons
Comment 3•13 years ago
|
||
Scriptish is a fork of GreaseMonkey. Michael, do you know if the problem exists with GreaseMonkey as well? I ask because AMO tells me that Scriptish has 43,000 users whereas GreaseMonkey has 3,000,000...
Reporter | ||
Comment 4•13 years ago
|
||
I don't know. Scriptish was rewritten to use Components and modules which attach to browser windows and tabs. GreaseMonkey runs in each window. While I have no proof, my guess is that GreaseMonkey probably would have this problem.
I haven't tested this for awhile though.
Comment 5•13 years ago
|
||
Adding a couple of Scriptish devs.
Comment 6•13 years ago
|
||
Michael, can you post more detailed steps to reproduce, like what user scripts will make the browser say "BRAINS!!!" when restoring what sites?
Comment 7•13 years ago
|
||
It's been a while and there are no STR. Please reopen if you have a way to replicate this problem, either with Scriptish of GreaseMonkey.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → INCOMPLETE
Comment 8•13 years ago
|
||
* or
You need to log in
before you can comment on or make changes to this bug.
Description
•