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)

task

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.

Depends on: 1906650

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.

Priority: -- → P3
Whiteboard: [domsecurity-active]
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
Status: NEW → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 132 Branch
Regressions: 1916313
Blocks: 1916957
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: