blob: 0f6db06e435e5a4b65644ff474383ff1e21e92e1 [file] [log] [blame]
Parser-inserted scripts without a correct nonce are not allowed with `strict-dynamic` in the script-src directive.
PASS Parser-inserted script via `document.write` without a correct nonce is not allowed with `strict-dynamic`.
PASS Parser-inserted script via `document.writeln` without a correct nonce is not allowed with `strict-dynamic`.
PASS Parser-inserted deferred script via `document.write` without a correct nonce is not allowed with `strict-dynamic`.
PASS Parser-inserted deferred script via `document.writeln` without a correct nonce is not allowed with `strict-dynamic`.
PASS Parser-inserted async script via `document.write` without a correct nonce is not allowed with `strict-dynamic`.
PASS Parser-inserted async script via `document.writeln` without a correct nonce is not allowed with `strict-dynamic`.
PASS Parser-inserted deferred async script via `document.write` without a correct nonce is not allowed with `strict-dynamic`.
PASS Parser-inserted deferred async script via `document.writeln` without a correct nonce is not allowed with `strict-dynamic`.
FAIL Script injected via `innerHTML` is not allowed with `strict-dynamic`. assert_equals: expected "script-src-attr" but got "script-src"
FAIL Script injected via `insertAdjacentHTML` is not allowed with `strict-dynamic`. assert_equals: expected "script-src-attr" but got "script-src"