Bug 1369257 - add "scrollbars" to window features for identity.launchWebAuthFlow r=mixedpuppy
MozReview-Commit-ID: FTwyOUxG3K0
--- a/toolkit/components/extensions/ext-identity.js
+++ b/toolkit/components/extensions/ext-identity.js
@@ -49,17 +49,17 @@ const openOAuthWindow = (details, redire
let supportsStringPrefURL = Cc["@mozilla.org/supports-string;1"]
.createInstance(Ci.nsISupportsString);
supportsStringPrefURL.data = details.url;
args.appendElement(supportsStringPrefURL);
let window = Services.ww.openWindow(null,
Services.prefs.getCharPref("browser.chromeURL"),
"launchWebAuthFlow_dialog",
- "chrome,location=yes,centerscreen,dialog=no,resizable=yes",
+ "chrome,location=yes,centerscreen,dialog=no,resizable=yes,scrollbars=yes",
args);
return new Promise((resolve, reject) => {
let wpl;
// If the user just closes the window we need to reject
function unloadlistener() {
window.removeEventListener("unload", unloadlistener);