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

Unified Diff: Source/web/tests/data/pageserializer/frames/top_frame.html

Issue 1167413004: Merge page serializers [4/12] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix nits Created 5 years, 6 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: Source/web/tests/data/pageserializer/frames/top_frame.html
diff --git a/Source/web/tests/data/pageserializer/frames/top_frame.html b/Source/web/tests/data/pageserializer/frames/top_frame.html
new file mode 100644
index 0000000000000000000000000000000000000000..4f185ce0f77579a8063670e0b67393ddfe810b3a
--- /dev/null
+++ b/Source/web/tests/data/pageserializer/frames/top_frame.html
@@ -0,0 +1,21 @@
+<!-- This page is used to test that the PageSerializer correctly retrieves
+ the expected resources when dealing with iframes.
+-->
+<html>
+<body>
+
+<!-- Images in a frame should be serialized -->
+<iframe src="top.png"></iframe>
+
+<!-- Resources used by an iframe tag, serialize once -->
+<iframe src="simple_iframe.html"></iframe>
+<iframe src="simple_iframe.html"></iframe>
+
+<!-- Object tags can be used to create iframes -->
+<object data="object_iframe.html"></object>
+
+<!-- Embed tags can be used to create iframes as well -->
+<embed src="embed_iframe.html"></object>
+
+</body>
+</html>
« no previous file with comments | « Source/web/tests/data/pageserializer/frames/simple_iframe.html ('k') | Source/web/tests/data/pageserializer/iframe.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698