From d24898901c4e00542f1b78abe7e5072a19d73de0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Wang?= Date: Thu, 9 Jan 2025 15:12:52 +0100 Subject: [PATCH] Add TrustedType tests for iframe.srcdoc. It seems we already have some tests for iframe.srcdoc but things are a bit messy so it's unclear whether we cover blocking, conversion check and sink names (#494) and null string edge case. Add a simple test doing that, similar to other `block-string-assignment-to-*` tests. --- ...ssignment-to-HTMLIFrameElement-srcdoc.html | 55 +++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 trusted-types/block-string-assignment-to-HTMLIFrameElement-srcdoc.html diff --git a/trusted-types/block-string-assignment-to-HTMLIFrameElement-srcdoc.html b/trusted-types/block-string-assignment-to-HTMLIFrameElement-srcdoc.html new file mode 100644 index 00000000000000..a68bcbd285c4bb --- /dev/null +++ b/trusted-types/block-string-assignment-to-HTMLIFrameElement-srcdoc.html @@ -0,0 +1,55 @@ + + + + + + + +