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

Unified Diff: chrome/test/data/extensions/api_test/webnavigation/crossProcess/h.html

Issue 10823169: Another attempt at fixing dead frames being tracked by webNavigation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: patch for landing Created 8 years, 4 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: chrome/test/data/extensions/api_test/webnavigation/crossProcess/h.html
diff --git a/chrome/test/data/extensions/api_test/webnavigation/crossProcess/h.html b/chrome/test/data/extensions/api_test/webnavigation/crossProcess/h.html
new file mode 100644
index 0000000000000000000000000000000000000000..c0fa1c5763c1d75a142a731f51efefcfa8a16097
--- /dev/null
+++ b/chrome/test/data/extensions/api_test/webnavigation/crossProcess/h.html
@@ -0,0 +1,15 @@
+<!-- Page with a slowly loading iframe that updates its history state before
+ the iframe commits. -->
+<script>
+function updateHistory() {
+ history.pushState({}, "", "empty.html");
+}
+
+function loadframe() {
+ var frame = document.getElementById("frame");
+ frame.src = "http://127.0.0.1:" + location.search.substr(1) + "/test5";
+}
+</script>
+<body onload="loadframe()">
+<iframe id="frame"></frame>
+</body>

Powered by Google App Engine
This is Rietveld 408576698