Closed
Bug 1818782
Opened 2 years ago
Closed 2 years ago
PurgeTrackerService will throw error for bad cookie origins
Categories
(Core :: Privacy: Anti-Tracking, defect)
Core
Privacy: Anti-Tracking
Tracking
()
RESOLVED
FIXED
112 Branch
Tracking | Status | |
---|---|---|
firefox112 | --- | fixed |
People
(Reporter: bradwerth, Assigned: bradwerth)
References
Details
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
The calls to createContentPrincipalFromOrigin
can throw errors and return a null principal. If these are left uncaught, the following lines of JS will attempt to access a property on a null object and fail.
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
I have a preliminary patch.
Assignee | ||
Updated•2 years ago
|
Assignee: nobody → bwerth
Assignee | ||
Comment 2•2 years ago
|
||
Pushed by bwerth@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/94918ead0cdf
Make PurgeTrackerService cookie clearing resilient to bad cookie origins. r=anti-tracking-reviewers,pbz
Comment 4•2 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 2 years ago
status-firefox112:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 112 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•