servo/tests/wpt/meta/content-security-policy/img-src
Simon Wülker dcd25072d3
script: Load and rasterize favicons before passing them to the embedder (#38949)
Currently the embedding API only provides the embedder with the URL for
a favicon. This is not great, for multiple reasons:
* Loading the icon should happen according to the fetch spec which is
not easy for the embedder to recreate (consider CSP, timing information
etc)
* Rasterizing a svg favicon is not trivial

With this change, servo fetches and rasterizes the icon to a bitmap
which is then passed to the embedder.

Testing: I'm not sure how I can write tests for the embedding api. I've
tested the correctness manually using
https://github.com/servo/servo/pull/36680.
Prepares for https://github.com/servo/servo/pull/36680

---------

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
2025-08-27 14:28:42 +00:00
..
css-filter-blocked.tentative.html.ini Run all CSP tests in CI by default. (#36436) 2025-04-10 08:09:23 +00:00
svg-use-blocked.tentative.html.ini script: support inline SVG by serializing the subtree (#38188) 2025-08-11 11:07:59 +00:00