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

Unified Diff: content/test/data/navigation_controller/dynamic_iframe.html

Issue 2380943002: Tell renderer which subframes have history items on back/forward. (Closed)
Patch Set: Add test Created 4 years, 3 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/navigation_controller/dynamic_iframe.html
diff --git a/content/test/data/navigation_controller/dynamic_iframe.html b/content/test/data/navigation_controller/dynamic_iframe.html
new file mode 100644
index 0000000000000000000000000000000000000000..772cb5dcf44d3bbc6e9a15b6b144e87e4ea068df
--- /dev/null
+++ b/content/test/data/navigation_controller/dynamic_iframe.html
@@ -0,0 +1,13 @@
+<html>
+<head></head>
+<body>
+ <p>This page creates an iframe with dynamic name and content.</p>
+ <script>
+ var now = Date.now();
+ var f = document.createElement("iframe");
+ f.name = now;
+ document.body.appendChild(f);
+ f.src = "data:text/html,Date: " + now;
+ </script>
+</body>
+</html>
« content/renderer/render_frame_impl.cc ('K') | « content/renderer/render_frame_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698