Closed
Bug 1956731
Opened 1 year ago
Closed 1 year ago
Implement forgiving parsing for require-trusted-types-for directive
Categories
(Core :: DOM: Security, enhancement)
Core
DOM: Security
Tracking
()
RESOLVED
FIXED
138 Branch
| Tracking | Status | |
|---|---|---|
| firefox138 | --- | fixed |
People
(Reporter: fwang, Assigned: fwang)
References
()
Details
Attachments
(1 file)
This is the same as bug 1935434, but for require-trusted-types.
Luke reported https://github.com/w3c/trusted-types/issues/580 and is concerned this could be a compat issue.
| Assignee | ||
Comment 1•1 year ago
|
||
The ABNF is https://w3c.github.io/trusted-types/dist/spec/#require-trusted-types-for-csp-directive
Also our code assumes there is only one trusted-types-sink-group-keyword so we cannot repeat things like in 'script' 'script'
Summary: Discard malformed required-trusted-types policy name in CSP directive instead of ignoring the whole CSP directive → Discard malformed trusted-types-sink-group-keyword in CSP directive instead of ignoring the whole CSP directive
| Assignee | ||
Comment 2•1 year ago
|
||
| Assignee | ||
Updated•1 year ago
|
Summary: Discard malformed trusted-types-sink-group-keyword in CSP directive instead of ignoring the whole CSP directive → Implement forgiving parsing for require-trusted-types-for directive
Updated•1 year ago
|
Attachment #9474955 -
Attachment description: WIP: Bug 1956731 - Discard malformed trusted-types-sink-group-keyword in CSP directive instead of ignoring the whole CSP directive. r=smaug → Bug 1956731 - Implement forgiving parsing for require-trusted-types-for directive. r=smaug
Pushed by fwang@igalia.com:
https://hg.mozilla.org/integration/autoland/rev/2882613aed1c
Implement forgiving parsing for require-trusted-types-for directive. r=smaug
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/51697 for changes under testing/web-platform/tests
Comment 5•1 year ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 1 year ago
status-firefox138:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 138 Branch
Upstream PR merged by moz-wptsync-bot
You need to log in
before you can comment on or make changes to this bug.
Description
•