1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-07-08 04:49:12 +02:00

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;