OLD | NEW |
(Empty) | |
| 1 These tests exercise differnt ways to load an image, generated via |
| 2 ```/referrer-policy/generic/subresource/image.py?id=<UUID>``` and later |
| 3 verify the headers used to request that image. |
| 4 |
| 5 Since there is no way to wait for a resource referenced from CSS to be loaded, |
| 6 all tests use ```step_timeout()``` to delay the verification step until |
| 7 after the image (hopefully) was loaded. |
| 8 |
| 9 Since there is also no way to retrieve headers (or other information) from |
| 10 images loaded via CSS, we store the headers with the given ```UUID``` as key |
| 11 on the server, and retrieve them later via an XHR to |
| 12 ```/referrer-policy/generic/subresource/image.py?id=<UUID>&report-headers```. |
OLD | NEW |