Open Bug 1590923 Opened 6 years ago Updated 3 years ago

Rework or remove delayConnectedCallback

Categories

(Toolkit :: UI Widgets, task, P3)

task

Tracking

()

People

(Reporter: bgrins, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

From https://bugzilla.mozilla.org/show_bug.cgi?id=1589134#c4, it looks like this is only happening to work sometimes. It was originally added to better handle timing with XBL construction but since we don't have XBL anymore it might be time to just remove it. I seem to remember it helped with perf in the past as well, so we'll need to check if that's still the case today.

I think we should try removing almost all the consumers of it (except for <browser>, see Bug 1519394), and see how tests and talos look: https://searchfox.org/mozilla-central/search?q=delayConnectedCallback&path=

perf key word then?

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.