mirror of https://github.com/gorhill/uBlock.git
minor code review + new revision for release candidate
This commit is contained in:
parent
53a794d9b2
commit
c0b0afadec
|
@ -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__",
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue