Index: chrome/test/data/save_page/iframes.htm |
diff --git a/chrome/test/data/save_page/iframes.htm b/chrome/test/data/save_page/iframes.htm |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b346b7c04064a77e62eca292ae819fc4b5573be4 |
--- /dev/null |
+++ b/chrome/test/data/save_page/iframes.htm |
@@ -0,0 +1,24 @@ |
+<!doctype html> |
+<html> |
+<head></head> |
+<body> |
+ <h1>Test page features</h1> |
+ |
+ This page has two iframes: one is cross-site, the other is same-site. |
+ This helps test save-page when page spans multiple renderer processes. |
+ |
+ This page has iframes - this exercises a different link-to-local-path |
+ replacement code than the one used for non-frames / for savable-resources. |
+ |
+ This page references /save_page/1.png resource from both |
+ 1) the main frame and 2) the /save_page/b.htm same-site subframe |
+ (same-site means that #1 and #2 refer to 1.png via the same url). |
+ This helps test that savable resources are deduplicated across frames. |
+ |
+ <h1>Test content</h1> |
+ |
+ <iframe src="/cross-site/bar.com/save_page/a.htm"></iframe> |
+ <iframe src="b.htm"></iframe> |
+ <img src="1.png"/> |
+</body> |
+</html> |