Bug 1316389 - Follow-up: removed code repetition. rs=jorgk DONTBUILD AURORA_BASE_20161114
authorJorg K <jorgk@jorgk.com>
Mon, 14 Nov 2016 17:56:04 +0100
changeset 20707 9245026f182fb3f20c12698d7197b3938c88b6f8
parent 20706 e2be7d3144fee121057be6a33cae52310f8fd2ce
child 20708 f02700473c5dbc646d8f050df44ec9c8f4175727
push id12531
push usermozilla@jorgk.com
push dateMon, 14 Nov 2016 16:58:43 +0000
treeherdercomm-central@9245026f182f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjorgk
bugs1316389
Bug 1316389 - Follow-up: removed code repetition. rs=jorgk DONTBUILD
mail/base/content/mailWindow.js
--- a/mail/base/content/mailWindow.js
+++ b/mail/base/content/mailWindow.js
@@ -633,17 +633,17 @@ function InformUserOfCertError(socketInf
 
 function nsBrowserAccess() { }
 
 nsBrowserAccess.prototype = {
   QueryInterface: XPCOMUtils.generateQI([Components.interfaces.nsIBrowserDOMWindow]),
 
   openURI: function (aURI, aOpener, aWhere, aFlags) {
     const nsIBrowserDOMWindow = Components.interfaces.nsIBrowserDOMWindow;
-    let isExternal = !!(aFlags & Components.interfaces.nsIBrowserDOMWindow.OPEN_EXTERNAL);
+    let isExternal = !!(aFlags & nsIBrowserDOMWindow.OPEN_EXTERNAL);
     if (isExternal && aURI && aURI.schemeIs("chrome")) {
       Services.console.logStringMessage("use -chrome command-line option to load external chrome urls\n");
       return null;
     }
 
     let newWindow = null;
     let loadflags = isExternal ?
       Components.interfaces.nsIWebNavigation.LOAD_FLAGS_FROM_EXTERNAL :