Closed Bug 1667174 Opened 4 years ago Closed 4 years ago

Refactor RotorRules.mm to avoid duplication of checks in Match function

Categories

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

Desktop
macOS
defect

Tracking

()

RESOLVED FIXED
83 Branch
Tracking Status
firefox83 --- fixed

People

(Reporter: morgan, Assigned: morgan)

References

Details

Attachments

(1 file)

There are a series of checks we have to do on every node we pass into a RotorRule, regardless of the later check we do to determine if it is a key match. We should abstract the checks we do on everything into some other virtual function/parent class so there's less code copying in these rules.

Pushed by mreschenberg@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0d9d32b08317
Create RotorRule base class to abstract checks duplicated across current rotor rules r=eeejay
Pushed by mreschenberg@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ffb3a4a135ae
Create RotorRule base class to abstract checks duplicated across current rotor rules r=eeejay
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 83 Branch
Flags: needinfo?(mreschenberg)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: