Skip to content

Commit

Permalink
fixup! Add a test runner and tool for making implementation reports
Browse files Browse the repository at this point in the history
  • Loading branch information
jgraham committed Jan 8, 2014
1 parent 990e78b commit 6ed8899
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/runner/runner.js
Expand Up @@ -247,7 +247,7 @@ ManualUI.prototype = {
this.pass_button.onclick = (function() {
this.runner.on_result("PASS", "", []);
this.disable_buttons();
setTimeout((function() {this.enable_buttons()}).bind(this), 200);
setTimeout(this.enable_buttons.bind(this), 200);
}).bind(this);

this.fail_button.onclick = (function() {
Expand Down Expand Up @@ -534,7 +534,7 @@ Runner.prototype = {
this.current_test = next_test;

if (next_test.type === "testharness") {
this.timeout = setTimeout((function() {this.on_timeout()}).bind(this),
this.timeout = setTimeout(this.on_timeout().bind(this),
this.test_timeout);
}
this.load(this.current_test.url);
Expand Down

0 comments on commit 6ed8899

Please sign in to comment.