Open Bug 1825869 Opened 1 year ago Updated 3 months ago

Reenable 5 OpenPGP tests that were disabled in bug 1803255

Categories

(MailNews Core :: Security: OpenPGP, defect, P2)

Thunderbird 111

Tracking

(thunderbird_esr102 unaffected, thunderbird_esr115+ wontfix, thunderbird115+ wontfix, thunderbird117 affected)

ASSIGNED
116 Branch
Tracking Status
thunderbird_esr102 --- unaffected
thunderbird_esr115 + wontfix
thunderbird115 + wontfix
thunderbird117 --- affected

People

(Reporter: KaiE, Assigned: mkmelin)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

(Keywords: leave-open, Whiteboard: [blocked by 1837247])

Attachments

(3 files, 1 obsolete file)

Bug 1803255 disabled 5 tests in this commit:
https://hg.mozilla.org/comm-central/rev/c3a42d3207784ca2e0c6f3c596719ac43e2467f5

Search for: .skip()

They should be reenabled.

When enabling them, one of the tests reaches function MsgOpenEMLFile in mailWindowOverlay.js

After adding a missing import for MailConsts, it fails with document.getElementById("tabmail") being null.

What's missing to get that working again?

This makes the tests technically work. There are test failures though, probably for real cause(s).

This has two problems:

  • The S/MIME message created was not one that could be decrypted, so there was no (no longer any) security panel at all.
    For such a message the error message takes up all the message area (headers + body). Used a good s/mime message instead,
    since it was only testing the Ctrl+Alt+S shortcut to open the security details - content irrelevant.
  • Needed to listen for keypress from the right document. Otherwise it would only work when the message was in focus.
Assignee: nobody → mkmelin+mozilla
Status: NEW → ASSIGNED
Attachment #9326388 - Attachment description: WIP: Bug 1825869 - Reenable 5 OpenPGP tests that were disabled in bug 1803255 → Bug 1825869 - Reenable tests for OpenPGP functionality that is actually not broken. r=kaie.

I'm counting 3 tests being reenabled in these 2 patches.
2 tests are still TODO, so I'm setting the leave-open flag.

Keywords: leave-open
Depends on: 1837247
Target Milestone: --- → 116 Branch

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/6c305829682b
Reenable tests for OpenPGP functionality that is actually not broken. r=kaie.
https://hg.mozilla.org/comm-central/rev/151afdf52dfb
Make mail/test/browser/openpgp/browser_viewMessageSecurity.js work in Supernova. r=kaie

comm/mail/base/test/browser/browser_detachedWindows.js was failing

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/7d2b64784b3c
Follow-up - prevent memleak. r=kaie DONTBUILD
Depends on: 1838928

I'm guessing we'd want the remaining work to be P1. Please adjust if that is incorrect.

Priority: -- → P1
Severity: -- → S3
Priority: P1 → P2
Whiteboard: [blocked by 1837247]
Version: unspecified → Thunderbird 111
Attachment #9384070 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: