Bug 1369257 - add "scrollbars" to window features for identity.launchWebAuthFlow r=mixedpuppy draft bz1369257
authorvladikoff <vlad.filippov@gmail.com>
Mon, 27 Nov 2017 21:21:22 -0500
branchbz1369257
changeset 703992 c3c96d9cc0d43b98142e5a3bb0f8b20312b33555
parent 703941 f5f03ee9e6abf77964f8dc1b9d69c6ccd3f655fd
child 741954 f25ce83da11e3b4eb87f1ef6e02558ad7d3a78f0
push id91023
push userbmo:vlad@vladikoff.com
push dateTue, 28 Nov 2017 02:24:36 +0000
reviewersmixedpuppy
bugs1369257
milestone59.0a1
Bug 1369257 - add "scrollbars" to window features for identity.launchWebAuthFlow r=mixedpuppy MozReview-Commit-ID: FTwyOUxG3K0
toolkit/components/extensions/ext-identity.js
--- 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);