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

Unified Diff: content/test/data/overscroll_navigation.html

Issue 316403004: Test for the fix for history.replaceState navigations submitted earlier. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Also testing reloads. Created 6 years, 6 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: content/test/data/overscroll_navigation.html
diff --git a/content/test/data/overscroll_navigation.html b/content/test/data/overscroll_navigation.html
index 4bde51bfa953cbb515b6bd85af716285166eeb05..59754b7bfd6f4eae6e2294d4e104bf7a885c8a42 100644
--- a/content/test/data/overscroll_navigation.html
+++ b/content/test/data/overscroll_navigation.html
@@ -57,6 +57,10 @@ function uninstall_touch_handler() {
document.removeEventListener('touchstart', touch_start_handler);
}
+function use_replace_state() {
+ window.history.replaceState({}, 'foo');
+}
+
onload = function() {
window.onhashchange = function() {
document.title = "Title: " + location.hash;

Powered by Google App Engine
This is Rietveld 408576698