| Index: LayoutTests/fast/loader/scroll-position-restoration-for-history-api.html
|
| diff --git a/LayoutTests/fast/loader/scroll-position-restoration-for-history-api.html b/LayoutTests/fast/loader/scroll-position-restoration-for-history-api.html
|
| index 375b76bfa5c7a5421242b8f1983af4a59c0fff47..14c1555f7290f69a4bacde72aa2ea94ac073b71b 100644
|
| --- a/LayoutTests/fast/loader/scroll-position-restoration-for-history-api.html
|
| +++ b/LayoutTests/fast/loader/scroll-position-restoration-for-history-api.html
|
| @@ -58,8 +58,8 @@ function handleNavigation() {
|
|
|
| debug('verifying ' + key);
|
| shouldBeEqualToString('history.state.key', '' + key);
|
| - shouldBe('document.body.scrollLeft', test.expectedScroll[0].toString());
|
| - shouldBe('document.body.scrollTop', test.expectedScroll[1].toString());
|
| + shouldBe('document.scrollingElement.scrollLeft', test.expectedScroll[0].toString());
|
| + shouldBe('document.scrollingElement.scrollTop', test.expectedScroll[1].toString());
|
|
|
| if (key !== '#1') {
|
| window.history.back();
|
|
|