Enforce Eval checks on Worker Threads
Categories
(Core :: DOM: Security, enhancement, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox72 | --- | fixed |
People
(Reporter: tjr, Assigned: tjr)
References
(Blocks 1 open bug)
Details
(Whiteboard: [domsecurity-active])
Attachments
(1 file)
Bug 1583949 will land Eval checks for Worker threads; but it won't enforce them. This is so we can collect Telemetry in Nightly and ensure we don't accidentally break it because something is happening that isn't covered in our test suites.
This bug is to switch into enforcement mode.
Updated•6 years ago
|
| Assignee | ||
Comment 1•6 years ago
|
||
This commit does two things. Firstly it enforces eval restrictions in Workers per Bug 1584602.
We're collecting telemetry on these in Beta (and not seeing any) so we can let enforcement ride up to Beta.
Secondly, it disables enforcement checks on Release (and late Beta, as explained in the comment) until
we can gather data about what's happening in Release. This is a counterpart to Bug 1592349 for -central.
We have two separate commits because the first part of this is a change in the same code and we'd have
rebase problems if we tried to do them both separately.
This does tie enforcement to a build-time constant instead of leaving it as a pref. This doesn't make
me very happy inside, but I don't think the extra complexity is worth it...
Comment 3•6 years ago
|
||
| bugherder | ||
Comment 4•6 years ago
|
||
| bugherder landing | ||
Description
•