Bug 381468 - Convert toolkit application/x-javascript to application/javascript. r=gavin.sharp
authorsdwilsh@shawnwilsher.com
Wed, 23 May 2007 13:40:13 -0700
changeset 1800 b27874055f04117f22abff04539dca4271574c6e
parent 1799 35a0a553e365904970b1be23fcbf91bf14688e13
child 1801 e88820f7782a46f6fbf6a8ab27d7e6962ba6dc83
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgavin.sharp
bugs381468
milestone1.9a5pre
Bug 381468 - Convert toolkit application/x-javascript to application/javascript. r=gavin.sharp
toolkit/mozapps/preferences/changemp.xul
toolkit/mozapps/preferences/ocsp.xul
toolkit/mozapps/preferences/removemp.xul
--- a/toolkit/mozapps/preferences/changemp.xul
+++ b/toolkit/mozapps/preferences/changemp.xul
@@ -48,17 +48,17 @@
 ]>
 
 <dialog id="changemp" title="&setPassword.title;"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 
         style="width: 35em;" 
         ondialogaccept="setPassword();" 
         onload="init()">
 
-  <script type="application/x-javascript" src="chrome://mozapps/content/preferences/changemp.js"/>
+  <script type="application/javascript" src="chrome://mozapps/content/preferences/changemp.js"/>
 
   <stringbundle id="bundlePreferences" src="chrome://mozapps/locale/preferences/preferences.properties"/>
 
   <description control="pw1">&masterPasswordDescription.label;</description>
 
   <groupbox>
     <grid>
       <columns>
--- a/toolkit/mozapps/preferences/ocsp.xul
+++ b/toolkit/mozapps/preferences/ocsp.xul
@@ -49,17 +49,17 @@
 
 <prefwindow id="OCSPDialog" type="child"
             xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
             dlgbuttons="accept,cancel"
             title="&ocspDialog.title;"
             style="width: &window.width; !important;">
 
   <prefpane id="OCSPDialogPane" onpaneload="gOCSPDialog.init();">
-    <script type="application/x-javascript" src="chrome://mozapps/content/preferences/ocsp.js"/>
+    <script type="application/javascript" src="chrome://mozapps/content/preferences/ocsp.js"/>
 
     <preferences>
       <preference id="security.OCSP.enabled"    name="security.OCSP.enabled"   type="int"/>
       <preference id="security.OCSP.signingCA"  name="security.OCSP.signingCA" type="string"/>
       <preference id="security.OCSP.URL"        name="security.OCSP.URL"       type="string"/>
     </preferences>
     
     <description control="securityOSCPEnabled">&validation.ocsp.description;</description>
--- a/toolkit/mozapps/preferences/removemp.xul
+++ b/toolkit/mozapps/preferences/removemp.xul
@@ -13,17 +13,17 @@
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 
         style="width: 35em;" 
         ondialogaccept="gRemovePasswordDialog.removePassword();" 
         onload="gRemovePasswordDialog.init()"
         xmlns:xhtml2="http://www.w3.org/TR/xhtml2"
         xmlns:wairole="http://www.w3.org/2005/01/wai-rdf/GUIRoleTaxonomy#"
         xmlns:aaa="http://www.w3.org/2005/07/aaa">
 
-  <script type="application/x-javascript" src="chrome://mozapps/content/preferences/removemp.js"/>
+  <script type="application/javascript" src="chrome://mozapps/content/preferences/removemp.js"/>
 
   <stringbundle id="bundlePreferences" src="chrome://mozapps/locale/preferences/preferences.properties"/>
 
   <vbox id="warnings">
     <description>&removeWarning1.label;</description>
     <description class="header">&removeWarning2.label;</description>
   </vbox>