Closed
Bug 1913077
Opened 5 months ago
Closed 4 months ago
Chapter 2: implement Trusted Types support for `Element.insertAdjacentHTML` without default-policy support without reporting violations
Categories
(Core :: DOM: Security, task, P3)
Core
DOM: Security
Tracking
()
RESOLVED
FIXED
132 Branch
Tracking | Status | |
---|---|---|
firefox132 | --- | fixed |
People
(Reporter: mbrodesser-Igalia, Assigned: mbrodesser-Igalia)
References
(Blocks 2 open bugs)
Details
(Whiteboard: [domsecurity-active])
Attachments
(2 files)
Separate ticket for release-tracking purposes.
Assignee | ||
Comment 1•5 months ago
|
||
To be used in a following part.
If nsCSPDirective::AreTrustedTypesForSinkGroupRequired
turns out to be
to ineffcient, release builds could simply return mDirective == REQUIRE_TRUSTED_TYPES_FOR_DIRECTIVE
since there's currently only one
sink group ("script"). nsCSPParser
adds the directive for
REQUIRE_TRUSTED_TYPES_FOR_DIRECTIVE
only if that sink group is parsed
too.
Assignee | ||
Comment 2•5 months ago
|
||
For a potential performance-improvement see
https://phabricator.services.mozilla.com/D216304's description.
Updated•5 months ago
|
Priority: -- → P3
Whiteboard: [domsecurity-active]
Updated•5 months ago
|
Attachment #9419057 -
Attachment description: Bug 1913077: part 2) Add `TrustedHTML` to `Element.insertAdjacentHTML`. r=smaug,peterv → Bug 1913077: part 2) Add `TrustedHTML` to `Element.insertAdjacentHTML`. r=smaug,peterv!
Pushed by mbrodesser@igalia.com:
https://hg.mozilla.org/integration/autoland/rev/ac3ff66c5cbe
part 1) Add `nsCSPPolicy::AreTrustedTypesForSinkGroupRequired`. r=tschuster
https://hg.mozilla.org/integration/autoland/rev/b137fd6f1c22
part 2) Add `TrustedHTML` to `Element.insertAdjacentHTML`. r=smaug,peterv
Comment 4•4 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/ac3ff66c5cbe
https://hg.mozilla.org/mozilla-central/rev/b137fd6f1c22
Status: NEW → RESOLVED
Closed: 4 months ago
status-firefox132:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 132 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•