summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/content-security-policy/script-src/inlineSuccessTest.js
blob: ea2be272a206befad0de7e2e35614a78561bacd9 (plain)
1
2
3
4
5
6
7
8
var inlineRan = false;

onload = function() {
  test(function() {
        assert_true(inlineRan, 'Unsafe inline script ran.')},
        'Inline script in a script tag should  run with an unsafe-inline directive'
    );
}