Index: chrome/test/data/pdf/pdf_href_replace_state.html |
diff --git a/chrome/test/data/pdf/pdf_href_replace_state.html b/chrome/test/data/pdf/pdf_href_replace_state.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b9a8ac083e481d25af1b8562ef0493bd927e35bf |
--- /dev/null |
+++ b/chrome/test/data/pdf/pdf_href_replace_state.html |
@@ -0,0 +1,14 @@ |
+<html> |
+<head> |
+<title>First window</title> |
+<script> |
+window.addEventListener('pagehide', function() { |
+ history.replaceState({time: Date.now()}, ''); |
+}); |
+</script> |
+</head> |
+ |
+<body> |
+<a id="link" href="test-link.pdf"> pdf </a> |
+</body> |
+</html> |