Message display API
Categories
(Thunderbird :: Add-Ons: Extensions API, enhancement)
Tracking
(thunderbird_esr6870+ fixed, thunderbird70 fixed)
People
(Reporter: darktrojan, Assigned: darktrojan)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
(deleted),
patch
|
mkmelin
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
jorgk-bmo
:
approval-comm-esr68+
|
Details | Diff | Splinter Review |
We need an API that can tell us when a message is being displayed and where, before we can do things with the message. This is further complicated by the windows API knowing nothing about message display windows, but I'll deal with that in another bug.
Assignee | ||
Comment 2•5 years ago
|
||
Adds an event that fires when a message is displayed, and a function to find out what message has been displayed.
Comment 3•5 years ago
|
||
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/cba2237adb94
Message display API; r=mkmelin
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 5•5 years ago
|
||
Updated•5 years ago
|
Comment 6•5 years ago
|
||
Comment 7•5 years ago
|
||
Comment 8•5 years ago
|
||
TB 68.1.1 ESR:
https://hg.mozilla.org/releases/comm-esr68/rev/af3c68874f9b040b1751db49e8e041e7330c4651
Comment 9•5 years ago
|
||
I uplifted this with bug 1575710 and bug 1576492 and a bunch more stuff and now all the Mochitests are broken: No suite end message was emitted by this harness.
https://treeherder.mozilla.org/#/jobs?repo=comm-esr68&revision=0f180c4b528ce17f06daa7191f84a1e6f23bb4d9
https://hg.mozilla.org/releases/comm-esr68/pushloghtml?changeset=0f180c4b528ce17f06daa7191f84a1e6f23bb4d9
I guess one of these three bugs is to blame. Note that in TB 68 tabmail is still in XBL, see bug 1544793 comment #16, that one resisted uplift.
Assignee | ||
Comment 10•5 years ago
|
||
Please backout this bug and bug 1575710 from ESR. I asked for them to be landed on 68.2 because I don't believe in adding new features in point-point releases (ie. 68.x.y).
It looks like the problem with mochitest is caused by the # e10s
comment in the browser.ini file. It can be removed.
Assignee | ||
Comment 11•5 years ago
|
||
… and it seems the test itself is also broken.
Comment 12•5 years ago
|
||
(In reply to Geoff Lankow (:darktrojan) from comment #10)
Please backout this bug and bug 1575710 from ESR. I asked for them to be landed on 68.2 because I don't believe in adding new features in point-point releases (ie. 68.x.y).
Well, I wanted to land this one here in and bug 1575710 and bug 1544793 in 68.1.1 to give them some workout before it hits the masses when we upgrade all 60.x users to 68.2. Is that such a bad idea? I doesn't really matter at which number a new thing gets introduced, it's more important that we don't affect too many people if there are issues.
So I'd prefer to fix the test and also go ahead with bug 1544793.
Comment 13•5 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=5c67b36325cfec3743176f07e157e03fe326adb5
removed browser.tabs.remote.autostart=false # e10s
as suggested. I don't know what comment #11 is meant to mean.
Comment 14•5 years ago
|
||
Looks like it means this:
TEST-UNEXPECTED-FAIL | comm/mail/components/extensions/test/browser/browser_ext_messageDisplay.js | Test timed out -
TEST-UNEXPECTED-FAIL | comm/mail/components/extensions/test/browser/browser_ext_messageDisplay.js | no tasks awaiting on messages - Got ["show message 2"], expected []
TEST-UNEXPECTED-FAIL | comm/mail/components/extensions/test/browser/browser_ext_messageDisplay.js | Extension left running at test shutdown
Assignee | ||
Comment 15•5 years ago
|
||
(In reply to Jorg K (GMT+2) from comment #12)
Well, I wanted to land this one here in and bug 1575710 and bug 1544793 in 68.1.1 to give them some workout before it hits the masses when we upgrade all 60.x users to 68.2. Is that such a bad idea? I doesn't really matter at which number a new thing gets introduced, it's more important that we don't affect too many people if there are issues.
So I'd prefer to fix the test and also go ahead with bug 1544793.
We have a beta channel to give patches a workout. As these are new API features I doubt they'd get any more use on release than they would on the beta channel. Plus it makes it more complicated for extension authors to keep track of what version contained what so they can set extension compatibility correctly, and also that means ATN has to add 68.1.1 as a valid option for minimum version.
It seems the test failure (yes, like in comment 14) is not permanent, I just happened to strike it the first time. So what I did that I thought fixed it in fact probably didn't, but was coincidental. I don't think that the failure should be any more frequent than on comm-central and I'm not aware of it being a problem there.
Comment 16•5 years ago
|
||
Another try run with only the # e10s part removed. If the test still fails, I'll back it out, otherwise we can ship it and advertise it for 68.2 so add-on authors don't get confused.
Comment 17•5 years ago
|
||
Well, in that try M(bct) failed again just like in comment #14. I haven't seen such failures on trunk (or beta) since this API landed. I've retriggered the test now, but I have the impression that this is not intermittent given that 2 of the 2 samples I have are failures.
Comment 18•5 years ago
|
||
Updated•5 years ago
|
Comment 19•5 years ago
|
||
https://hg.mozilla.org/releases/comm-esr68/rev/58c27dc8acffd0d2ffeedbf0ef8cbfcac71b3212
Backout from comm-esr68.
Assignee | ||
Comment 20•5 years ago
|
||
Updated•5 years ago
|
Comment 21•5 years ago
|
||
TB 68.2.0 ESR:
https://hg.mozilla.org/releases/comm-esr68/rev/55bf3433ef1f6dcef1978d95d2cda41cb65a61c4
Description
•