| Index: content/test/data/page_with_subresources.html
|
| diff --git a/content/test/data/page_with_subresources.html b/content/test/data/page_with_subresources.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..314cdbabdc53d910eacb1357fb84a9947f054002
|
| --- /dev/null
|
| +++ b/content/test/data/page_with_subresources.html
|
| @@ -0,0 +1,26 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| +<head>
|
| + <link rel="stylesheet" href="style"></link>
|
| + <link rel="prefetch" href="prefetch"></link>
|
| +</head>
|
| +<body>
|
| + <img src="image-inline">
|
| + <a href="javascript:" ping="ping">link</a>
|
| +
|
| + <!-- All script-based loading at the bottom to avoid duplicating requests
|
| + due to the preload scanner -->
|
| + <script src="script"></script>
|
| + <script>
|
| + // <img>
|
| + var i = document.createElement('img');
|
| + i.src = "image-script";
|
| +
|
| + // <a ping>
|
| + document.querySelector('a').click();
|
| +
|
| + // Beacon
|
| + navigator.sendBeacon("/beacon", "foo");
|
| + </script>
|
| +</body>
|
| +</html>
|
|
|