Bug 381468 - Convert toolkit application/x-javascript to application/javascript. r=gavin.sharp
--- 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>