Bug 1567785 - Convert XUL textbox to HTML input in toolkit/components/prompts/content/commonDialog.xul. r=bgrins
☠☠ backed out by 220a3c19ebd3 ☠ ☠
authorTim Nguyen <ntim.bugs@gmail.com>
Wed, 25 Sep 2019 22:45:45 +0000
changeset 495002 39311d3f058afa25c80879bd45dfca35242cca91
parent 495001 bb918aa3c389d3e78e5cbefffbacdb0faefea6a0
child 495003 adcea01bb08d56ec4053934a394f0dbfcc977b28
push id114131
push userdluca@mozilla.com
push dateThu, 26 Sep 2019 09:47:34 +0000
treeherdermozilla-inbound@1dc1a755079a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbgrins
bugs1567785
milestone71.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1567785 - Convert XUL textbox to HTML input in toolkit/components/prompts/content/commonDialog.xul. r=bgrins Differential Revision: https://phabricator.services.mozilla.com/D38823
toolkit/components/prompts/content/commonDialog.xul
--- a/toolkit/components/prompts/content/commonDialog.xul
+++ b/toolkit/components/prompts/content/commonDialog.xul
@@ -7,22 +7,24 @@
 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
 <?xml-stylesheet href="chrome://global/content/commonDialog.css" type="text/css"?>
 <?xml-stylesheet href="chrome://global/skin/commonDialog.css" type="text/css"?>
 
 <!DOCTYPE dialog SYSTEM "chrome://global/locale/commonDialog.dtd">
 
 <dialog id="commonDialog"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
+        xmlns:html="http://www.w3.org/1999/xhtml"
         aria-describedby="infoBody"
         onunload="commonDialogOnUnload();"
         buttonpack="center">
 
   <script src="chrome://global/content/commonDialog.js"/>
   <script src="chrome://global/content/globalOverlay.js"/>
+  <script src="chrome://global/content/editMenuOverlay.js"/>
   <script src="chrome://global/content/customElements.js"/>
   <script>
     document.addEventListener("DOMContentLoaded", function() {
       commonDialogOnLoad();
     });
   </script>
 
   <commandset id="selectEditMenuItems">
@@ -73,21 +75,21 @@
             style="margin-bottom: 1em"
 #endif
           />
           <description id="infoBody" context="contentAreaContextMenu" noinitialfocus="true"/>
         </vbox>
       </row>
       <row id="loginContainer" hidden="true" align="center">
         <label id="loginLabel" value="&editfield0.label;" control="loginTextbox"/>
-        <textbox id="loginTextbox"/>
+        <html:input id="loginTextbox"/>
       </row>
       <row id ="password1Container" hidden="true" align="center">
         <label id="password1Label" value="&editfield1.label;" control="password1Textbox"/>
-        <textbox type="password" id="password1Textbox"/>
+        <html:input type="password" id="password1Textbox"/>
       </row>
       <row id="checkboxContainer" hidden="true">
         <spacer/>
         <checkbox id="checkbox" oncommand="Dialog.onCheckbox()"/>
       </row>
     </rows>
   </grid>