aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/meta/content-security-policy/media-src
diff options
context:
space:
mode:
authorTim van der Lippe <TimvdLippe@users.noreply.github.com>2025-04-17 23:11:25 +0200
committerGitHub <noreply@github.com>2025-04-17 21:11:25 +0000
commit2a81987590622feabd1beedb3c7cc87d6a88c85a (patch)
tree1615f7c11bcbeeab8c43dad58c3980a7e072d32e /tests/wpt/meta/content-security-policy/media-src
parent70b3e248168f1277e282a269bd1bf754fa7b784c (diff)
downloadservo-2a81987590622feabd1beedb3c7cc87d6a88c85a.tar.gz
servo-2a81987590622feabd1beedb3c7cc87d6a88c85a.zip
Check CSP for inline event handlers (#36510)
This also ensures that document now reports all violations and we set the correct directive. With these changes, all `script-src-attr-elem` WPT tests pass. Part of #36437 Requires servo/rust-content-security-policy#3 to land first Signed-off-by: Tim van der Lippe <tvanderlippe@gmail.com>
Diffstat (limited to 'tests/wpt/meta/content-security-policy/media-src')
-rw-r--r--tests/wpt/meta/content-security-policy/media-src/media-src-7_1_2.sub.html.ini3
-rw-r--r--tests/wpt/meta/content-security-policy/media-src/media-src-7_2_2.sub.html.ini3
-rw-r--r--tests/wpt/meta/content-security-policy/media-src/media-src-blocked.sub.html.ini3
3 files changed, 2 insertions, 7 deletions
diff --git a/tests/wpt/meta/content-security-policy/media-src/media-src-7_1_2.sub.html.ini b/tests/wpt/meta/content-security-policy/media-src/media-src-7_1_2.sub.html.ini
index 78c6e629154..cb39752b7cf 100644
--- a/tests/wpt/meta/content-security-policy/media-src/media-src-7_1_2.sub.html.ini
+++ b/tests/wpt/meta/content-security-policy/media-src/media-src-7_1_2.sub.html.ini
@@ -1,3 +1,4 @@
[media-src-7_1_2.sub.html]
+ expected: TIMEOUT
[Test that securitypolicyviolation events are fired]
- expected: FAIL
+ expected: TIMEOUT
diff --git a/tests/wpt/meta/content-security-policy/media-src/media-src-7_2_2.sub.html.ini b/tests/wpt/meta/content-security-policy/media-src/media-src-7_2_2.sub.html.ini
index 7985a3a7478..790f54981cc 100644
--- a/tests/wpt/meta/content-security-policy/media-src/media-src-7_2_2.sub.html.ini
+++ b/tests/wpt/meta/content-security-policy/media-src/media-src-7_2_2.sub.html.ini
@@ -2,6 +2,3 @@
expected: TIMEOUT
[Disallowed audio source element]
expected: NOTRUN
-
- [Test that securitypolicyviolation events are fired]
- expected: FAIL
diff --git a/tests/wpt/meta/content-security-policy/media-src/media-src-blocked.sub.html.ini b/tests/wpt/meta/content-security-policy/media-src/media-src-blocked.sub.html.ini
index afee3a14784..8ea44b08e0b 100644
--- a/tests/wpt/meta/content-security-policy/media-src/media-src-blocked.sub.html.ini
+++ b/tests/wpt/meta/content-security-policy/media-src/media-src-blocked.sub.html.ini
@@ -1,8 +1,5 @@
[media-src-blocked.sub.html]
expected: TIMEOUT
- [Disallowed async video src]
- expected: FAIL
-
[Disallowed async video source element]
expected: TIMEOUT