Bug 1342806 - Port bug 1342144 to mail [Remove version parameter from the type attribute of script elements]. r=aceman
authorRichard Marti <richard.marti@gmail.com>
Mon, 27 Feb 2017 22:56:28 +0100
changeset 27703 a4c510e01d6fd831ac80bcb936165ff1986e08a3
parent 27702 a50c72c9bbc72bfad9ab1be877a53f01ab89d690
child 27704 19fdf87ad6387611db4af35bb7fcf4b788044d09
push idunknown
push userunknown
push dateunknown
reviewersaceman
bugs1342806, 1342144
Bug 1342806 - Port bug 1342144 to mail [Remove version parameter from the type attribute of script elements]. r=aceman
mail/base/content/glodaFacetView.xhtml
mail/base/content/glodaFacetViewWrapper.xul
mail/base/content/multimessageview.xhtml
mail/components/about-support/content/aboutSupport.xhtml
mail/components/cloudfile/content/Box/management.xhtml
mail/components/cloudfile/content/Hightail/fileExceedsQuota.xul
mail/components/cloudfile/content/Hightail/management.xhtml
mail/components/cloudfile/content/addAccountDialog.xul
mail/components/im/messages/Footer.html
mail/components/newmailaccount/content/accountProvisioner.xhtml
mail/test/mozmill/utils/html/collections.html
--- a/mail/base/content/glodaFacetView.xhtml
+++ b/mail/base/content/glodaFacetView.xhtml
@@ -26,23 +26,23 @@
       type="text/css"></link>
   <link rel="stylesheet" media="screen" type="text/css"
         href="chrome://messenger/skin/tagColors.css"/>
   <!-- Themes -->
   <link rel="stylesheet"
       href="chrome://messenger/skin/glodaFacetView.css"
       type="text/css"></link>
   <!-- Global Context -->
-  <script type="application/javascript;version=1.8"
+  <script type="application/javascript"
       src="chrome://messenger/content/glodaFacetView.js"></script>
   <!-- Libs -->
   <script type="application/javascript;version=1.8"
       src="chrome://messenger/content/protovis-r2.6-modded.js"></script>
   <!-- Facet Binding Stuff that doesn't belong in XBL -->
-  <script type="application/javascript;version=1.8"
+  <script type="application/javascript"
       src="chrome://messenger/content/glodaFacetVis.js"></script>
 </head>
 <body id="body" onload="reachOutAndTouchFrame()"
       onkeypress="if (event.keyCode == event.DOM_VK_ESCAPE) document.getElementById('popup-menu').hide();"
       onmouseup="return clickOnBody(event)">
   <div id="popup-menu" class="popup-menu" variety="invisible"/>
   <div id="table">
     <div>
--- a/mail/base/content/glodaFacetViewWrapper.xul
+++ b/mail/base/content/glodaFacetViewWrapper.xul
@@ -2,17 +2,17 @@
 <!-- This Source Code Form is subject to the terms of the Mozilla Public
    - License, v. 2.0. If a copy of the MPL was not distributed with this
    - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
 
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <window id="window" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
   <script type="application/javascript"
       src="chrome://global/content/viewZoomOverlay.js"/>
-  <script type="application/javascript;version=1.8"><![CDATA[
+  <script type="application/javascript"><![CDATA[
     function getBrowser() {
         return document.getElementById('browser');
     }
   ]]></script>
   <commandset id="selectEditMenuItems">
     <command id="cmd_fullZoomReduce" oncommand="ZoomManager.reduce();"/>
     <command id="cmd_fullZoomEnlarge" oncommand="ZoomManager.enlarge();"/>
     <command id="cmd_fullZoomReset" oncommand="ZoomManager.reset();"/>
--- a/mail/base/content/multimessageview.xhtml
+++ b/mail/base/content/multimessageview.xhtml
@@ -27,17 +27,17 @@
           href="chrome://messenger/skin/messageHeader.css"/>
     <link rel="stylesheet" media="screen, print" type="text/css"
           href="chrome://messenger/skin/multimessageview.css"/>
     <link rel="stylesheet" media="print" type="text/css"
           href="chrome://messenger/content/multimessageview_print.css"/>
     <link rel="stylesheet" media="screen, print" type="text/css"
           href="chrome://messenger/skin/tagColors.css"/>
     <title>&window.title;</title>
-    <script type="application/javascript;version=1.8"
+    <script type="application/javascript"
             src="chrome://messenger/content/multimessageview.js"/>
   </head>
   <body>
     <div id="heading_wrapper">
       <xul:toolbox id="header-view-toolbox" class="inline-toolbox"
                    labelalign="end"
                    xmlns:html="http://www.w3.org/1999/xhtml"
                    xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
--- a/mail/components/about-support/content/aboutSupport.xhtml
+++ b/mail/components/about-support/content/aboutSupport.xhtml
@@ -28,24 +28,24 @@
           type="text/css"/>
 <!-- Added for TB -->
     <link rel="stylesheet" href="chrome://messenger/skin/aboutSupport.css"
           type="text/css"/>
     <!-- Private data is hidden by default. -->
     <link rel="stylesheet" href="chrome://messenger/content/about-support/hide-private.css"
           type="text/css" id="about-support-private"/>
 <!-- End of TB addition -->
-    <script type="application/javascript;version=1.7"
+    <script type="application/javascript"
             src="chrome://messenger/content/about-support/aboutSupport.js"/>
-    <script type="application/javascript;version=1.7"
+    <script type="application/javascript"
             src="chrome://global/content/resetProfile.js"/>
 <!-- Added for TB -->
-    <script type="application/javascript;version=1.7"
+    <script type="application/javascript"
             src="chrome://messenger/content/about-support/accounts.js"/>
-    <script type="application/javascript;version=1.7"
+    <script type="application/javascript"
             src="chrome://messenger/content/about-support/export.js"/>
 <!-- End of TB addition -->
   </head>
 
   <body dir="&locale.dir;">
 
 #ifndef ANDROID
     <div id="action-box">
--- a/mail/components/cloudfile/content/Box/management.xhtml
+++ b/mail/components/cloudfile/content/Box/management.xhtml
@@ -7,17 +7,17 @@
   <!ENTITY % htmlDTD PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd"> %htmlDTD;
   <!ENTITY % managementDTD SYSTEM "chrome://messenger/locale/cloudfile/management.dtd"> %managementDTD;
   <!ENTITY % boxDTD SYSTEM "chrome://messenger/locale/cloudfile/Box/management.dtd"> %boxDTD;
 ]>
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
     <script type="application/javascript;version=1.8"
             src="chrome://messenger/content/protovis-r2.6-modded.js"/>
-    <script type="application/javascript;version=1.8"
+    <script type="application/javascript"
             src="chrome://messenger/content/cloudfile/Box/management.js"/>
     <link rel="stylesheet"
         type="text/css"
         href="chrome://messenger/skin/preferences/preferences.css" />
   </head>
   <body id="provider-management">
     <div id="provider-header">
       <div id="provider-terms">
--- a/mail/components/cloudfile/content/Hightail/fileExceedsQuota.xul
+++ b/mail/components/cloudfile/content/Hightail/fileExceedsQuota.xul
@@ -13,14 +13,14 @@
 <?xml-stylesheet href="chrome://messenger/skin/preferences/preferences.css" type="text/css"?>
 <?xml-stylesheet href="chrome://messenger/skin/cloudfile/Hightail/fileExceedsLimit.css" type="text/css"?>
 
 <dialog id="fileExceedsQuota"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
         buttons="accept"
         title="&fileExceedsQuota.title;">
 
-  <script type="application/javascript;version=1.8"
+  <script type="application/javascript"
           src="chrome://messenger/content/cloudfile/Hightail/fileExceedsQuota.js"/>
 
   <description id="title">&fileExceedsQuota.storageLimitReached;</description>
   <description id="currentStorage">&fileExceedsQuota.description;</description>
 </dialog>
--- a/mail/components/cloudfile/content/Hightail/management.xhtml
+++ b/mail/components/cloudfile/content/Hightail/management.xhtml
@@ -7,17 +7,17 @@
   <!ENTITY % htmlDTD PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd"> %htmlDTD;
   <!ENTITY % managementDTD SYSTEM "chrome://messenger/locale/cloudfile/management.dtd"> %managementDTD;
   <!ENTITY % hightailDTD SYSTEM "chrome://messenger/locale/cloudfile/Hightail/management.dtd"> %hightailDTD;
 ]>
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
     <script type="application/javascript;version=1.8"
             src="chrome://messenger/content/protovis-r2.6-modded.js"/>
-    <script type="application/javascript;version=1.8"
+    <script type="application/javascript"
             src="chrome://messenger/content/cloudfile/Hightail/management.js"/>
     <link rel="stylesheet"
         type="text/css"
         href="chrome://messenger/skin/preferences/preferences.css" />
   </head>
   <body id="provider-management">
     <div id="provider-header">
       <div id="provider-terms">
--- a/mail/components/cloudfile/content/addAccountDialog.xul
+++ b/mail/components/cloudfile/content/addAccountDialog.xul
@@ -20,17 +20,17 @@
         buttondisabledaccept="true"
         onload="return addAccountDialog.onInit();"
         ondialogaccept="return addAccountDialog.onOK();"
         ondialogcancel="return addAccountDialog.onUnInit();"
         title="&addAccountDialog.title;"
         style="&addAccountDialog.style;"
         persist="screenX screenY">
 
-  <script type="application/javascript;version=1.8"
+  <script type="application/javascript"
           src="chrome://messenger/content/cloudfile/addAccountDialog.js"/>
 
 #ifdef XP_MACOSX
   <description id="createAccountTitle">&addAccountDialog.title;</description>
 #endif
   <description id="createAccountText">&addAccountDialog.createAccountText2;</description>
   <description id="noAccountText" hidden="true">&addAccountDialog.noAccountText;</description>
 
--- a/mail/components/im/messages/Footer.html
+++ b/mail/components/im/messages/Footer.html
@@ -1,13 +1,13 @@
 <!-- This Source Code Form is subject to the terms of the Mozilla Public
    - License, v. 2.0. If a copy of the MPL was not distributed with this
    - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
 
-<script type="application/javascript;version=1.8">
+<script type="application/javascript">
 
 function checkNewText(target)
 {
   if (target.tagName == "P" && target.className == "event") {
     let parent = target.parentNode;
     // We need to start a group with this element if there are at least 4
     // system messages and they aren't already grouped.
     if (!parent.grouped && parent.querySelector("p.event:nth-of-type(4)")) {
--- a/mail/components/newmailaccount/content/accountProvisioner.xhtml
+++ b/mail/components/newmailaccount/content/accountProvisioner.xhtml
@@ -15,35 +15,35 @@
    - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
 
   <title>&window.title;</title>
 
   <link rel="stylesheet"
         type="text/css"
         href="chrome://messenger/skin/newmailaccount/accountProvisioner.css" />
 
-  <script type="application/javascript;version=1.8"
+  <script type="application/javascript"
           src="chrome://messenger/content/accountcreation/util.js">
   </script>
-  <script type="application/javascript;version=1.8"
+  <script type="application/javascript"
           src="chrome://messenger/content/accountcreation/accountConfig.js">
   </script>
-  <script type="application/javascript;version=1.8"
+  <script type="application/javascript"
           src="chrome://messenger/content/accountcreation/sanitizeDatatypes.js">
   </script>
-  <script type="application/javascript;version=1.8"
+  <script type="application/javascript"
           src="chrome://messenger/content/accountcreation/readFromXML.js">
   </script>
-  <script type="application/javascript;version=1.8"
+  <script type="application/javascript"
           src="chrome://messenger/content/accountcreation/createInBackend.js">
   </script>
-  <script type="application/javascript;version=1.8"
+  <script type="application/javascript"
           src="chrome://communicator/content/utilityOverlay.js">
   </script>
-  <script type="application/javascript;version=1.8"
+  <script type="application/javascript"
           src="chrome://messenger/content/newmailaccount/accountProvisioner.js">
   </script>
 </head>
 <body>
   <div id="window" class="vbox">
 
     <div id="content" class="boxFlex vbox">
 
--- a/mail/test/mozmill/utils/html/collections.html
+++ b/mail/test/mozmill/utils/html/collections.html
@@ -1,12 +1,12 @@
 <html>
   <head>
     <title>Collections</title>
-    <script type="application/javascript;version=1.7">
+    <script type="application/javascript">
       const JS_HAS_SYMBOLS = typeof Symbol === "function";
       const ITERATOR_SYMBOL = JS_HAS_SYMBOLS ? Symbol.iterator : "@@iterator";
       var gIterator = (function*() {
         yield 1; yield 2; yield 3; yield 4; yield 5;
       })();
 
       var gCustomIterator = {
         _array: [6, 7, 8, 9],