| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <!-- | 2 <!-- |
| 3 This page is used to test that WebPageSerializer::retrieveAllResources retri
eves | 3 This page is used to test that WebFrameSerializer::retrieveAllResources retr
ieves |
| 4 correctly the expected resources from various HTML nodes. | 4 correctly the expected resources from various HTML nodes. |
| 5 --> | 5 --> |
| 6 | 6 |
| 7 <head> | 7 <head> |
| 8 <!-- Style sheet links should be retrieved --> | 8 <!-- Style sheet links should be retrieved --> |
| 9 <link rel="stylesheet" type="text/css" href="http://www.example.com/beautifull.c
ss"/> | 9 <link rel="stylesheet" type="text/css" href="http://www.example.com/beautifull.c
ss"/> |
| 10 <!-- Other link should NOT be retrieved --> | 10 <!-- Other link should NOT be retrieved --> |
| 11 <link rel="copyright" type="text/plain" href="http://www.example.com/copyright"/
> | 11 <link rel="copyright" type="text/plain" href="http://www.example.com/copyright"/
> |
| 12 <!-- Scripts should be retrieved --> | 12 <!-- Scripts should be retrieved --> |
| 13 <script src="awesome.js"></script> | 13 <script src="awesome.js"></script> |
| (...skipping 27 matching lines...) Expand all Loading... |
| 41 | 41 |
| 42 <!-- Make sure we only retrieve URLs with the right schemes --> | 42 <!-- Make sure we only retrieve URLs with the right schemes --> |
| 43 <img src="https://www.secure.com/https.gif"/> <!-- HTTPS is OK --> | 43 <img src="https://www.secure.com/https.gif"/> <!-- HTTPS is OK --> |
| 44 <img src="file://c/my_folder/file.gif"/> <!-- file is OK --> | 44 <img src="file://c/my_folder/file.gif"/> <!-- file is OK --> |
| 45 <img src="ftp://ftp.com/ftp.gif"/> <!-- FTP is not OK --> | 45 <img src="ftp://ftp.com/ftp.gif"/> <!-- FTP is not OK --> |
| 46 <img src="unknown://unkown.com/unknown.gif"/> <!-- Unknown schemes are not OK -
-> | 46 <img src="unknown://unkown.com/unknown.gif"/> <!-- Unknown schemes are not OK -
-> |
| 47 | 47 |
| 48 </body> | 48 </body> |
| 49 | 49 |
| 50 </html> | 50 </html> |
| OLD | NEW |