test_ext_permission_warnings.js fails when run in Thunderbird
Categories
(WebExtensions :: General, enhancement, P2)
Tracking
(firefox66 fixed)
Tracking | Status | |
---|---|---|
firefox66 | --- | fixed |
People
(Reporter: jorgk-bmo, Assigned: jorgk-bmo)
References
Details
(Whiteboard: [permission])
Attachments
(1 file, 2 obsolete files)
1.24 KB,
patch
|
robwu
:
review+
aswan
:
review+
|
Details | Diff | Splinter Review |
+++ This bug was initially created as a clone of Bug #1504018 +++
The problem is that the test uses
const bundle = Services.strings.createBundle("chrome://browser/locale/browser.properties");
and that bundle is not available. I little unfortunate that browser has crept into toolkit here.
Assignee | ||
Comment 1•6 years ago
|
||
Andrew, feel free to r- and suggest a better solution.
Comment 2•6 years ago
|
||
Can you update the test code to import the following if the app is Thunderbird:
Services.strings.createBundle("chrome://messenger/locale/addons.properties");
The test relies on the following:
https://searchfox.org/comm-central/rev/ab062df16f6764dfe7adad09a21fc84a4af732d0/mail/locales/en-US/chrome/messenger/addons.properties#151-203
Assignee | ||
Comment 3•6 years ago
|
||
Thanks for the tip!
Comment 4•6 years ago
|
||
Assignee | ||
Comment 5•6 years ago
|
||
Comment 6•6 years ago
|
||
Comment hidden (Intermittent Failures Robot) |
Comment 8•6 years ago
|
||
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Updated•6 years ago
|
Pushed by csabou@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/fd4be420c44f
Use application specific string bundle in test_ext_permission_warnings.js. r=robwu,aswan
Comment 10•6 years ago
|
||
bugherder |
Comment 11•6 years ago
|
||
Will this fix require manual validation? if yes please specify how exactly to correctly validate it, thanks!
Assignee | ||
Comment 12•6 years ago
|
||
Nothing to verify here, thanks for asking. The test now passes for Firefox and Thunderbird.
Updated•6 years ago
|
Comment hidden (Intermittent Failures Robot) |
Description
•