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

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

Issue 25039006: document.documentElement.scrollTop/Left is zero (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: document.documentElement.scrollTop/Left is zero Created 7 years, 2 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 2ece5660d4b7dddf26f1bbd437df1a3c4d8bf6b0..a306f947ac4563b791abd55749f919a05eb30ab7 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.documentElement.scrollTop > 0');
+ shouldBeTrue('document.documentElement.scrollLeft == 0');
finishJSTest();
}, 0);
}

Powered by Google App Engine
This is Rietveld 408576698