servo/tests/wpt/meta/content-security-policy/securitypolicyviolation/targeting.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

10 lines
241 B
INI
Vendored

[targeting.html]
expected: TIMEOUT
[These tests should not fail.]
expected: NOTRUN
[Inline violations target the right element.]
expected: FAIL
[Correct targeting inside shadow tree (inline handler).]
expected: TIMEOUT