Closed
Bug 1723998
Opened 3 years ago
Closed 3 years ago
stop collecting system-principal load telemetry for users with userChrome hacks
Categories
(Core :: DOM: Security, enhancement, P2)
Core
DOM: Security
Tracking
()
RESOLVED
FIXED
93 Branch
Tracking | Status | |
---|---|---|
firefox93 | --- | fixed |
People
(Reporter: freddy, Assigned: freddy)
References
Details
(Whiteboard: [domsecurity-active])
Attachments
(1 file)
The code in https://searchfox.org/mozilla-central/rev/064a1e6a2a6f6aa30be8bf4edea2f8408f779d4d/dom/security/nsContentSecurityUtils.cpp#1025-1068 and https://searchfox.org/mozilla-central/rev/064a1e6a2a6f6aa30be8bf4edea2f8408f779d4d/dom/security/nsContentSecurityUtils.cpp#501-544 is already detecting userChrome hacks.
- Remove the existing code (links above) and deduplicate it into a function in nsContentUtils
- use this new function in nsContentSecurityManager:MeasureUnexpectedPrivilegedLoads, so we do not record telemetry for unsupported setups.
Assignee | ||
Comment 1•3 years ago
|
||
Pushed by fbraun@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/24284cf9d4da Refactor jshacks detection and adapt for use in system principal telemetry r=tjr
Comment 3•3 years ago
|
||
Backed out changeset 24284cf9d4da (Bug 1723998) for causing GTest failures.
Backout link
Push with failures
Failure Log
Flags: needinfo?(fbraun)
Assignee | ||
Comment 4•3 years ago
|
||
I broke my own test. Classic.
Here's a try push to adjust the test https://treeherder.mozilla.org/jobs?repo=try&revision=189ab171c50f4569bd35f4141e3d4a7e76f25953
Flags: needinfo?(fbraun)
Updated•3 years ago
|
Severity: -- → S4
Status: NEW → ASSIGNED
Priority: -- → P2
Whiteboard: [domsecurity-active]
Pushed by fbraun@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7f5f28cefdc7 Refactor jshacks detection and adapt for use in system principal telemetry r=ckerschb,tjr
Comment 6•3 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
status-firefox93:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 93 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•