From ea42ede4295fd58d8669a9f5d4fef5890dd4c5ee Mon Sep 17 00:00:00 2001 From: Daniel Vogelheim Date: Mon, 4 Nov 2019 07:09:20 -0800 Subject: [PATCH] [Trusted Types] Obey TT in createHTMLDocument-created documents. This will pass on the Trusted Type enforcement requirement set by the CSP header, but will not actually instantiate a TrustedTypePolicyFactory. That plugs the current hole; but might not be an acceptable long-term solution. Bug: 951536 Change-Id: I56d541d57184396ce1dacdac9236d9259189f621 --- ...ed-types-createHTMLDocument.tentative.html | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 trusted-types/trusted-types-createHTMLDocument.tentative.html diff --git a/trusted-types/trusted-types-createHTMLDocument.tentative.html b/trusted-types/trusted-types-createHTMLDocument.tentative.html new file mode 100644 index 00000000000000..4d5b9980a9a2e1 --- /dev/null +++ b/trusted-types/trusted-types-createHTMLDocument.tentative.html @@ -0,0 +1,36 @@ + + + + + + + + + +