mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1167502 - Fix bc1 window property leaks by importing the TabStateFlusher into a variable r=bustage
This commit is contained in:
parent
623985e2b0
commit
2b8f8824b5
@ -1,7 +1,7 @@
|
||||
/* Any copyright is dedicated to the Public Domain.
|
||||
* http://creativecommons.org/publicdomain/zero/1.0/ */
|
||||
|
||||
Cu.import("resource:///modules/sessionstore/TabStateFlusher.jsm");
|
||||
const {TabStateFlusher} = Cu.import("resource:///modules/sessionstore/TabStateFlusher.jsm", {});
|
||||
|
||||
const DUMMY = "http://example.com/browser/browser/base/content/test/general/dummy_page.html";
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
"use strict";
|
||||
|
||||
Cu.import("resource:///modules/sessionstore/TabStateFlusher.jsm");
|
||||
const {TabStateFlusher} = Cu.import("resource:///modules/sessionstore/TabStateFlusher.jsm", {});
|
||||
|
||||
add_task(function*() {
|
||||
let uri = "http://example.com/browser/browser/base/content/test/general/dummy_page.html";
|
||||
|
Loading…
Reference in New Issue
Block a user