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

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

Issue 161113002: Fix pushState causing stop/reload button and favicon to flicker. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 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: content/test/data/push_state.html
diff --git a/content/test/data/push_state.html b/content/test/data/push_state.html
new file mode 100644
index 0000000000000000000000000000000000000000..22178ee476916d0dc36dfe440af6db10fd594215
--- /dev/null
+++ b/content/test/data/push_state.html
@@ -0,0 +1,12 @@
+<html>
+<head>
+<script>
+window.onload = function() {
+ setTimeout(function() {
+ history.pushState("", "", "#pushState");
+ document.title = "pushState";
+ }, 0);
+}
+</script>
+</head>
+</html>

Powered by Google App Engine
This is Rietveld 408576698