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

Unified Diff: third_party/WebKit/LayoutTests/fast/loader/scroll-position-restoration-without-premature-clamping.html

Issue 2694903007: Add a warning for the deprecation of content-initiated data URL navigations (Closed)
Patch Set: creis comments Created 3 years, 10 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: third_party/WebKit/LayoutTests/fast/loader/scroll-position-restoration-without-premature-clamping.html
diff --git a/third_party/WebKit/LayoutTests/fast/loader/scroll-position-restoration-without-premature-clamping.html b/third_party/WebKit/LayoutTests/fast/loader/scroll-position-restoration-without-premature-clamping.html
index e0dbf937754337f43739f8cb87d4a5b5e4a8fa01..122536d625487236f0c702920b6a8665f12a8751 100644
--- a/third_party/WebKit/LayoutTests/fast/loader/scroll-position-restoration-without-premature-clamping.html
+++ b/third_party/WebKit/LayoutTests/fast/loader/scroll-position-restoration-without-premature-clamping.html
@@ -36,9 +36,9 @@ onload = function() {
window.scrollTo(5000, 5001);
shouldBe('document.scrollingElement.scrollLeft', '5000');
shouldBe('document.scrollingElement.scrollTop', '5001');
- setTimeout(function(){
+ setTimeout(function(){
window.name = "verification";
- window.location = "data:text/html,<script>history.back();</scr" + "ipt>";
+ window.location = "../../resources/back.html";
}, 0);
}
}

Powered by Google App Engine
This is Rietveld 408576698