Chromium Code Reviews| Index: LayoutTests/fast/loader/stateobjects/state-attribute-popstate-event.html |
| diff --git a/LayoutTests/fast/loader/stateobjects/state-attribute-popstate-event.html b/LayoutTests/fast/loader/stateobjects/state-attribute-popstate-event.html |
| index d3652f1a033d9414148b59da6b5a58b242ab1911..eb881055e4a7594102ed793e78c55521b8157628 100644 |
| --- a/LayoutTests/fast/loader/stateobjects/state-attribute-popstate-event.html |
| +++ b/LayoutTests/fast/loader/stateobjects/state-attribute-popstate-event.html |
| @@ -36,7 +36,9 @@ |
| } |
| debug("Go back"); |
| - history.back(); |
| + window.onload = function() { |
| + history.back(); |
| + }; |
| </script> |
| </body> |
| </html> |