зеркало из https://github.com/mozilla/pjs.git
remove cruft from tests
This commit is contained in:
Родитель
832a18e3c3
Коммит
cc90bdd308
|
@ -1,12 +1,8 @@
|
|||
// Bug 356571 - loadOneOrMoreURIs gives up if one of the URLs has an unknown protocol
|
||||
|
||||
const Cc = Components.classes;
|
||||
const Ci = Components.interfaces;
|
||||
const Cr = Components.results;
|
||||
const Cm = Components.manager;
|
||||
|
||||
Components.utils.import("resource://gre/modules/XPCOMUtils.jsm");
|
||||
|
||||
// Set to true when docShell alerts for unknown protocol error
|
||||
var didFail = false;
|
||||
|
||||
|
|
|
@ -35,8 +35,6 @@
|
|||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
|
||||
|
||||
/*
|
||||
* Test the fix for bug 441778 to ensure site-specific page zoom doesn't get
|
||||
* modified by sub-document loads of content from a different domain.
|
||||
|
@ -53,9 +51,8 @@ function test() {
|
|||
let zoomLevel;
|
||||
|
||||
// Prepare the test tab
|
||||
let testTab = gBrowser.addTab();
|
||||
gBrowser.selectedTab = testTab;
|
||||
let testBrowser = gBrowser.getBrowserForTab(testTab);
|
||||
gBrowser.selectedTab = gBrowser.addTab();
|
||||
let testBrowser = gBrowser.selectedBrowser;
|
||||
|
||||
let finishTest = function() {
|
||||
testBrowser.removeProgressListener(progressListener);
|
||||
|
|
Загрузка…
Ссылка в новой задаче