Update command API to latest m-c code
Categories
(Thunderbird :: Add-Ons: Extensions API, enhancement)
Tracking
(thunderbird67 fixed, thunderbird68 fixed)
People
(Reporter: Fallen, Assigned: Fallen)
References
Details
Attachments
(1 file, 2 obsolete files)
51.77 KB,
patch
|
Fallen
:
review+
jorgk-bmo
:
approval-comm-beta+
|
Details | Diff | Splinter Review |
The command API got an overhaul, most things moved into a module. Unfortunately the module hardcodes browserAction/sidebarAction/etc but I think we can get away with this.
Now that mochitests work I've also ported the tests.
Assignee | ||
Comment 1•5 years ago
|
||
Comment 2•5 years ago
|
||
Missing hg add
somewhere along the line?
Assignee | ||
Comment 3•5 years ago
|
||
Yes, thanks for the note!
Comment 4•5 years ago
|
||
Comment on attachment 9053167 [details] [diff] [review] Fix - v2 Review of attachment 9053167 [details] [diff] [review]: ----------------------------------------------------------------- r+ based on the diff between the m-c files and the c-c files. I wonder, since ext-commands.js is the same in both trees, should we link it straight from m-c like we do with ext-pkcs11.js? It would leave us prone to breakage if they change the file, but we've got plenty of stuff like that already, what's wrong with a little more? ;-) Happy either way.
Assignee | ||
Comment 5•5 years ago
|
||
That's fair, I guess at the time I created the ext-commands.js I was thinking I could make it influence the jsm to not add the sidebar commands.
I've started a try run just to be sure I didn't break anything locally when making the switch:
Assignee | ||
Comment 6•5 years ago
|
||
And another one because I didn't pull for 2 changesets.
Assignee | ||
Comment 7•5 years ago
|
||
Second try run fails on some unrelated test. Looks like there are some intermittent issues with the mochitests? The first failure was also not my test.
Assignee | ||
Comment 9•5 years ago
|
||
Very well then, I'm going to assume my tests work then!
Comment 10•5 years ago
|
||
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/6db528de5a88
Make use of ExtensionShortcuts module and add commands API tests. r=darktrojan
Updated•5 years ago
|
Assignee | ||
Comment 11•5 years ago
|
||
Comment on attachment 9053552 [details] [diff] [review] Fix - v2 [Approval Request Comment] User impact if declined: Gecko Profiler does not work without this uplift Testing completed (on c-c, etc.): this has been working fine on nightly. Risk to taking this patch (and alternatives if risky): Would be good to have the tests run to make sure everything is working as expected.
Updated•5 years ago
|
Comment 13•5 years ago
|
||
Updated•5 years ago
|
Description
•