OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
2 <html> | |
3 <head> | |
4 <title>Subresources collection</title> | |
5 <link rel="stylesheet" href="/handled-by-test/style.css"> | |
6 <script src="/handled-by-test/script.js"></script> | |
7 </head> | |
8 <body> | |
9 <p>Hello world!</p> | |
10 <script id="script"> | |
alexilin
2017/04/25 18:42:21
I don't completely understand why your test is wor
alexilin
2017/04/26 09:25:01
Discussed offline:
This version of test had a comp
| |
11 // Using document.write would allow the preload scanner to pick up this | |
12 // resource and throw off results. | |
13 document.getElementById('script').insertAdjacentHTML('afterend', | |
14 `<img src="/handled-by-test/image.png">`); | |
15 </script> | |
16 <script src="/handled-by-test/long-script.js"></script> | |
17 </body> | |
18 </html> | |
OLD | NEW |