Enable JavaScript in hidden browsers. This fixes http://forums.zotero.org/discussion/21381/ (which occurs because document.domain differs even though the origin is the same) and is consistent with the behavior of the connectors.

This commit is contained in:
Simon Kornblith 2012-01-16 11:15:29 -05:00
parent 407e8ab32a
commit e16a0cb47a

View File

@ -2396,7 +2396,7 @@ Zotero.Browser = new function() {
hiddenBrowser.docShell.allowAuth = false;
hiddenBrowser.docShell.allowDNSPrefetch = false;
hiddenBrowser.docShell.allowImages = false;
hiddenBrowser.docShell.allowJavascript = false;
hiddenBrowser.docShell.allowJavascript = true;
hiddenBrowser.docShell.allowMetaRedirects = false;
hiddenBrowser.docShell.allowPlugins = false;
Zotero.debug("created hidden browser ("