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)

task

Tracking

()

RESOLVED FIXED
152 Branch
Tracking Status
firefox-esr115 --- wontfix
firefox-esr140 --- wontfix
firefox150 --- wontfix
firefox151 --- fixed
firefox152 --- fixed

People

(Reporter: aosmond, Assigned: aosmond)

References

Details

Attachments

(2 external files)

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
Status: ASSIGNED → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → 152 Branch

I'd like to uplift this to beta to make some other uplifts easier / less error prone.

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

Attachment #9575638 - Flags: approval-mozilla-beta?

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
Blocks: 2030165
Attachment #9575638 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: