greasemonkey/greasemonkey — Issue #1482: GM_registerMenuCommand may cause zombie compartments if a tab containing scripts with this function is opened in the background
Author: Fanolian
Created: 2011-12-07 19:30:12+00:00
State: open

More info can be found at https://bugzilla.mozilla.org/show_bug.cgi?id=707403.
However, the user script mentioned in comment#0 has updated so you need to use another test case.

Steps to reproduce:
1. Install the latest Greasemonkey.
2. Enable a script that contains GM_registerMenuCommand.
3. Open a tab in background which would trigger the said script.
4. Close the tab, Open about:memory?verbose.
5. Minimize memory usage and check for the zombie compartment.

It should be noted that opening a tab in foreground does not create a zombie compartment.