Make windows.create() follow firefox and do not wait for title change
Categories
(Thunderbird :: Add-Ons: Extensions API, task)
Tracking
(Not tracked)
People
(Reporter: TbSync, Assigned: TbSync)
References
Details
Attachments
(1 file)
Under certain conditions, the Promise returned by `windows.create()´ does not fulfil because there is no title-change-event, which we currently await. Firefox does not wait for the title of the loaded tab to be used as the window title, before fulfilling the windows.create() Promise.
Assignee | ||
Comment 1•9 months ago
|
||
In Bug 1816263 we added the condition to wait for a title change, before
returning the newly created window. This causes the windows.create()
Promise to never fulfill in certain scenarios. Since Firefox is not
doing this, we will revert this behavioral change. The title will only
be ready after the inner tab has been loaded completely.
Updated•9 months ago
|
Assignee | ||
Updated•9 months ago
|
Pushed by solange@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/9e856c281e3e
Make windows.create() follow firefox and do not wait for title change, r=mkmelin
Updated•8 months ago
|
Description
•