diff --git a/testing/web-platform/tests/trusted-types/support/set-inner-html.js b/testing/web-platform/tests/trusted-types/support/set-inner-html.js new file mode 100644 index 000000000000..45053d43e362 --- /dev/null +++ b/testing/web-platform/tests/trusted-types/support/set-inner-html.js @@ -0,0 +1,3 @@ +function setInnerHtml(element, value) { + element.innerHTML = value; +} diff --git a/testing/web-platform/tests/trusted-types/trusted-types-source-file-path.tentative.html b/testing/web-platform/tests/trusted-types/trusted-types-source-file-path.tentative.html new file mode 100644 index 000000000000..61adb2993431 --- /dev/null +++ b/testing/web-platform/tests/trusted-types/trusted-types-source-file-path.tentative.html @@ -0,0 +1,76 @@ + + + + Check the reported TrustedType violation's sourceFile. + + + + + + + + + + +