Fix more linter "no-undef" errors
Categories
(Thunderbird :: General, task)
Tracking
(thunderbird_esr78 fixed, thunderbird80 fixed)
People
(Reporter: darktrojan, Assigned: darktrojan)
References
Details
Attachments
(2 files)
|
47 bytes,
text/x-phabricator-request
|
rjl
:
approval-comm-beta+
rjl
:
approval-comm-esr78+
|
Details | Review |
|
47 bytes,
text/x-phabricator-request
|
Details | Review |
Another bunch of no-undef errors have appeared. The variables aren't undefined at all, but they've only been imported second-hand (ie. A imports globals from B which imports globals from C where the variable is defined). This is confusing the linter, probably because it's now multi-process.
| Assignee | ||
Comment 1•10 months ago
|
||
I'm using globals instead of import-globals-from for ComposerCommands.js to make it easier to identify what is actually imported from that file. Not a lot, it turns out.
| Assignee | ||
Updated•10 months ago
|
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/7b8c28dc874a
Fix more linter "no-undef" errors and remove some dead compose code. r=pmorris
| Assignee | ||
Comment 3•10 months ago
|
||
Ah whoops, I caused an error. I'd seen it but not realised it was my fault.
| Assignee | ||
Comment 4•10 months ago
|
||
Fixes two errors that happen when the compose window is opened:
TypeError: can't redefine non-configurable property "FileUtils"
ReferenceError: XPCOMUtils is not defined
I caused the first with the previous commit in this bug – this patch undoes part of it. I don't know where the second came from.
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/3013914e29e0
follow-up - Fix errors on compose window opening. r=kaie DONTBUILD
Updated•10 months ago
|
| Comment hidden (Intermittent Failures Robot) |
Comment 7•10 months ago
|
||
Comment on attachment 9166966 [details]
Bug 1656148 - Fix more linter "no-undef" errors and remove some dead compose code. r?pmorris
[Triage Comment]
Fixes linting errors on comm-beta.
Comment 8•10 months ago
|
||
| bugherderuplift | ||
Updated•10 months ago
|
Updated•10 months ago
|
Comment 9•10 months ago
|
||
Comment on attachment 9166966 [details]
Bug 1656148 - Fix more linter "no-undef" errors and remove some dead compose code. r?pmorris
[Triage Comment]
With the various uplifts to esr78, this is now needed to clear up eslint errors.
Comment 10•10 months ago
|
||
| bugherderuplift | ||
Description
•