Closed Bug 1635632 Opened 4 years ago Closed 4 years ago

Check if node exists when trying to select/inspect it's accessible object.

Categories

(DevTools :: Accessibility Tools, enhancement)

enhancement

Tracking

(firefox78 fixed)

RESOLVED FIXED
Firefox 78
Tracking Status
firefox78 --- fixed

People

(Reporter: yzen, Assigned: yzen)

Details

Attachments

(1 file)

Right now we might get a TypeError when trying to select a node via a11y panel because we assume the node argument is not null. I think this is also a problem for the inspector too, because in both cases we will have an unfulfilled promise for a node selected/accessible selected events.

Pushed by yura.zenevich@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/5837c46b718c
ensure that the nodeFront exists before trying to inspect it or its accessibility properties. r=gl
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 78
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: