Bug 1289742. P4 - remove the load() call because the load algirithm will be triggered when .src is assigned. r?kaku
MozReview-Commit-ID: GKpKyLMa1xA
--- a/dom/media/test/test_load_same_resource.html
+++ b/dom/media/test/test_load_same_resource.html
@@ -76,17 +76,16 @@ function initTest(test, token) {
var e = document.createElement(elemType);
e.preload = "auto";
e.src = test.name;
if (test.duration) {
e._expectedDuration = test.duration;
}
ok(true, "Trying to load " + test.name);
e.addEventListener("loadeddata", tryClone, {once: true});
- e.load();
e.token = token;
manager.started(token);
}
manager.runTests(gCloneTests, initTest);
</script>
</pre>