Chromium Code Reviews| Index: LayoutTests/fast/loader/stateobjects/state-attribute-only-one-deserialization.html |
| diff --git a/LayoutTests/fast/loader/stateobjects/state-attribute-only-one-deserialization.html b/LayoutTests/fast/loader/stateobjects/state-attribute-only-one-deserialization.html |
| index 0317c525afc0a8a03552af0e644d6ef3b61b6a48..b98773726def0faa9e6777de5f5c9fcc3617c147 100644 |
| --- a/LayoutTests/fast/loader/stateobjects/state-attribute-only-one-deserialization.html |
| +++ b/LayoutTests/fast/loader/stateobjects/state-attribute-only-one-deserialization.html |
| @@ -52,7 +52,9 @@ |
| // Now let's go back to our original history entry which has a state object that we've stored a reference to already. |
| // This will fire our popstate event handler above. |
| - history.back(); |
| + window.onload = function() { |
| + history.back(); |
| + }; |
| </script> |
| </body> |
| </html> |