Closed Bug 1811246 Opened 1 year ago Closed 1 year ago

ESLint - enigmailMessengerOverlay.js:2987:13 | 'viewEncryptedPart' is not defined. (no-undef)

Categories

(Thunderbird :: Mail Window Front End, defect, P5)

Tracking

(thunderbird_esr102 unaffected)

RESOLVED FIXED
111 Branch
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 (??)
Duplicate of this bug: 1811247

TEST-UNEXPECTED-ERROR | /builds/worker/checkouts/gecko/comm/mail/extensions/openpgp/content/ui/enigmailMessengerOverlay.js:2987:13 | 'viewEncryptedPart' is not defined. (no-undef)

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.

Assignee: nobody → geoff

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.

Ok, it's broken.

This file lives in a different scope now, so the function call needs to reference the original scope.

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

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 111 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: