Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/http/tests/navigation/resources/notify-done.html |
| diff --git a/third_party/WebKit/LayoutTests/http/tests/navigation/resources/notify-done.html b/third_party/WebKit/LayoutTests/http/tests/navigation/resources/notify-done.html |
| index 998e9278ef7b846b7a2d9203e45507be03ffa1ea..3eaacdc7e67efe26f27b0d24f716b311ecfc8a48 100644 |
| --- a/third_party/WebKit/LayoutTests/http/tests/navigation/resources/notify-done.html |
| +++ b/third_party/WebKit/LayoutTests/http/tests/navigation/resources/notify-done.html |
| @@ -1,8 +1,11 @@ |
| <html> |
| <script> |
| -if (window.testRunner) |
|
Łukasz Anforowicz
2016/04/25 23:19:59
I plan to land changes to this file separately - i
|
| - testRunner.notifyDone(); |
| +function onLoad() { |
| + if (window.testRunner) |
| + testRunner.notifyDone(); |
| +} |
| </script> |
| -<body> |
| +<body onload="onLoad()"> |
| This page calls testRunner.notifyDone(). |
| +</body> |
| </html> |