Closed Bug 1727227 Opened 3 years ago Closed 3 years ago

Add a static assert to ensure the size of the value variant in AccAttributes isn't unintentionally changed

Categories

(Core :: Disability Access APIs, task, P1)

task

Tracking

()

RESOLVED FIXED
93 Branch
Tracking Status
firefox93 --- fixed

People

(Reporter: Jamie, Assigned: Jamie)

References

Details

Attachments

(1 file)

AccAttributes uses a Variant to store values. In a 64 bit build, that currently consumes 16 bytes. (I need to check the size on 32 bit.) Given the number of attributes we'll be storing for RemoteAccessibles, ideally, we don't want that to increase. If we have to increase it, we should be very deliberate and informed about that decision. Adding a static assert will help ensure this.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 93 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: