Skip to content

Remove worker references from child-src section #239

@dveditz

Description

@dveditz

Section 6.1.1 child-src says

The child-src directive governs the creation of nested browsing contexts (e.g. iframe and frame navigations) and Worker execution contexts

Elsewhere (e.g. "Changes from Level 2", the script-src and default-src algorithms) a missing worker-src is defined to fall-back to script-src and then default-src, with no child-src.

[NB: the CSP3 re-definition of worker-src will break some existing users of CSP, both those who already assumed workers were scripts but have a bug as well as those who were doing the right thing with child-src and intentionally covering workers that way. Hopefully not too many sites]

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions