summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/frames/sandboxed-iframe-forms.html
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/WebKit/LayoutTests/fast/frames/sandboxed-iframe-forms.html')
-rw-r--r--third_party/WebKit/LayoutTests/fast/frames/sandboxed-iframe-forms.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/third_party/WebKit/LayoutTests/fast/frames/sandboxed-iframe-forms.html b/third_party/WebKit/LayoutTests/fast/frames/sandboxed-iframe-forms.html
index 1d83b34..c91c943 100644
--- a/third_party/WebKit/LayoutTests/fast/frames/sandboxed-iframe-forms.html
+++ b/third_party/WebKit/LayoutTests/fast/frames/sandboxed-iframe-forms.html
@@ -2,9 +2,9 @@
<head>
<script>
-if (window.layoutTestController) {
- window.layoutTestController.dumpAsText();
- window.layoutTestController.waitUntilDone();
+if (window.testRunner) {
+ window.testRunner.dumpAsText();
+ window.testRunner.waitUntilDone();
}
var submissionCount = 0;
@@ -17,8 +17,8 @@ function allowedFormSubmitted()
if (submissionCount == 10) {
document.getElementById("test_status").innerHTML = (disallowedSubmission ? "FAIL" : "PASS");
- if (window.layoutTestController)
- window.layoutTestController.notifyDone();
+ if (window.testRunner)
+ window.testRunner.notifyDone();
}
}