From 38e364203f356adca2d871338c6bd8c8b80c4a05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Wang?= Date: Thu, 9 Jan 2025 17:53:50 +0100 Subject: [PATCH] Add TrustedType tests for iframe.srcdoc. (#49996) * 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. * fix many errors --- ...ssignment-to-HTMLIFrameElement-srcdoc.html | 54 +++++++++++++++++++ 1 file changed, 54 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 000000000000000..b71d838b8512384 --- /dev/null +++ b/trusted-types/block-string-assignment-to-HTMLIFrameElement-srcdoc.html @@ -0,0 +1,54 @@ + + + + + + + +