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

Unified Diff: third_party/WebKit/LayoutTests/fast/loader/scroll-position-restored-on-back-at-load-event.html

Issue 2741513002: [Merge M-57] Add a warning for the deprecation of content-initiated data URL navigations (Closed)
Patch Set: Created 3 years, 9 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-restored-on-back-at-load-event.html
diff --git a/third_party/WebKit/LayoutTests/fast/loader/scroll-position-restored-on-back-at-load-event.html b/third_party/WebKit/LayoutTests/fast/loader/scroll-position-restored-on-back-at-load-event.html
index f4e912d7bd690736a9e5ef8546148c4a8f3ba1b2..04c7577a39b4ec089835050f632ec754f10636ba 100644
--- a/third_party/WebKit/LayoutTests/fast/loader/scroll-position-restored-on-back-at-load-event.html
+++ b/third_party/WebKit/LayoutTests/fast/loader/scroll-position-restored-on-back-at-load-event.html
@@ -24,7 +24,7 @@
}
}
function onLoad() {
- setTimeout('window.location = "data:text/html,<script>history.back();</scr" + "ipt>"', 0);
+ setTimeout('window.location = "../../resources/back.html"', 0);
}
window.addEventListener('DOMContentLoaded', init, true);

Powered by Google App Engine
This is Rietveld 408576698