Commit 73fb5d6
committed
Apply
As noted in #426, the current "Does element match source list for type
and source?" algorithm does not properly handle `strict-dynamic` checks
for non-parser-inserted inline scripts. This patch adds a relevant step
to the algorithm to match both browser behavior and our existing tests:
https://wpt.fyi/results/content-security-policy/script-src/script-src-strict_dynamic_non_parser_inserted.html?label=experimental&label=master&aligned
Fixes #426.strict-dynamic to inline scripts.1 parent 9dd7cf1 commit 73fb5d6
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4412 | 4412 | | |
4413 | 4413 | | |
4414 | 4414 | | |
| 4415 | + | |
| 4416 | + | |
| 4417 | + | |
| 4418 | + | |
4415 | 4419 | | |
4416 | 4420 | | |
4417 | 4421 | | |
| |||
4448 | 4452 | | |
4449 | 4453 | | |
4450 | 4454 | | |
4451 | | - | |
4452 | | - | |
4453 | 4455 | | |
4454 | 4456 | | |
4455 | 4457 | | |
| |||
0 commit comments