diff options
Diffstat (limited to 'third_party/WebKit/LayoutTests/fast/files/null-origin-string.html')
-rw-r--r-- | third_party/WebKit/LayoutTests/fast/files/null-origin-string.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/third_party/WebKit/LayoutTests/fast/files/null-origin-string.html b/third_party/WebKit/LayoutTests/fast/files/null-origin-string.html index 1f99e1e..85a0c0a 100644 --- a/third_party/WebKit/LayoutTests/fast/files/null-origin-string.html +++ b/third_party/WebKit/LayoutTests/fast/files/null-origin-string.html @@ -16,14 +16,14 @@ function onInputFileChange() reader.readAsText(file); console.log('Started reading...'); - top.location = 'data:text/html,<p>PASS if no crash.</p><script>layoutTestController.notifyDone()</scr' + 'ipt>'; + top.location = 'data:text/html,<p>PASS if no crash.</p><script>testRunner.notifyDone()</scr' + 'ipt>'; } </script> <script> if (window.eventSender) { - layoutTestController.dumpAsText(); - layoutTestController.waitUntilDone(); + testRunner.dumpAsText(); + testRunner.waitUntilDone(); } document.write('<iframe src="data:text/html,<input type=file id=file onchange=\'onInputFileChange()\'><script>' + document.getElementsByTagName("script")[0].innerText + 'runTest()</scr' + 'ipt>" style="left:0px;top:0px"></iframe>'); </script> |