Bug 711011 - Declare a character encoding in the Mochitest HTML template. r=ted.
authorHenri Sivonen <hsivonen@iki.fi>
Thu, 15 Dec 2011 16:14:32 +0200
changeset 84285 a1c61b4f710e5788217f02bf7279dba8d32bfb6f
parent 84284 c654c9d5ba7c786d5913326da930c31eb5c0fd1f
child 84286 dc6fc6888bd8eb524aa590ec46af2c721fa741e9
push id519
push userakeybl@mozilla.com
push dateWed, 01 Feb 2012 00:38:35 +0000
treeherdermozilla-beta@788ea1ef610b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersted
bugs711011
milestone11.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 711011 - Declare a character encoding in the Mochitest HTML template. r=ted.
testing/mochitest/static/test.template.txt
--- a/testing/mochitest/static/test.template.txt
+++ b/testing/mochitest/static/test.template.txt
@@ -1,14 +1,15 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id={BUGNUMBER}
 -->
 <head>
+  <meta charset="utf-8">
   <title>Test for Bug {BUGNUMBER}</title>
   <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
 </head>
 <body>
 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id={BUGNUMBER}">Mozilla Bug {BUGNUMBER}</a>
 <p id="display"></p>
 <div id="content" style="display: none">