minor code review + new revision for release candidate

This commit is contained in:
gorhill 2017-04-01 19:11:58 -04:00
parent 53a794d9b2
commit c0b0afadec
No known key found for this signature in database
GPG key ID: 25E1490B761470C2
2 changed files with 6 additions and 6 deletions

View file

@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "uBlock Origin",
"version": "1.11.5.105",
"version": "1.11.5.106",
"default_locale": "en",
"description": "__MSG_extShortDesc__",

View file

@ -60,10 +60,7 @@ function startup(data/*, reason*/) {
return;
}
let appShell = Cc['@mozilla.org/appshell/appShellService;1']
.getService(Ci.nsIAppShellService);
waitForHiddenWindow(appShell);
waitForHiddenWindow();
}
function createBgProcess(parentDocument) {
@ -109,7 +106,10 @@ function getWindowlessBrowserFrame(appShell) {
}
function waitForHiddenWindow(appShell) {
function waitForHiddenWindow() {
let appShell = Cc['@mozilla.org/appshell/appShellService;1']
.getService(Ci.nsIAppShellService);
let isReady = function() {
var hiddenDoc;