Bug 1167502 - Fix bc1 window property leaks by importing the TabStateFlusher into a variable r=bustage

This commit is contained in:
Tim Taubert 2015-05-22 21:13:49 -04:00
parent 623985e2b0
commit 2b8f8824b5
2 changed files with 2 additions and 2 deletions

View File

@ -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";

View File

@ -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";