Index: Source/web/tests/data/pageserialization/top_frame.html |
diff --git a/Source/web/tests/data/pageserialization/top_frame.html b/Source/web/tests/data/pageserialization/top_frame.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..edc8ab26af2db2dffeddfc72a0ae647c4a628f98 |
--- /dev/null |
+++ b/Source/web/tests/data/pageserialization/top_frame.html |
@@ -0,0 +1,28 @@ |
+<html> |
+<!-- |
+ This page is used to test that WebPageSerializer::retrieveAllResources retrieves |
+ correctly the expected resources when dealing with multiple frames. |
+--> |
+ |
+<body> |
+ |
+<!-- Resources used by a frame and a tag should be only reported once --> |
+<iframe src="awesome.png"></iframe> |
+<img src="awesome.png"/> |
+ |
+<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> |
+<object data="flash.swf"></object> |
+ |
+<!-- Embed tags can be used to create iframes as well --> |
+<embed src="embed_iframe.html"></object> |
+<!-- |
+<embed src="music.mid"></embed> |
+--> |
+</body> |
+ |
+</html> |