Emails and Folders WebExtensions API
Categories
(Thunderbird :: Add-Ons: Extensions API, enhancement)
Tracking
(Not tracked)
People
(Reporter: Fallen, Assigned: darktrojan)
References
Details
Attachments
(3 files, 5 obsolete files)
24.99 KB,
patch
|
Fallen
:
review+
|
Details | Diff | Splinter Review |
21.38 KB,
patch
|
Fallen
:
review+
|
Details | Diff | Splinter Review |
1.84 KB,
patch
|
Fallen
:
review+
|
Details | Diff | Splinter Review |
Updated•6 years ago
|
Assignee | ||
Comment 2•6 years ago
|
||
Assignee | ||
Comment 3•6 years ago
|
||
Assignee | ||
Comment 4•6 years ago
|
||
Comment 5•6 years ago
|
||
Comment 6•6 years ago
|
||
Assignee | ||
Comment 7•6 years ago
|
||
Comment 8•6 years ago
|
||
Assignee | ||
Comment 9•6 years ago
|
||
Comment 10•6 years ago
|
||
Assignee | ||
Comment 12•6 years ago
|
||
Assignee | ||
Comment 13•6 years ago
|
||
Comment 14•6 years ago
|
||
Comment 15•6 years ago
|
||
Comment 16•6 years ago
|
||
Assignee | ||
Comment 17•6 years ago
|
||
Comment 18•6 years ago
|
||
Reporter | ||
Comment 19•6 years ago
|
||
Comment 20•6 years ago
|
||
Comment 21•6 years ago
|
||
Assignee | ||
Comment 22•6 years ago
|
||
Reporter | ||
Comment 23•6 years ago
|
||
Reporter | ||
Comment 24•6 years ago
|
||
Assignee | ||
Comment 25•6 years ago
|
||
Assignee | ||
Comment 26•6 years ago
|
||
Assignee | ||
Comment 27•6 years ago
|
||
Reporter | ||
Comment 28•6 years ago
|
||
Reporter | ||
Comment 29•6 years ago
|
||
Assignee | ||
Comment 30•6 years ago
|
||
(In reply to Philipp Kewisch [:Fallen] [:📆] from comment #29)
Comment on attachment 9033935 [details] [diff] [review]
1488176-webext-accounts-messages-test-2.diffReview of attachment 9033935 [details] [diff] [review]:
::: mail/components/extensions/test/browser/browser_ext_mailTabs.js
@@ +235,2 @@window.gFolderTreeView.selectFolder(folderMap.get(newFolderPath));
- await new Promise(executeSoon);
Does this work ok with the aName argument? Might be best to just be verbose
in executing this.
I don't understand the question.
Comment 31•6 years ago
|
||
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/18f7dcdd1bed
Accounts and messages WebExtensions API; r=Fallen
https://hg.mozilla.org/comm-central/rev/7acd73ce23af
Accounts and messages WebExtensions API - tests; r=Fallen
https://hg.mozilla.org/comm-central/rev/02def84cbd9c
Backed out changeset da68367e23e5
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 32•6 years ago
|
||
Damn, I caused a failure on Windows:
comm/mail/components/extensions/test/xpcshell/test_ext_accounts.js | test_accounts - [test_accounts : 311] undefined - Expected: /Trash/Ϟ, Actual: /Trash/b52bc214 - false == true
I know what causes this and I thought I'd fixed it before, but clearly whatever I did about it didn't make it into the patch.
Comment 33•6 years ago
|
||
Assignee | ||
Comment 34•6 years ago
|
||
It's failing because of NS_MsgHashIfNecessary. I think we should just ignore it and update the test.
Assignee | ||
Updated•6 years ago
|
Comment 35•6 years ago
|
||
Reporter | ||
Comment 36•6 years ago
|
||
(In reply to Geoff Lankow (:darktrojan) from comment #30)
(In reply to Philipp Kewisch [:Fallen] [:📆] from comment #29)
Comment on attachment 9033935 [details] [diff] [review]
1488176-webext-accounts-messages-test-2.diffReview of attachment 9033935 [details] [diff] [review]:
::: mail/components/extensions/test/browser/browser_ext_mailTabs.js
@@ +235,2 @@window.gFolderTreeView.selectFolder(folderMap.get(newFolderPath));
- await new Promise(executeSoon);
Does this work ok with the aName argument? Might be best to just be verbose
in executing this.I don't understand the question.
Sorry for being unclear, I agree the aName thing was not well explained. I meant that the Promise constructor takes a function(resolve, reject)
as its argument. executeSoon's signature is executeSoon(callback, aName)
. So you are passing the rejection function as the aName argument of executeSoon, so it will show in the logs as "function () { [native code] }"
. You could consider just using await new Promise(resolve => executeSoon(resolve));
.
Assignee | ||
Comment 37•6 years ago
|
||
I've decided to keep the encoded paths on Windows, since there are already reasons the path may not be what a developer might expect.
Assignee | ||
Comment 38•6 years ago
|
||
I want to change one of the permission strings to be more accurate. It doesn't appear to be on Pontoon yet, so this shouldn't be a problem as long as it lands soon.
Reporter | ||
Comment 39•6 years ago
|
||
Reporter | ||
Comment 40•6 years ago
|
||
Ok read your comment, please proceed
Comment 41•6 years ago
|
||
Description
•