OLD | NEW |
| 1 <!-- This page is used to test that the PageSerializer correctly retrieves |
| 2 the expected resources when dealing with iframes. |
| 3 --> |
1 <html> | 4 <html> |
2 <!-- | |
3 This page is used to test that WebPageSerializer::retrieveAllResources retri
eves | |
4 correctly the expected resources when dealing with multiple frames. | |
5 --> | |
6 | |
7 <body> | 5 <body> |
8 | 6 |
9 <!-- Resources used by a frame and a tag should be only reported once --> | 7 <!-- Images in a frame should be serialized --> |
10 <iframe src="awesome.png"></iframe> | 8 <iframe src="top.png"></iframe> |
11 <img src="awesome.png"/> | |
12 | 9 |
| 10 <!-- Resources used by an iframe tag, serialize once --> |
13 <iframe src="simple_iframe.html"></iframe> | 11 <iframe src="simple_iframe.html"></iframe> |
14 <iframe src="simple_iframe.html"></iframe> | 12 <iframe src="simple_iframe.html"></iframe> |
15 | 13 |
16 <!-- Object tags can be used to create iframes --> | 14 <!-- Object tags can be used to create iframes --> |
17 | |
18 <object data="object_iframe.html"></object> | 15 <object data="object_iframe.html"></object> |
19 <object data="flash.swf"></object> | |
20 | 16 |
21 <!-- Embed tags can be used to create iframes as well --> | 17 <!-- Embed tags can be used to create iframes as well --> |
22 <embed src="embed_iframe.html"></object> | 18 <embed src="embed_iframe.html"></object> |
23 <!-- | 19 |
24 <embed src="music.mid"></embed> | |
25 --> | |
26 </body> | 20 </body> |
27 | |
28 </html> | 21 </html> |
OLD | NEW |