summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/workers/worker-call.html
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/WebKit/LayoutTests/fast/workers/worker-call.html')
-rw-r--r--third_party/WebKit/LayoutTests/fast/workers/worker-call.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/third_party/WebKit/LayoutTests/fast/workers/worker-call.html b/third_party/WebKit/LayoutTests/fast/workers/worker-call.html
index 5036273..7f0a0e0 100644
--- a/third_party/WebKit/LayoutTests/fast/workers/worker-call.html
+++ b/third_party/WebKit/LayoutTests/fast/workers/worker-call.html
@@ -3,9 +3,9 @@
<div id=result></div>
<script>
-if (window.layoutTestController) {
- layoutTestController.dumpAsText();
- layoutTestController.waitUntilDone();
+if (window.testRunner) {
+ testRunner.dumpAsText();
+ testRunner.waitUntilDone();
}
function log(message)
@@ -17,8 +17,8 @@ var worker = new Worker("resources/worker-call.js");
worker.onmessage = function(event) {
log(event.data);
if (event.data == "DONE") {
- if (window.layoutTestController)
- layoutTestController.notifyDone();
+ if (window.testRunner)
+ testRunner.notifyDone();
}
};
</script>