Closed
Bug 2034798
Opened 7 months ago
Closed 7 months ago
Refactor blocklist macros to prevent allowlist statuses with non-allowlist features
Categories
(Core :: Graphics, task)
Core
Graphics
Tracking
()
RESOLVED
FIXED
152 Branch
People
(Reporter: aosmond, Assigned: aosmond)
References
Details
Attachments
(2 external files)
- FEATURE_ALLOW_ALWAYS, FEATURE_ALLOW_QUALIFIED and FEATURE_DENIED should only be permitted for features in GfxInfoBase::IsFeatureAllowlisted
| Assignee | ||
Comment 1•7 months ago
|
||
This patch adds static asserts to prevent allowlist statuses to be
used with non-allowlist features, as well as prevent retired
features from being used. It also removes the name/ID split for
most features where they are the same.
Pushed by aosmond@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/aec127960479
https://hg.mozilla.org/integration/autoland/rev/a19289d2a96d
Refactor gfx blocklist macros to prevent common mistakes. r=gfx-reviewers,lsalzman,bradwerth
Comment 3•7 months ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 7 months ago
status-firefox152:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 152 Branch
| Assignee | ||
Comment 4•6 months ago
|
||
I'd like to uplift this to beta to make some other uplifts easier / less error prone.
status-firefox150:
--- → wontfix
status-firefox151:
--- → affected
status-firefox-esr115:
--- → wontfix
status-firefox-esr140:
--- → wontfix
| Assignee | ||
Comment 5•6 months ago
|
||
This patch adds static asserts to prevent allowlist statuses to be
used with non-allowlist features, as well as prevent retired
features from being used. It also removes the name/ID split for
most features where they are the same.
Original Revision: https://phabricator.services.mozilla.com/D296378
Updated•6 months ago
|
Attachment #9575638 -
Flags: approval-mozilla-beta?
Comment 6•6 months ago
|
||
firefox-beta Uplift Approval Request
- User impact if declined/Reason for urgency: Will make other uplifts more difficult
- Code covered by automated testing?: yes
- Fix verified in Nightly?: yes
- Needs manual QE testing?: no
- Steps to reproduce for manual QE testing: N/A
- Risk associated with taking this patch: low
- Explanation of risk level: Very low, the patch adds static assertion enforcement of common errors with the gfx blocklist, no functional change for users
- String changes made/needed?: N/A
- Is Android affected?: yes
Updated•6 months ago
|
Attachment #9575638 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Updated•6 months ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•