content/canvas/test/webgl-conformance/fix-webgl-harness-async.patch

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

michael@0 1 diff --git a/content/canvas/test/webgl/resources/webgl-test-harness.js b/content/canvas/test/webgl/resources/webgl-test-harness.js
michael@0 2 --- a/content/canvas/test/webgl/resources/webgl-test-harness.js
michael@0 3 +++ b/content/canvas/test/webgl/resources/webgl-test-harness.js
michael@0 4 @@ -362,18 +362,16 @@ TestHarness.prototype.addFiles_ = functi
michael@0 5 }
michael@0 6 log("total files: " + files.length);
michael@0 7 for (var ii = 0; ii < files.length; ++ii) {
michael@0 8 log("" + ii + ": " + files[ii]);
michael@0 9 this.files.push(new TestFile(files[ii]));
michael@0 10 this.reportFunc(TestHarness.reportType.ADD_PAGE, files[ii], undefined);
michael@0 11 }
michael@0 12 this.reportFunc(TestHarness.reportType.READY, undefined, undefined);
michael@0 13 - this.nextFileIndex = files.length;
michael@0 14 - this.lastFileIndex = files.length;
michael@0 15 }
michael@0 16
michael@0 17 TestHarness.prototype.runTests = function(opt_start, opt_count) {
michael@0 18 var count = opt_count || this.files.length;
michael@0 19 this.nextFileIndex = opt_start || 0;
michael@0 20 this.lastFileIndex = this.nextFileIndex + count;
michael@0 21 this.startNextFile();
michael@0 22 };

mercurial