| Index: LayoutTests/http/tests/navigation/resources/frame-with-anchor-same-origin.html
|
| diff --git a/LayoutTests/http/tests/navigation/resources/frame-with-anchor-same-origin.html b/LayoutTests/http/tests/navigation/resources/frame-with-anchor-same-origin.html
|
| index 3a0f4f90b36a44f8711f3b630e9d646016bffb56..cee3b9aaf7fd3b1deedce8cdf583aeb33a44204e 100644
|
| --- a/LayoutTests/http/tests/navigation/resources/frame-with-anchor-same-origin.html
|
| +++ b/LayoutTests/http/tests/navigation/resources/frame-with-anchor-same-origin.html
|
| @@ -8,8 +8,8 @@
|
| description('This tests that the framesniffing defenses are not overzealous.');
|
| // Check scroll position in a timeout to make sure that the anchor has been scrolled to.
|
| setTimeout(function() {
|
| - shouldBeTrue('document.body.scrollTop > 0');
|
| - shouldBeTrue('document.body.scrollLeft == 0');
|
| + shouldBeTrue('document.scrollingElement.scrollTop > 0');
|
| + shouldBeTrue('document.scrollingElement.scrollLeft == 0');
|
| finishJSTest();
|
| }, 0);
|
| }
|
|
|