summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/forms/state-restore-to-non-edited-controls.html
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/WebKit/LayoutTests/fast/forms/state-restore-to-non-edited-controls.html')
-rw-r--r--third_party/WebKit/LayoutTests/fast/forms/state-restore-to-non-edited-controls.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/third_party/WebKit/LayoutTests/fast/forms/state-restore-to-non-edited-controls.html b/third_party/WebKit/LayoutTests/fast/forms/state-restore-to-non-edited-controls.html
index cab283f..e87a93b 100644
--- a/third_party/WebKit/LayoutTests/fast/forms/state-restore-to-non-edited-controls.html
+++ b/third_party/WebKit/LayoutTests/fast/forms/state-restore-to-non-edited-controls.html
@@ -33,8 +33,8 @@ function runTest()
var state = document.getElementById('emptyOnFirstVisit');
if (!state.value) {
// First visit.
- if (window.layoutTestController)
- layoutTestController.waitUntilDone();
+ if (window.testRunner)
+ testRunner.waitUntilDone();
state.value = 'visited';
makeForm(parent, '1', '1', '1', '1', '1', '1', '1', '1', '1');
@@ -56,8 +56,8 @@ function runTest()
shouldBe('document.getElementById("textarea").value', '"2"');
parent.innerHTML = '';
- if (window.layoutTestController)
- layoutTestController.notifyDone();
+ if (window.testRunner)
+ testRunner.notifyDone();
}
}