servo/tests/wpt/meta/quirks
Tim van der Lippe 8a837778d9
Create new image cache per document (#36832)
Rather than sharing the full image cache in a script_thread, the image
cache is now unique per document. This ensures that CSP factors no
longer affect whether the image is retrieved from the cache incorrectly.

To do so, the thread_pool is shared across all caches, but the store is
fresh. Except for the place_holder{image,url}, which are cloned. That's
because the `rippy_data` is only available in the constellation and no
longer accessible at the point that we need to create the document in
the script_thread.

Contrary to the description in #36505, the script_thread still has an
image_cache for this reason: so it has access to the store and
thread_pool to clone it.

With these changes, the two CSP tests no longer flake. Confirmed with
running the following commmand:

```
./mach test-wpt tests/wpt/tests/content-security-policy/generic/ --rerun=10
```

Fixes #36505

Signed-off-by: Tim van der Lippe <tvanderlippe@gmail.com>
2025-05-04 20:20:56 +00:00
..
text-decoration-doesnt-propagate-into-tables Run same tests for layout-2020 and layout-2013 (#30092) 2023-08-15 00:28:32 +00:00
unitless-length Enable all experimental web platform features on all testsuites (#36519) 2025-04-14 18:33:38 +00:00
body-fills-html-quirk-vertical.html.ini Rename metadata directories 2023-06-22 21:15:41 +02:00
body-fills-html-quirk.html.ini Rename metadata directories 2023-06-22 21:15:41 +02:00
html-fills-viewport-quirk-vertical.html.ini Rename metadata directories 2023-06-22 21:15:41 +02:00
html-fills-viewport-quirk.html.ini Rename metadata directories 2023-06-22 21:15:41 +02:00
line-height-calculation.html.ini Create new image cache per document (#36832) 2025-05-04 20:20:56 +00:00
line-height-in-list-item.html.ini Update web-platform-tests to revision b'5af3e9c2a2aba76ade00f0dbc3486e50a74a4506' (#32824) 2024-07-21 07:59:39 +00:00
percentage-height-calculation.html.ini Run same tests for layout-2020 and layout-2013 (#30092) 2023-08-15 00:28:32 +00:00
percentage-height-quirk-excludes-flex-grid-002.html.ini Run same tests for layout-2020 and layout-2013 (#30092) 2023-08-15 00:28:32 +00:00
table-cell-nowrap-minimum-width-calculation.html.ini Run same tests for layout-2020 and layout-2013 (#30092) 2023-08-15 00:28:32 +00:00
table-cell-width-calculation-abspos.html.ini layout: Properly parent table-row and table-row-group (#31619) 2024-03-14 10:33:42 +00:00
table-cell-width-calculation.html.ini Create new image cache per document (#36832) 2025-05-04 20:20:56 +00:00