mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
feat: implement ShadowRoot::setHTMLUnsafe (#36240)
Implements #36166 --------- Signed-off-by: TG <ebiritg@gmail.com>
This commit is contained in:
parent
5cdb0865ba
commit
1a3f10bba4
11 changed files with 46 additions and 4940 deletions
|
@ -5732,9 +5732,6 @@
|
|||
[SVGSVGElement interface: attribute onunload]
|
||||
expected: FAIL
|
||||
|
||||
[ShadowRoot interface: operation setHTMLUnsafe((TrustedHTML or DOMString))]
|
||||
expected: FAIL
|
||||
|
||||
[OffscreenCanvasRenderingContext2D interface: operation getContextAttributes()]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
[setHTMLUnsafe-CEReactions.html]
|
||||
[ShadowRoot.setHTMLUnsafe should trigger custom element reactions.]
|
||||
expected: FAIL
|
|
@ -1,6 +0,0 @@
|
|||
[setHTMLUnsafe.html]
|
||||
[ShadowRoot: setHTMLUnsafe with no shadowdom.]
|
||||
expected: FAIL
|
||||
|
||||
[ShadowRoot: setHTMLUnsafe with shadowdom.]
|
||||
expected: FAIL
|
4896
tests/wpt/meta/shadow-dom/declarative/gethtml.html.ini
vendored
4896
tests/wpt/meta/shadow-dom/declarative/gethtml.html.ini
vendored
File diff suppressed because it is too large
Load diff
|
@ -1,9 +1,9 @@
|
|||
[block-string-assignment-to-ShadowRoot-setHTMLUnsafe.html]
|
||||
[shadowRoot.setHTMLUnsafe(html) assigned via policy (successful HTML transformation).]
|
||||
expected: FAIL
|
||||
|
||||
[`shadowRoot.setHTMLUnsafe(string)` assigned via default policy (successful HTML transformation).]
|
||||
expected: FAIL
|
||||
|
||||
[`shadowRoot.setHTMLUnsafe(string)` assigned via default policy does not throw]
|
||||
[`shadowRoot.setHTMLUnsafe(string)` throws.]
|
||||
expected: FAIL
|
||||
|
||||
[`shadowRoot.setHTMLUnsafe(null)` throws.]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
[trusted-types-reporting-for-ShadowRoot-setHTMLUnsafe.html]
|
||||
[No violation reported for TrustedHTML.]
|
||||
expected: FAIL
|
||||
|
||||
[Violation report for plain string.]
|
||||
expected: FAIL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue