#563 ✓resolved
Walter White

GM_registerMenuCommand causes zombie compartments

Reported by Walter White | December 3rd, 2011 @ 06:22 PM | in v0.1.6

Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0a2) Gecko/20111203 Firefox/10.0a2
Scriptish 0.1.5

Steps to reproduce:
1. Create a new Firefox profile.
2. Install Scriptish from https://addons.mozilla.org/en-US/firefox/addon/scriptish/ and restart Firefox.
3. Create the following user script (include: "http*)":
function test() { alert("Test!"); };
GM_registerMenuCommand("Test", test);

4. Restart Firefox.
5. Open http://scriptish.org/.
6. Middle-click on "About" and "Screenshots" so two new tabs start loading in the background.
7. Close those tabs with middle click after they have finished loading. Do not switch to them.
8. Open about:memory and wait a minute.
9. Press "Minimize memory usage".

What you expected to happen:
Compartments for scriptish.org disappear.

What actually happened:
Compartments for scriptish.org are still alive.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins

People watching this ticket