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

Unified Diff: chrome/test/data/downloads/iframe-src-is-a-download.htm

Issue 1371533002: Remove "recursive" parameter from WebPageSerializer::serialize. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@page-serialization-complete-serialization
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
Index: chrome/test/data/downloads/iframe-src-is-a-download.htm
diff --git a/chrome/test/data/downloads/iframe-src-is-a-download.htm b/chrome/test/data/downloads/iframe-src-is-a-download.htm
new file mode 100644
index 0000000000000000000000000000000000000000..008ba93d9c84ee9a5212fe6ec6b87ca9a9191674
--- /dev/null
+++ b/chrome/test/data/downloads/iframe-src-is-a-download.htm
@@ -0,0 +1,18 @@
+<html>
+<body>
+This tests that we can serialize a page that has a downloaded url in an iframe without crashing.
+
+<!-- iframe.src points to non-existing resource.
+ in 45.0.2454.85 save-as-complete-html points the saved frame to
+ a local/saved copy in foo_files/saved_resource.html which contains
+ serialized contents of the built-in "The file or directory could
+ not be found" page. -->
+<iframe src="no-such-file.exe"></iframe>
+
+<!-- iframe.src points to a "download".
+ in 45.0.2454.85 save-as-complete-html points the saved frame to
+ about:blank -->
+<iframe src="thisdayinhistory.xls"></iframe>
+
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698