Closed Bug 1640605 Opened 2 years ago Closed 2 years ago

Remove IsInAnonymousSubtree

Categories

(Core :: DOM: Core & HTML, task, P2)

task

Tracking

()

RESOLVED FIXED
mozilla78
Tracking Status
firefox78 --- fixed

People

(Reporter: emilio, Assigned: emilio)

Details

Attachments

(2 files)

It does the same as IsInNativeAnonymousSubtree nowadays.

In favor of the NativeAnonymous versions which they forward to.

Done automatically with:

rg -l 'IsInAnonymousSubtree' | xargs sed -i 's/IsInAnonymousSubtree/IsInNativeAnonymousSubtree/g'

And removing the function definitions afterwards.

IsInNativeAnonymousSubtree and IsRootOfNativeAnonymousSubtree are
exposed in nsINode, so we don't need to make sure to call them on
nsIContent objects.

Depends on D76681

Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/629add14b781
Remove IsInAnonymousSubtree / IsRootOfAnonymousSubtree. r=edgar
https://hg.mozilla.org/integration/autoland/rev/f095191aaa4a
Remove some now-unneeded casts / type-checks. r=edgar
Severity: -- → N/A
Type: defect → task
Priority: -- → P2
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla78
You need to log in before you can comment on or make changes to this bug.