tabs.create() should wait for window load
Categories
(Thunderbird :: Add-Ons: Extensions API, defect)
Tracking
(thunderbird_esr78 fixed, thunderbird83 fixed)
People
(Reporter: john, Assigned: john)
References
Details
Attachments
(2 files)
|
2.17 KB,
patch
|
mkmelin
:
review+
wsmwk
:
approval-comm-beta+
wsmwk
:
approval-comm-esr78+
|
Details | Diff | Splinter Review |
|
2.31 KB,
patch
|
mkmelin
:
review+
rjl
:
approval-comm-esr78+
|
Details | Diff | Splinter Review |
A call to browser.tabs.create during Thunderbird start fails with an error about tabmail not being defined.
This works as expected in Firefox. The difference is, that the firefox implementation is waiting for browser-delayed-startup-finished.
We have something similar "mail-delayed-startup-finished" and we should use that.
| Assignee | ||
Comment 1•5 years ago
|
||
Patch using the same method as firefox, but with the "mail-delayed-startup-finished" notification.
| Assignee | ||
Updated•5 years ago
|
Comment 2•5 years ago
|
||
(In reply to John Bieling (:TbSync) from comment #0)
A call to browser.taps.create during Thunderbird start fails with an error about tabmail not being defined.
Well, a call to browser.taps.create will always fail becaused "tabs" is misspelled... ;-)
Comment 3•5 years ago
|
||
Comment 4•5 years ago
|
||
Do you have a try run?
Please set affected flags for 78 and beta.
| Assignee | ||
Comment 5•5 years ago
|
||
I never know what the result of the try run is telling me:
https://treeherder.mozilla.org/jobs?repo=try-comm-central&revision=653fc68dd078afc61b4bcf0e9174a9e962969644&selectedTaskRun=ZtLiKjj_T-2MEzWG0OFZrw.0
| Assignee | ||
Updated•5 years ago
|
Comment 6•5 years ago
|
||
Doesn't look like any new oranges, which is what to look out for.
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/38bd4260fb50
tabs.create() should wait for window load. r=mkmelin
| Assignee | ||
Comment 8•5 years ago
|
||
Comment on attachment 9184808 [details] [diff] [review]
bug1674407.patch
[Approval Request Comment]
User impact if declined: Cannot use browser.tabs.create() during Thunderbird start
Testing completed (on c-c, etc.): OK
Risk to taking this patch (and alternatives if risky): None
Comment 9•5 years ago
|
||
Comment on attachment 9184808 [details] [diff] [review]
bug1674407.patch
[Triage Comment]
Approved for beta
Comment 10•5 years ago
|
||
| bugherder uplift | ||
Thunderbird 83.0b3:
https://hg.mozilla.org/releases/comm-beta/rev/149b60e55f75
| Assignee | ||
Comment 11•5 years ago
|
||
Comment on attachment 9184808 [details] [diff] [review]
bug1674407.patch
[Approval Request Comment]
User impact if declined: Cannot use browser.tabs.create() during Thunderbird start
Testing completed (on c-c, etc.): OK
Risk to taking this patch (and alternatives if risky): Noneatch (and alternatives if risky):
Comment 12•5 years ago
|
||
Comment on attachment 9184808 [details] [diff] [review]
bug1674407.patch
[Triage Comment]
Approved for esr78
Comment 13•5 years ago
|
||
| bugherder uplift | ||
Thunderbird 78.5.0:
https://hg.mozilla.org/releases/comm-esr78/rev/43a3c6a9bf59
Comment 14•5 years ago
|
||
Causes test failures on esr78:
https://treeherder.mozilla.org/jobs?repo=comm-esr78&selectedTaskRun=VkCn9OXwSmiCTLVGxP74vw.0
Backing this bug out "fixed" the tests, but they should probably be made to work rather than backing out.
Updated•5 years ago
|
| Assignee | ||
Comment 16•5 years ago
|
||
I was able to build ESR and the result is not nice: The patch works on trunk but not on ESR. It is not just the test, it really does not work. I have to investigate.
It looks like this patch is still on comm-esr78 ? If so, it has to be removed before release of 78.5
| Assignee | ||
Comment 17•5 years ago
|
||
Fail in ESR78 is due to bug 1660904 not being uplifted.
Comment 18•5 years ago
|
||
| backout bugherder uplift | ||
Thunderbird 78.5.0 (backout):
https://hg.mozilla.org/releases/comm-esr78/rev/997190de89d3
Updated•5 years ago
|
Comment 19•5 years ago
|
||
This fixes the problems for this bug on 78. We're waiting for a notification that never arrives, because it doesn't exist on 78. Not really any risk, but I've asked Magnus for review anyway.
Comment 20•5 years ago
|
||
Comment 21•5 years ago
|
||
Comment on attachment 9187958 [details] [diff] [review]
1674407-esr78-fixes.diff
[Triage Comment]
ESR78 fixes for previously approved changes.
Comment 22•5 years ago
|
||
| bugherder uplift | ||
Description
•