servo/tests/wpt/meta/content-security-policy/securitypolicyviolation/script-sample.html.ini
Tim van der Lippe f2d0be1b9a
script: Fix check for document root when targeting CSP events (#37474)
The check was incorrect, where it was never matching and always
discarding the element. Instead, we should check the owner document,
which is the shadow-including root of the node.

Part of #4577

---------

Signed-off-by: Tim van der Lippe <tvanderlippe@gmail.com>
2025-06-15 14:54:41 +00:00

3 lines
93 B
INI
Vendored

[script-sample.html]
[JavaScript URLs in iframes should have a sample.]
expected: FAIL