зеркало из https://github.com/mozilla/gecko-dev.git
Bug 596453 - Fix typo in test_error_on_404.
--HG-- extra : rebase_source : b9d8a71051c06a17d59ba321e2c62c095fa917b8
This commit is contained in:
Родитель
590ba32d85
Коммит
6b1e13ca20
|
@ -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>
|
||||
|
|
Загрузка…
Ссылка в новой задаче