Closed
Bug 1904004
Opened 1 year ago
Closed 1 year ago
Add a OriginAttributes::IsPrivateBrowsing helper method
Categories
(Core :: Security: CAPS, task)
Core
Security: CAPS
Tracking
()
RESOLVED
FIXED
129 Branch
| Tracking | Status | |
|---|---|---|
| firefox129 | --- | fixed |
People
(Reporter: tschuster, Assigned: tschuster)
References
Details
Attachments
(2 files)
No description provided.
| Assignee | ||
Comment 1•1 year ago
|
||
| Assignee | ||
Comment 2•1 year ago
|
||
Comment 3•1 year ago
|
||
Have you considered adding a linter to prevent new code from directly inspecting the private browsing id?
Flags: needinfo?(tschuster)
Comment 4•1 year ago
|
||
Is this a preparation for something bigger ?
| Assignee | ||
Comment 5•1 year ago
|
||
Have you considered adding a linter to prevent new code from directly inspecting the private browsing id?
No, I hadn't really. I think it would be neat to have, but there are some valid use cases like serialization.
Is this a preparation for something bigger ?
No. Just some cleanup to make something like bug 1903559 less likely to happen.
Flags: needinfo?(tschuster)
Pushed by tschuster@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/fb41003664bc
Add OriginAttributes::IsPrivateBrowsing. r=timhuang
https://hg.mozilla.org/integration/autoland/rev/9e5df1816e1c
Use OriginAttributes::IsPrivateBrowsing instead of open coding PBM checks. r=timhuang,cookie-reviewers,anti-tracking-reviewers,profiler-reviewers,necko-reviewers,kershaw,dom-storage-reviewers,janv,canaltinova,dom-worker-reviewers,asuth
Comment 7•1 year ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/fb41003664bc
https://hg.mozilla.org/mozilla-central/rev/9e5df1816e1c
Status: NEW → RESOLVED
Closed: 1 year ago
status-firefox129:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•