ESLint - enigmailMessengerOverlay.js:2987:13 | 'viewEncryptedPart' is not defined. (no-undef)
Categories
(Thunderbird :: Mail Window Front End, defect, P5)
Tracking
(thunderbird_esr102 unaffected)
Tracking | Status | |
---|---|---|
thunderbird_esr102 | --- | unaffected |
People
(Reporter: intermittent-bug-filer, Assigned: darktrojan)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
Filed by: thunderbird [at] calypsoblue.org
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=402873860&repo=comm-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/TMZ45JugSkO-ut1WicdmIw/runs/0/artifacts/public/logs/live_backing.log
mail/base/content/mailCommands.js needs to be added to the `import-globals-from` headers (??)
Comment 2•1 year ago
|
||
TEST-UNEXPECTED-ERROR | /builds/worker/checkouts/gecko/comm/mail/extensions/openpgp/content/ui/enigmailMessengerOverlay.js:2987:13 | 'viewEncryptedPart' is not defined. (no-undef)
Assignee | ||
Comment 3•1 year ago
|
||
I haven't yet looked at this because I think viewEncryptedPart
itself is broken, so fixing a call to it for linting purposes just hides a problem.
Comment 4•1 year ago
|
||
A global was defined in the original patch:
https://hg.mozilla.org/comm-central/rev/8bcd8ddcd1ef#l6.13
Now, the global is missing:
https://searchfox.org/comm-central/rev/d07c2e103641f956475b6483efeca41615a317a0/mail/extensions/openpgp/content/ui/enigmailMessengerOverlay.js
This isn't an intermittent, I see it in every cycle.
I don't know why you think this function is broken, I think that's independent of this lint issue.
I will make a TODO for myself to test that function, and if necessary file a regression bug.
Comment 5•1 year ago
|
||
Ok, it's broken.
Assignee | ||
Comment 6•1 year ago
|
||
This file lives in a different scope now, so the function call needs to reference the original scope.
Assignee | ||
Comment 7•1 year ago
|
||
I expected MsgOpenMessageFromString
to be broken from all the UI changes, but it isn't. In hindsight that makes sense.
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/3b7fc186a96b
Fix linting problem in enigmailMessengerOverlay.js. r=aleca
Assignee | ||
Updated•1 year ago
|
Comment hidden (Intermittent Failures Robot) |
Updated•1 year ago
|
Description
•