mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-09 01:08:39 +09:00
[Pale-Moon] Issue #1972 - Implement ghostbuster
This commit is contained in:
parent
d004b26d7f
commit
fa2fdbe24e
3 changed files with 43 additions and 0 deletions
|
|
@ -2134,6 +2134,13 @@
|
|||
var browser = this.getBrowserForTab(aTab);
|
||||
this._outerWindowIDBrowserMap.delete(browser.outerWindowID);
|
||||
|
||||
if (Services.prefs.getBoolPref("browser.ghostbuster.enabled", true)) {
|
||||
Cu.unlinkGhostWindows();
|
||||
#ifdef DEBUG
|
||||
dump("Unlinking ghost windows has run on tab close.\n");
|
||||
#endif
|
||||
}
|
||||
|
||||
// Because of the way XBL works (fields just set JS
|
||||
// properties on the element) and the code we have in place
|
||||
// to preserve the JS objects for any elements that have
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue