Bug 596453 - Fix typo in test_error_on_404.
authorMatthew Gregan <kinetik@flim.org>
Fri, 24 Aug 2012 11:51:37 +1200
changeset 103241 90e517924f06a56e4bcea68cc01c38228dfc639a
parent 103240 e137f28dfe7043a5ab7531fd2989c610092826a1
child 103242 346289a882b84ac4ae871e24aeb06b11241d31da
push id13891
push usermgregan@mozilla.com
push dateThu, 23 Aug 2012 23:53:44 +0000
treeherdermozilla-inbound@90e517924f06 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs596453
milestone17.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 596453 - Fix typo in test_error_on_404.
content/media/test/test_error_on_404.html
--- a/content/media/test/test_error_on_404.html
+++ b/content/media/test/test_error_on_404.html
@@ -8,25 +8,20 @@ https://bugzilla.mozilla.org/show_bug.cg
   <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
   <script type="text/javascript" src="manifest.js"></script> 
 </head>
 <body>
 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=476731">Mozilla Bug </a>
 <p id="display"></p>
 <div id="content" style="display: none">
-  
 </div>
 <pre id="test">
-
-
-
 <script type="application/javascript">
-
-/** Test for Bug  **/
+/** Test for Bug 476731 **/
 
 var videos = [];
 
 function FinishedLoads() {
   if (videos.length == 0)
     return false;
   for (var i=0; i<videos.length; ++i) {
     if (videos[i]._loadedData) {
@@ -67,25 +62,22 @@ for (var i=0; i<g404Tests.length; ++i) {
     continue;
    }
    v.src = test.name;
    v._loadedData = false;
    v._loadStart = false;
    v._loadError = false;
    v.addEventListener("error", loadError, false);
    v.addEventListener("loadstart", loadStart, false);
-   v.addEventListener("loadedddata", loadedData, false);
+   v.addEventListener("loadeddata", loadedData, false);
    document.body.appendChild(v); // Will start load.
    videos.push(v);
 }
 
-
 if (videos.length == 0) {
   todo(false, "No types supported");
 } else {
   SimpleTest.waitForExplicitFinish();
 }
-
 </script>
 </pre>
-
 </body>
 </html>