mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Implement iframe.srcdoc trusted type sink (#36960)
Part of https://github.com/servo/servo/issues/36258 Signed-off-by: Tim van der Lippe <tvanderlippe@gmail.com> Signed-off-by: Tim van der Lippe <tvanderlippe@gmail.com>
This commit is contained in:
parent
9f6a40e6aa
commit
c985c08737
9 changed files with 36 additions and 38 deletions
|
@ -1,12 +0,0 @@
|
|||
[HTMLElement-generic.html]
|
||||
[TT enabled: iframe.srcdoc\n = String on a\n connected element\n ]
|
||||
expected: FAIL
|
||||
|
||||
[TT enabled: iframe.srcdoc\n = String on a\n non-connected element\n ]
|
||||
expected: FAIL
|
||||
|
||||
[TT enabled: iframe.srcdoc\n = String on a\n connected element\n after removing the "require-trusted-types-for 'script' directive]
|
||||
expected: FAIL
|
||||
|
||||
[TT enabled: iframe.srcdoc\n = String on a\n non-connected element\n after removing the "require-trusted-types-for 'script' directive]
|
||||
expected: FAIL
|
|
@ -20,9 +20,6 @@
|
|||
[div.onclick's mutationobservers receive the default policy's value.]
|
||||
expected: FAIL
|
||||
|
||||
[iframe.srcdoc accepts string and null after default policy was created.]
|
||||
expected: FAIL
|
||||
|
||||
[div.onclick accepts string and null after default policy was created.]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
[block-string-assignment-to-HTMLElement-generic.html]
|
||||
[iframe.srcdoc accepts only TrustedHTML]
|
||||
expected: FAIL
|
||||
|
||||
[iframe.srcdoc accepts string and null after default policy was created]
|
||||
expected: FAIL
|
|
@ -1,9 +0,0 @@
|
|||
[block-string-assignment-to-HTMLIFrameElement-srcdoc.html]
|
||||
[`iframe.srcdoc = string` throws.]
|
||||
expected: FAIL
|
||||
|
||||
[`iframe.srcdoc = null` throws.]
|
||||
expected: FAIL
|
||||
|
||||
[`iframe.srcdoc = string` assigned via default policy (successful HTML transformation).]
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[trusted-types-reporting-for-HTMLIFrameElement-srcdoc.html]
|
||||
[Violation report for plain string.]
|
||||
expected: FAIL
|
Loading…
Add table
Add a link
Reference in a new issue