From 42c5ed7d754ef7c89cf868d1ee514f120cec1e43 Mon Sep 17 00:00:00 2001 From: Luke Warlow Date: Mon, 29 Jan 2024 13:49:45 +0000 Subject: [PATCH] Add tests for trusted types enforcement on setHTMLUnsafe and parseHTMLUnsafe --- ...ssignment-to-Document-parseHTMLUnsafe.html | 48 +++++++++++ ...g-assignment-to-Element-setHTMLUnsafe.html | 79 +++++++++++++++++ ...ssignment-to-ShadowRoot-setHTMLUnsafe.html | 84 +++++++++++++++++++ 3 files changed, 211 insertions(+) create mode 100644 trusted-types/block-string-assignment-to-Document-parseHTMLUnsafe.html create mode 100644 trusted-types/block-string-assignment-to-Element-setHTMLUnsafe.html create mode 100644 trusted-types/block-string-assignment-to-ShadowRoot-setHTMLUnsafe.html diff --git a/trusted-types/block-string-assignment-to-Document-parseHTMLUnsafe.html b/trusted-types/block-string-assignment-to-Document-parseHTMLUnsafe.html new file mode 100644 index 00000000000000..83dfcda5d9215f --- /dev/null +++ b/trusted-types/block-string-assignment-to-Document-parseHTMLUnsafe.html @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + diff --git a/trusted-types/block-string-assignment-to-Element-setHTMLUnsafe.html b/trusted-types/block-string-assignment-to-Element-setHTMLUnsafe.html new file mode 100644 index 00000000000000..34975f9d6883ec --- /dev/null +++ b/trusted-types/block-string-assignment-to-Element-setHTMLUnsafe.html @@ -0,0 +1,79 @@ + + + + + + + + + + + +
+ + + diff --git a/trusted-types/block-string-assignment-to-ShadowRoot-setHTMLUnsafe.html b/trusted-types/block-string-assignment-to-ShadowRoot-setHTMLUnsafe.html new file mode 100644 index 00000000000000..a76543b3f68c7e --- /dev/null +++ b/trusted-types/block-string-assignment-to-ShadowRoot-setHTMLUnsafe.html @@ -0,0 +1,84 @@ + + + + + + + + + + + +
+ + +