Closed Bug 2052219 Opened 3 months ago Closed 1 month ago

Refresh S/MIME test data to get HTML remote image test message

Categories

(MailNews Core :: Security: S/MIME, enhancement)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED
156 Branch

People

(Reporter: KaiE, Assigned: KaiE)

References

Details

Attachments

(2 files)

I'd like to work on automated tests with an HTML message that includes a remote image, that requires that we refresh the NSS test data.

CC just for knowledge sharing

FYI, when adding new test message, we must re-generate the whole set of S/MIME keys, certificates and messages, to ensure they all match each other.
We have a generate.sh script in comm/mailnews/test/data/smime that does all the work.

I'll run this script, with the NSS change from bug 2052210 included, and will submit a patch to update the data.

Blocks: 1994709
Blocks: 2052070
Attachment #9603879 - Attachment description: WIP: Bug 2052219 - Copy remote image test artifact for mochitest. → WIP: Bug 2052219 - Copy remote image test artifact for mochitest and automate smime-manual regeneration.
Depends on: 2012823

Here is a try build that re-generates the S/mime test data and relies on the new automation patch, no manual modifications were made to test files.
https://treeherder.mozilla.org/jobs?repo=try-comm-central&revision=308d71fcb450d220e4ad3dac1a5e27f7e5fa3dcf

Attachment #9603879 - Attachment description: WIP: Bug 2052219 - Copy remote image test artifact for mochitest and automate smime-manual regeneration. → Bug 2052219 - Automate regeneration of manually adjusted S/MIME test file, and add new remote image test. r=mkmelin
Attachment #9603880 - Attachment description: WIP: Bug 2052219 - Refresh S/MIME test data. → Bug 2052219 - Refresh S/MIME test data. r=mkmelin

waiting for dependency bugs to get r+
cannot land without them

well, the one that is blocking landing is bug 2012823.

Target Milestone: --- → 156 Branch

Pushed by brendan@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/972082402a60
Automate regeneration of manually adjusted S/MIME test file, and add new remote image test. r=mkmelin
https://hg.mozilla.org/comm-central/rev/c64caf2d0abe
Refresh S/MIME test data. r=mkmelin

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

Attachment

General

Created:
Updated:
Size: