Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Bug 854566: test-window-utils-global-private-browsing.js fixes for Fe…

…nnec r=@gozala

(cherry picked from commit 26395ea)
  • Loading branch information...
commit 39467a307f58b63c1907c8d383e48475c98b0624 1 parent b1467d9
@erikvold erikvold authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/test-window-utils-global-private-browsing.js
View
4 test/test-window-utils-global-private-browsing.js
@@ -9,8 +9,6 @@ const { getFrames, getWindowTitle, onFocus, isWindowPrivate, windows, isBrowser
const { open, close, focus } = require('sdk/window/helpers');
const { isPrivate } = require('sdk/private-browsing');
const { pb } = require('./private-browsing/helper');
-const { Panel } = require('sdk/panel');
-const { Widget } = require('sdk/widget');
const { fromIterator: toArray } = require('sdk/util/array');
function makeEmptyBrowserWindow(options) {
@@ -29,6 +27,8 @@ exports.testShowPanelAndWidgetOnPrivateWindow = function(assert, done) {
var finished = false;
var privateWindow;
var privateWindowClosed = false;
+ var { Panel } = require('sdk/panel');
+ var { Widget } = require('sdk/widget');
pb.once('start', function() {
assert.pass('private browsing mode started');
Please sign in to comment.
Something went wrong with that request. Please try again.