Closed Bug 1966694 Opened 3 months ago Closed 1 month ago

Replace nsIHttpChannelInternal::integrityMetadata with nsILoadInfo::integrityMetadata

Categories

(Core :: Networking, task, P2)

task

Tracking

()

RESOLVED FIXED
142 Branch
Tracking Status
firefox142 --- fixed

People

(Reporter: tschuster, Assigned: fkilic)

References

(Blocks 1 open bug)

Details

(Whiteboard: [necko-triaged])

Attachments

(1 file)

I added nsILoadInfo::integrityMetadata a while back so we can check if scripts have a matching hash in the Content Security Policy. We should be able to completely replace nsIHttpChannelInternal::integrityMetadata with this.

Severity: -- → S3
Priority: -- → P2
Whiteboard: [necko-triaged]

I checked every HttpBaseChannel::SetupReplacementChannel call (including calls to overrides) and we always create a copy of the existing loadinfo, usually with CloneLoadInfoForRedirect, except for TRR, it just calls TRRLoadInfo::Clone.

Assignee: nobody → fkilic
Status: NEW → ASSIGNED
Pushed by fkilic@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/427a8471246a https://hg.mozilla.org/integration/autoland/rev/a785cf12ef04 Remove nsIHttpChannelInternal::integrityMetadata. r=tschuster,necko-reviewers,kershaw
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 142 Branch
QA Whiteboard: [qa-triage-done-c143/b142]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: