Bug 1543841 - Update `./mach addtest` templates to stop using [type] attribute on stylesheets r=heycam
authorBrian Grinstead <bgrinstead@mozilla.com>
Fri, 12 Apr 2019 05:04:14 +0000
changeset 469290 e3828f221fd4709878ac7f10863d4afc85c1c062
parent 469289 60a4738fdc3170ab8a203a3f2f200365be80bc21
child 469291 56e1556e963dc8854cba358e4d6d848f03f599f7
push id112780
push userbtara@mozilla.com
push dateFri, 12 Apr 2019 22:09:00 +0000
treeherdermozilla-inbound@bb72c0829808 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersheycam
bugs1543841
milestone68.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1543841 - Update `./mach addtest` templates to stop using [type] attribute on stylesheets r=heycam Differential Revision: https://phabricator.services.mozilla.com/D27181
testing/mochitest/static/chromehtml.template.txt
testing/mochitest/static/chromexhtml.template.txt
testing/mochitest/static/chromexul.template.txt
testing/mochitest/static/plainhtml.template.txt
testing/mochitest/static/plainxhtml.template.txt
testing/mochitest/static/plainxul.template.txt
--- a/testing/mochitest/static/chromehtml.template.txt
+++ b/testing/mochitest/static/chromehtml.template.txt
@@ -1,16 +1,16 @@
 <!DOCTYPE HTML>
 <html>
 <head>
   <meta charset="utf-8">
   <title><!-- TODO: insert title here --></title>
   <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <script src="chrome://mochikit/content/tests/SimpleTest/AddTask.js"></script>
-  <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css"/>
+  <link rel="stylesheet" href="chrome://mochikit/content/tests/SimpleTest/test.css"/>
   <script>
     add_task(async function test_TODO() {
       ok(true, "TODO: implement the test");
     });
   </script>
 </head>
 <body>
 <p id="display"></p>
--- a/testing/mochitest/static/chromexhtml.template.txt
+++ b/testing/mochitest/static/chromexhtml.template.txt
@@ -1,16 +1,16 @@
 <!DOCTYPE HTML>
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
   <meta charset="utf-8" />
   <title><!-- TODO: insert title here --></title>
   <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <script src="chrome://mochikit/content/tests/SimpleTest/AddTask.js"></script>
-  <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css"/>
+  <link rel="stylesheet" href="chrome://mochikit/content/tests/SimpleTest/test.css"/>
   <script><![CDATA[
     add_task(async function test_TODO() {
       ok(true, "TODO: implement the test");
     });
   ]]></script>
 </head>
 <body>
 <p id="display"></p>
--- a/testing/mochitest/static/chromexul.template.txt
+++ b/testing/mochitest/static/chromexul.template.txt
@@ -1,11 +1,11 @@
 <?xml version="1.0"?>
-<?xml-stylesheet type="text/css" href="chrome://global/skin"?>
-<?xml-stylesheet type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css"?>
+<?xml-stylesheet href="chrome://global/skin"?>
+<?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css"?>
 <window title="TODO: Insert title here"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
   <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js" />
   <script src="chrome://mochikit/content/tests/SimpleTest/AddTask.js" />
   <script><![CDATA[
     add_task(async function test_TODO() {
       ok(true, "TODO: implement the test");
     });
--- a/testing/mochitest/static/plainhtml.template.txt
+++ b/testing/mochitest/static/plainhtml.template.txt
@@ -1,15 +1,15 @@
 <!DOCTYPE HTML>
 <html>
 <head>
   <meta charset="utf-8">
   <title><!-- TODO: insert title here --></title>
   <script src="/tests/SimpleTest/SimpleTest.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
+  <link rel="stylesheet" href="/tests/SimpleTest/test.css"/>
   <script>
     ok(true, "TODO: implement the test");
   </script>
 </head>
 <body>
 <p id="display"></p>
 <div id="content" style="display: none">
 
--- a/testing/mochitest/static/plainxhtml.template.txt
+++ b/testing/mochitest/static/plainxhtml.template.txt
@@ -1,15 +1,15 @@
 <!DOCTYPE HTML>
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
   <meta charset="utf-8" />
   <title><!-- TODO: insert title here --></title>
   <script src="/tests/SimpleTest/SimpleTest.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
+  <link rel="stylesheet" href="/tests/SimpleTest/test.css"/>
   <script><![CDATA[
     ok(true, "TODO: implement the test");
   ]]></script>
 </head>
 <body>
 <p id="display"></p>
 <div id="content" style="display: none">
 
--- a/testing/mochitest/static/plainxul.template.txt
+++ b/testing/mochitest/static/plainxul.template.txt
@@ -1,11 +1,11 @@
 <?xml version="1.0"?>
-<?xml-stylesheet type="text/css" href="chrome://global/skin"?>
-<?xml-stylesheet type="text/css" href="/tests/SimpleTest/test.css"?>
+<?xml-stylesheet href="chrome://global/skin"?>
+<?xml-stylesheet href="/tests/SimpleTest/test.css"?>
 <window title="TODO: Insert title here"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
   <script src="/tests/SimpleTest/SimpleTest.js"></script>
   <script><![CDATA[
     ok(true, "TODO: implement the test");
   ]]></script>
   <body xmlns="http://www.w3.org/1999/xhtml">
   </body>