mirror of
https://github.com/servo/servo.git
synced 2025-10-04 02:29:12 +01:00
.. | ||
external-import-stylesheet.html | ||
external-stylesheet.html | ||
inline-style.html | ||
internal-import-stylesheet.html | ||
internal-stylesheet.html | ||
presentation-attribute.html | ||
processing-instruction.html | ||
README.md |
These tests exercise differnt ways to load an image, generated via
/referrer-policy/generic/subresource/image.py?id=<UUID>
and later
verify the headers used to request that image.
Since there is no way to wait for a resource referenced from CSS to be loaded,
all tests use step_timeout()
to delay the verification step until
after the image (hopefully) was loaded.
Since there is also no way to retrieve headers (or other information) from
images loaded via CSS, we store the headers with the given UUID
as key
on the server, and retrieve them later via an XHR to
/referrer-policy/generic/subresource/image.py?id=<UUID>&report-headers
.