[tor-commits] [torbirdy/master] Drop support for versioned JavaScript (mozilla57; see bugzilla 1390106)

sukhbir at torproject.org sukhbir at torproject.org
Mon Feb 26 19:50:25 UTC 2018


commit c9d9fa56d8f9eac0c5af0dfebf2d8857ff45e19a
Author: Sukhbir Singh <sukhbir at torproject.org>
Date:   Mon Feb 26 14:41:41 2018 -0500

    Drop support for versioned JavaScript (mozilla57; see bugzilla 1390106)
---
 chrome/content/accountpref.xul  | 2 +-
 chrome/content/firstruninfo.xul | 2 +-
 chrome/content/preferences.xul  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/chrome/content/accountpref.xul b/chrome/content/accountpref.xul
index baf419e..f460f64 100644
--- a/chrome/content/accountpref.xul
+++ b/chrome/content/accountpref.xul
@@ -14,7 +14,7 @@
         onload="return org.torbirdy.accountprefs.onLoad();"
         ondialogaccept="return org.torbirdy.accountprefs.onAccept();">
 
-   <script type="application/x-javascript"
+   <script type="application/javascript"
      src="chrome://castironthunderbirdclub/content/accountpref.js"></script>
 
    <vbox>
diff --git a/chrome/content/firstruninfo.xul b/chrome/content/firstruninfo.xul
index 43f1d66..17fd73a 100644
--- a/chrome/content/firstruninfo.xul
+++ b/chrome/content/firstruninfo.xul
@@ -10,7 +10,7 @@
         onload="return org.torbirdy.firstrun.onLoad();"
         ondialogaccept="window.close();">
 
-   <script type="application/x-javascript"
+   <script type="application/javascript"
      src="chrome://castironthunderbirdclub/content/firstruninfo.js"></script>
 
    <stringbundleset id="stringbundleset">
diff --git a/chrome/content/preferences.xul b/chrome/content/preferences.xul
index 2e3c168..296f220 100644
--- a/chrome/content/preferences.xul
+++ b/chrome/content/preferences.xul
@@ -19,7 +19,7 @@
         ondialogaccept="return org.torbirdy.prefs.onAccept();"
         onload="return org.torbirdy.prefs.onLoad();">
         
-  <script type="application/x-javascript"
+  <script type="application/javascript"
        src="chrome://castironthunderbirdclub/content/preferences.js"></script>
 
   <tabbox>





More information about the tor-commits mailing list