Log full hidden browser count after its creation

This commit is contained in:
Adomas Venčkauskas 2022-06-06 12:50:21 +03:00
parent caa0b05e5f
commit 62c7b4db2b

View file

@ -2098,7 +2098,7 @@ Zotero.Browser = new function() {
hiddenBrowser.docShell.allowJavascript = options.allowJavaScript !== false hiddenBrowser.docShell.allowJavascript = options.allowJavaScript !== false
hiddenBrowser.docShell.allowMetaRedirects = false; hiddenBrowser.docShell.allowMetaRedirects = false;
hiddenBrowser.docShell.allowPlugins = false; hiddenBrowser.docShell.allowPlugins = false;
Zotero.debug("Created hidden browser (" + (nBrowsers++) + ")"); Zotero.debug("Created hidden browser (" + (++nBrowsers) + ")");
return hiddenBrowser; return hiddenBrowser;
} }