Permalink
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...
1 parent b1467d9 commit 39467a307f58b63c1907c8d383e48475c98b0624 @erikvold erikvold committed Mar 25, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 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');

0 comments on commit 39467a3

Please sign in to comment.