[de-xbl] remove the overlayTrigger binding
Categories
(Thunderbird :: General, task)
Tracking
(Not tracked)
People
(Reporter: mkmelin, Assigned: mkmelin)
References
Details
Attachments
(1 file, 1 obsolete file)
(deleted),
patch
|
mkmelin
:
review+
|
Details | Diff | Splinter Review |
Remove the overlayTriger binding.
Assignee | ||
Comment 1•6 years ago
|
||
Looking at this more closely, I'm not sure what it's supposed to do.
It creates an element, then appends that to the document. Loads the css for the xbl, so the element would get binding attached. That causes the custom event, which the event listener reacts to.
Unless there's some side effect I don't see here, it looks rather pointless, and more of a game to win some time?
At least lightning seems ok with this.
https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=3424f6971806038e49f03f00e1afa0cba1aca371
Comment 2•6 years ago
|
||
I have a bad feeling about doing this. What that code is supposed to do is delay the fake load
event we send to listeners in the event of an overlay being applied after the real load
event, which happens in some circumstances. We wait for a stylesheet to load and a binding to be constructed so that we can assume all stylesheets have loaded and all bindings have been applied.
I'm going to make a build and try this on one of my VMs, as it used to run this bit of code frequently.
Assignee | ||
Comment 3•6 years ago
|
||
I guess the question is, why do we need to wait for all stylesheets or bindings to be applied? If it's purely about bindings (which would be applied through stylesheet hookup) then for any overlay loading this is just not something we'd support anymore in 68. For 68 add-ons xbl bindings can be considered dead, and there's hope we're not really even using them in the core product for anything.
Comment 4•6 years ago
|
||
Assignee | ||
Comment 5•6 years ago
|
||
We might want to delay landing it until calendar xbl is further done, just to be sure.
Comment 6•6 years ago
|
||
This is engineering, so => task https://wiki.mozilla.org/BMO/UserGuide/BugFields#bug_type
Assignee | ||
Comment 7•5 years ago
|
||
Lets get this landed. Good try at https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=c2e4cbe9650b6e90e5a73b303c9694994a802293
Assignee | ||
Updated•5 years ago
|
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/44e0b7bccc36
[de-xbl] remove the overlayTrigger binding. r=darktrojan
Comment 9•5 years ago
|
||
This is really a Calendar bug fixed at 7.1.
Description
•