mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
fdd5a3844c
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();
|
|
};
|