summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/workers/stress-js-execution.html
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/WebKit/LayoutTests/fast/workers/stress-js-execution.html')
-rw-r--r--third_party/WebKit/LayoutTests/fast/workers/stress-js-execution.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/third_party/WebKit/LayoutTests/fast/workers/stress-js-execution.html b/third_party/WebKit/LayoutTests/fast/workers/stress-js-execution.html
index f679d59..7855108 100644
--- a/third_party/WebKit/LayoutTests/fast/workers/stress-js-execution.html
+++ b/third_party/WebKit/LayoutTests/fast/workers/stress-js-execution.html
@@ -7,9 +7,9 @@ function log(message)
document.getElementById("result").innerHTML += message + "<br>";
}
-if (window.layoutTestController) {
- layoutTestController.dumpAsText();
- layoutTestController.waitUntilDone();
+if (window.testRunner) {
+ testRunner.dumpAsText();
+ testRunner.waitUntilDone();
}
var worker1 = new Worker('resources/stress-js-execution.js');
@@ -21,7 +21,7 @@ worker1.onmessage = function(evt) {
worker2.onmessage = worker1.onmessage;
-setTimeout("log('DONE'); if (window.layoutTestController) layoutTestController.notifyDone();", 1000);
+setTimeout("log('DONE'); if (window.testRunner) testRunner.notifyDone();", 1000);
</script>
</body>