Add `CSPViolationData` to reflect the spec more clearly
Categories
(Core :: DOM: Security, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox129 | --- | fixed |
People
(Reporter: mbrodesser, Assigned: mbrodesser)
References
(Blocks 1 open bug)
Details
(Whiteboard: [domsecurity-active])
Attachments
(7 files)
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review |
Currently, the data a violation (https://w3c.github.io/webappsec-csp/#violation) contains is spread over multiple variables, mixed with other data and passed to CSPReportSenderRunnable
(https://searchfox.org/mozilla-central/rev/ee2ad260c25310a9fbf96031de05bbc0e94394cc/dom/security/nsCSPContext.cpp#1378).
This is confusing, when creating a new violation.
Assignee | ||
Comment 1•1 year ago
|
||
Closer to the spec.
Other members will be added in separate patches. Initializing
CSPViolationData
will be propagated up to
nsCSPContext::AsyncReportViolation
in other patches too.
The struct is suffixed with Data
, because of
https://searchfox.org/mozilla-central/rev/729361e481cf63c8d2b5617a6ff589f53e302520/dom/workers/remoteworkers/RemoteWorkerTypes.ipdlh#118.
Assignee | ||
Comment 2•1 year ago
|
||
More members will be added in separate patches.
Updated•1 year ago
|
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Comment 4•1 year ago
|
||
Comment 5•1 year ago
|
||
bugherder |
Assignee | ||
Comment 6•1 year ago
|
||
Depends on D213053
Updated•1 year ago
|
Assignee | ||
Comment 7•1 year ago
|
||
Depends on D213403
Assignee | ||
Comment 9•1 year ago
|
||
Depends on D213543
Assignee | ||
Comment 10•1 year ago
|
||
Depends on D213548
Comment 11•1 year ago
|
||
bugherder |
Comment 12•1 year ago
|
||
Comment 13•1 year ago
|
||
bugherder |
Assignee | ||
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Description
•