Closed Bug 2010767 Opened 7 months ago Closed 7 months ago

[perf] Add separate observer notification for ClearSiteData

Categories

(Toolkit :: Data Sanitization, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
149 Branch
Tracking Status
firefox149 --- fixed

People

(Reporter: valentin, Assigned: valentin)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Currently ClearSiteData observes every NS_HTTP_ON_AFTER_EXAMINE_RESPONSE_TOPIC notification, and for each channel it
computes the channel result principals even when the channel does not have the Clear-Site-Data response header.

Instead, it would be much better to introduce a different observer notification and have the channel only emit that when the response has the clear-site-data header.

Assignee: nobody → valentin.gosu
Component: Networking → Data Sanitization
Product: Core → Toolkit
Pushed by valentin.gosu@gmail.com: https://github.com/mozilla-firefox/firefox/commit/2a0cbe1ab984 https://hg.mozilla.org/integration/autoland/rev/9346960f8be9 [perf] Add separate observer notification for ClearSiteData r=manuel,necko-reviewers,kershaw
Status: NEW → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → 149 Branch
QA Whiteboard: [qa-triage-done-c150/b149]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: