summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/workers/shared-worker-simple.html
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/WebKit/LayoutTests/fast/workers/shared-worker-simple.html')
-rw-r--r--third_party/WebKit/LayoutTests/fast/workers/shared-worker-simple.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/third_party/WebKit/LayoutTests/fast/workers/shared-worker-simple.html b/third_party/WebKit/LayoutTests/fast/workers/shared-worker-simple.html
index 9caef07..005f596 100644
--- a/third_party/WebKit/LayoutTests/fast/workers/shared-worker-simple.html
+++ b/third_party/WebKit/LayoutTests/fast/workers/shared-worker-simple.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 worker = new SharedWorker('resources/shared-worker-common.js', 'name');
@@ -25,8 +25,8 @@ worker.port.onmessage = function(event) {
function done()
{
- if (window.layoutTestController)
- layoutTestController.notifyDone();
+ if (window.testRunner)
+ testRunner.notifyDone();
}
</script>
</body>