diff options
Diffstat (limited to 'testing/web-platform/tests/content-security-policy/blink-contrib/resources/inject-image.js')
-rw-r--r-- | testing/web-platform/tests/content-security-policy/blink-contrib/resources/inject-image.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/testing/web-platform/tests/content-security-policy/blink-contrib/resources/inject-image.js b/testing/web-platform/tests/content-security-policy/blink-contrib/resources/inject-image.js new file mode 100644 index 000000000..1e1f93b39 --- /dev/null +++ b/testing/web-platform/tests/content-security-policy/blink-contrib/resources/inject-image.js @@ -0,0 +1,4 @@ +// This script block will trigger a violation report. +var i = document.createElement('img'); +i.src = '/security/resources/abe.png'; +document.body.appendChild(i); |