Bug 1546338 - Follow-up: re-adjust cloud file account info iframe to be xul:iframe. r=me
authorJorg K <jorgk@jorgk.com>
Mon, 27 May 2019 01:35:32 +0200
changeset 35692 166ea12f3b4bbea3f958baf85096983f5f181959
parent 35691 13000cbf0633b3a34248cf310de2c4201388aa0d
child 35693 066da1c827a51483d07a8b64b09497fcc320b812
push id392
push userclokep@gmail.com
push dateMon, 02 Sep 2019 20:17:19 +0000
reviewersme
bugs1546338
Bug 1546338 - Follow-up: re-adjust cloud file account info iframe to be xul:iframe. r=me
mail/components/preferences/applications.js
--- a/mail/components/preferences/applications.js
+++ b/mail/components/preferences/applications.js
@@ -737,17 +737,17 @@ var gCloudFileTab = {
   },
 
   _showAccountInfo(aAccountKey) {
     let account = cloudFileAccounts.getAccount(aAccountKey);
     this._settingsDeck.selectedPanel = this._settingsPanelWrap;
 
     let url = account.managementURL + `?accountId=${account.accountKey}`;
 
-    let iframe = document.createElementNS("http://www.w3.org/1999/xhtml", "iframe");
+    let iframe = document.createXULElement("iframe");
     iframe.setAttribute("flex", "1");
     // allows keeping dialog background color without hoops
     iframe.setAttribute("transparent", "true");
 
     let type = url.startsWith("chrome:") ? "chrome" : "content";
     iframe.setAttribute("type", type);
     iframe.setAttribute("src", url);