mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 20:47:44 +00:00
2192acb899
No review because this is mostly just syncing us with the upstream, https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/sdk/tests/ as well as adjusting to test harness changes (now loading test lists asynchronously) and a patch to the harness itself which I'll send upstream (see fix-webgl-harness-async.patch)
23 lines
969 B
Diff
23 lines
969 B
Diff
diff --git a/content/canvas/test/webgl/resources/webgl-test-harness.js b/content/canvas/test/webgl/resources/webgl-test-harness.js
|
|
--- a/content/canvas/test/webgl/resources/webgl-test-harness.js
|
|
+++ b/content/canvas/test/webgl/resources/webgl-test-harness.js
|
|
@@ -362,18 +362,16 @@ TestHarness.prototype.addFiles_ = functi
|
|
}
|
|
log("total files: " + files.length);
|
|
for (var ii = 0; ii < files.length; ++ii) {
|
|
log("" + ii + ": " + files[ii]);
|
|
this.files.push(new TestFile(files[ii]));
|
|
this.reportFunc(TestHarness.reportType.ADD_PAGE, files[ii], undefined);
|
|
}
|
|
this.reportFunc(TestHarness.reportType.READY, undefined, undefined);
|
|
- this.nextFileIndex = files.length;
|
|
- this.lastFileIndex = files.length;
|
|
}
|
|
|
|
TestHarness.prototype.runTests = function(opt_start, opt_count) {
|
|
var count = opt_count || this.files.length;
|
|
this.nextFileIndex = opt_start || 0;
|
|
this.lastFileIndex = this.nextFileIndex + count;
|
|
this.startNextFile();
|
|
};
|