Bug 779412 - Iterate over correct test array in test_info_leak. r=cpearce

This commit is contained in:
Matthew Gregan 2012-08-01 17:58:09 +12:00
parent 78727e2c15
commit 7825395ee4

View File

@ -35,7 +35,7 @@ function createTestArray() {
var tests = [];
var tmpVid = document.createElement("video");
for (var testNum=0; testNum<gSeekTests.length; testNum++) {
for (var testNum=0; testNum<gInfoLeakTests.length; testNum++) {
var test = gInfoLeakTests[testNum];
if (!tmpVid.canPlayType(test.type)) {
continue;