Use testRunner instead of layoutTestController in transforms, transitions, traversal, userscripts, webarchive, webaudio, and webintents tests
https://bugs.webkit.org/show_bug.cgi?id=89269
Reviewed by Adam Barth.
* transitions/:
* traversal/:
* userscripts/:
* webarchive/:
* webaudio/:
* webintents/web-intents-delivery.html:
* webintents/web-intents-failure.html:
* webintents/web-intents-reload.html:
* webintents/web-intents-reply.html:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@120521 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/LayoutTests/transitions/shadow.html b/LayoutTests/transitions/shadow.html
index d7ea36e..0e50cbe 100644
--- a/LayoutTests/transitions/shadow.html
+++ b/LayoutTests/transitions/shadow.html
@@ -22,9 +22,9 @@
}
</style>
<script>
- if (window.layoutTestController) {
- layoutTestController.dumpAsText();
- layoutTestController.waitUntilDone();
+ if (window.testRunner) {
+ testRunner.dumpAsText();
+ testRunner.waitUntilDone();
}
function start()
@@ -35,8 +35,8 @@
box2.style.webkitBoxShadow = '5px 5px 5px rgba(0, 0, 0, 0.5)';
window.setTimeout(function() {
document.getElementById('result').innerHTML = "PASS";
- if (window.layoutTestController)
- layoutTestController.notifyDone();
+ if (window.testRunner)
+ testRunner.notifyDone();
}, 300);
}