Closed Bug 1520544 Opened 1 year ago Closed 1 year ago

Expose NodeFilter to DevTools modules

Categories

(DevTools :: Framework, enhancement, P2)

enhancement

Tracking

(firefox66 fixed)

RESOLVED FIXED
Firefox 66
Tracking Status
firefox66 --- fixed

People

(Reporter: miker, Assigned: miker)

References

Details

Attachments

(1 file)

We need to use NodeFilter for walkers, e.g.

const treeWalker = doc.createTreeWalker(node, NodeFilter.SHOW_ELEMENT);

Pushed by mratcliffe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/01b4a854bca1
Expose NodeFilter to DevTools modules r=gl
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 66
You need to log in before you can comment on or make changes to this bug.