8000
Skip to content

GM_registerMenuCommand may cause zombie compartments if a tab containing scripts with this function is opened in the background #1482

@Fanolian

Description

@Fanolian

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0