diff options
Diffstat (limited to 'testing/web-platform/tests/content-security-policy/blink-contrib-2/metaHelper.js')
-rw-r--r-- | testing/web-platform/tests/content-security-policy/blink-contrib-2/metaHelper.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/testing/web-platform/tests/content-security-policy/blink-contrib-2/metaHelper.js b/testing/web-platform/tests/content-security-policy/blink-contrib-2/metaHelper.js new file mode 100644 index 000000000..9191a39c7 --- /dev/null +++ b/testing/web-platform/tests/content-security-policy/blink-contrib-2/metaHelper.js @@ -0,0 +1,5 @@ +if (typeof aa != 'undefined') { + alert_assert(aa); +} else { + alert_assert("Failed - allowed inline script blocked by meta policy outside head."); +} |