Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(494)

Unified Diff: LayoutTests/http/tests/navigation/resources/frame-with-anchor-same-origin.html

Issue 891523002: ScrollTopLeftInterop should not be marked experimental (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: updates Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 2aabb587049fae63504ff7a06c7c9db49be6f583..3a0f4f90b36a44f8711f3b630e9d646016bffb56 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.documentElement.scrollTop > 0');
- shouldBeTrue('document.documentElement.scrollLeft == 0');
+ shouldBeTrue('document.body.scrollTop > 0');
+ shouldBeTrue('document.body.scrollLeft == 0');
finishJSTest();
}, 0);
}
« no previous file with comments | « LayoutTests/http/tests/navigation/resources/frame-with-anchor.html ('k') | LayoutTests/rubberbanding/scroll-bounce-fix.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698