Bug 1555072 - Port bug 1549560: Move HTMLDocument.open/close/write/writeln to Document. r=mkmelin
authorRichard Marti <richard.marti@gmail.com>
Tue, 28 May 2019 19:33:05 +0200
changeset 35708 3b6283fe607f0f31a7b36e7690a0cc75f25dcf61
parent 35707 ca6c4600f02948da8f6c21d95f8c9c9a9eb266ae
child 35709 f965e7f4a1aa035b32a85674464fc4a6b2763e8b
push id392
push userclokep@gmail.com
push dateMon, 02 Sep 2019 20:17:19 +0000
reviewersmkmelin
bugs1555072, 1549560
Bug 1555072 - Port bug 1549560: Move HTMLDocument.open/close/write/writeln to Document. r=mkmelin
mail/components/preferences/cookies.xul
mail/components/preferences/permissions.xul
mailnews/import/content/importDialog.xul
--- a/mail/components/preferences/cookies.xul
+++ b/mail/components/preferences/cookies.xul
@@ -94,15 +94,15 @@
       <button id="removeSelectedCookies" disabled="true" icon="remove"
               label="&button.removecookie.label;" accesskey="&button.removecookie.accesskey;"
               oncommand="gCookiesWindow.deleteCookie();"/>
       <button id="removeAllCookies" disabled="true" icon="clear"
               label="&button.removeallcookies.label;" accesskey="&button.removeallcookies.accesskey;"
               oncommand="gCookiesWindow.deleteAllCookies();"/>
       <spacer flex="1"/>
 #ifndef XP_MACOSX
-      <button oncommand="close();" icon="close"
+      <button oncommand="window.close();" icon="close"
               label="&button.close.label;" accesskey="&button.close.accesskey;"/>
 #endif
     </hbox>
     <resizer dir="bottomend"/>
   </hbox>
 </window>
--- a/mail/components/preferences/permissions.xul
+++ b/mail/components/preferences/permissions.xul
@@ -69,15 +69,15 @@
               oncommand="gPermissionManager.onPermissionDeleted();"/>
       <button id="removeAllPermissions"
               icon="clear" label="&removeallpermissions.label;"
               accesskey="&removeallpermissions.accesskey;"
               oncommand="gPermissionManager.onAllPermissionsDeleted();"/>
     </hbox>
     <spacer flex="1"/>
     <hbox class="actionButtons" align="right" flex="1">
-      <button oncommand="close();" icon="close"
+      <button oncommand="window.close();" icon="close"
               label="&button.cancel.label;" accesskey="&button.cancel.accesskey;" />
       <button id="btnApplyChanges" oncommand="gPermissionManager.onApplyChanges();" icon="save"
               label="&button.ok.label;" accesskey="&button.ok.accesskey;"/>
     </hbox>
   </vbox>
 </window>
--- a/mailnews/import/content/importDialog.xul
+++ b/mailnews/import/content/importDialog.xul
@@ -129,12 +129,12 @@
   <hbox class="box-padded">
     <spacer flex="1"/>
     <button id="back" label="&back.label;" disabled="true"
             oncommand="back();"/>
     <button id="forward" label="&forward.label;" nextval="&forward.label;" finishedval="&finish.label;"
             oncommand="next();"/>
     <separator orient="vertical"/>
     <button id="cancel" label="&cancel.label;"
-            oncommand="close();"/>
+            oncommand="window.close();"/>
   </hbox>
 
 </window>