Open Bug 1980574 Opened 1 year ago Updated 1 year ago

[META] Refactor CanvasFrameAnonymousContentHelper since we can directly access elements now

Categories

(DevTools :: General, task, P3)

task

Tracking

(Not tracked)

People

(Reporter: nchevobbe, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: meta)

CanvasFrameAnonymousContentHelper was created when insertAnonymousContent was quite opaque and only had a set of exposed API we had to use.
Now insertAnonymousContent uses Shadow DOM to create the content, and the callsites can directly access the elements.
This means that CanvasFrameAnonymousContentHelper could be greatly simplified so it wouldn't feel as special.

Depends on: 1980575
Depends on: 1980576
Depends on: 1981681
Depends on: 1981682
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.