diff options
Diffstat (limited to 'testing/web-platform/tests/content-security-policy/support/document-write-alert-fail.js')
-rw-r--r-- | testing/web-platform/tests/content-security-policy/support/document-write-alert-fail.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/testing/web-platform/tests/content-security-policy/support/document-write-alert-fail.js b/testing/web-platform/tests/content-security-policy/support/document-write-alert-fail.js new file mode 100644 index 0000000000..5e78ca0dac --- /dev/null +++ b/testing/web-platform/tests/content-security-policy/support/document-write-alert-fail.js @@ -0,0 +1 @@ +document.write("<script>test(function () { assert_unreached('FAIL inline script from document.write ran') });</script>"); |