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

Unified Diff: chrome/test/data/save_page/iframes.htm

Issue 1362973003: Verify other multi-frame concerns in SaveCrossSitePage test. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « chrome/browser/download/save_page_browsertest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « chrome/browser/download/save_page_browsertest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698