mirror of
https://github.com/servo/servo.git
synced 2025-09-30 00:29:14 +01:00
Disallow invalid trusted type policy names (#38886)
Actual fix is in the CSP crate. Part of #36258 Signed-off-by: Tim van der Lippe <tvanderlippe@gmail.com>
This commit is contained in:
parent
908c392219
commit
6205c07114
4 changed files with 18 additions and 29 deletions
|
@ -1,17 +1,5 @@
|
|||
[should-trusted-type-policy-creation-be-blocked-by-csp-002.html]
|
||||
expected: TIMEOUT
|
||||
[invalid tt-policy-name name "policy*name"]
|
||||
expected: FAIL
|
||||
|
||||
[invalid tt-policy-name name "policy$name"]
|
||||
expected: FAIL
|
||||
|
||||
[invalid tt-policy-name name "policy?name"]
|
||||
expected: FAIL
|
||||
|
||||
[invalid tt-policy-name name "policy!name"]
|
||||
expected: FAIL
|
||||
|
||||
[directive "trusted-type _TTP1_%09_TTP2_%0C_TTP3_%0D_TTP4_%20_TTP5_" (required-ascii-whitespace)]
|
||||
expected: TIMEOUT
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue