Bug 596453 - Fix typo in test_error_on_404.

--HG--
extra : rebase_source : b9d8a71051c06a17d59ba321e2c62c095fa917b8
This commit is contained in:
Matthew Gregan 2012-08-24 11:51:37 +12:00
parent 4cccdbef88
commit d4dddbb2a1

View File

@ -13,15 +13,10 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=476731
<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 = [];
@ -72,20 +67,17 @@ for (var i=0; i<g404Tests.length; ++i) {
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>