Allow benchmarks an opportunity to setup before running.
<rdar://problem/24097315>
Created attachment 268498 [details] Patch
Comment on attachment 268498 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=268498&action=review > PerformanceTests/Animometer/tests/resources/main.js:357 > + function resolveWhenFinished() { Just for consistency, can't we get rid of 'var self = this' and use something like var resolveWhenFinished = function() { .... }.bind(this); .... resolveWhenFinished();
Comment on attachment 268498 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=268498&action=review >> PerformanceTests/Animometer/tests/resources/main.js:357 >> + function resolveWhenFinished() { > > Just for consistency, can't we get rid of 'var self = this' and use something like > > var resolveWhenFinished = function() { .... }.bind(this); > .... > > resolveWhenFinished(); Sure.
Committed r194743: <http://trac.webkit.org/changeset/194743>