Add tests of CalDAV/CardDAV discovery using DNS
Categories
(Thunderbird :: Address Book, task)
Tracking
(thunderbird_esr91 fixed)
Tracking | Status | |
---|---|---|
thunderbird_esr91 | --- | fixed |
People
(Reporter: darktrojan, Assigned: darktrojan)
Details
Attachments
(2 files)
48 bytes,
text/x-phabricator-request
|
rjl
:
approval-comm-esr91+
|
Details | Review |
48 bytes,
text/x-phabricator-request
|
Details | Review |
We use DNS to find calendars and address books. There should be tests of this but until recently I hadn't figured out how to do it.
Assignee | ||
Comment 1•3 years ago
|
||
These tests hijack the DNS module's functions to return the intended result.
We can't use the mock servers for the tests because we only do discovery for HTTPS, and the mock servers can't speak HTTPS. Instead, we direct the code to some files on the Mochitest server.
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/aee118489a59
Add tests of CalDAV/CardDAV discovery using DNS. r=mkmelin
Assignee | ||
Updated•3 years ago
|
Comment 3•3 years ago
|
||
Looks like calendar/test/browser/browser_calDAV_discovery.js has been permafailing on win32 since this landed.
Comment 4•3 years ago
|
||
Comment on attachment 9241051 [details]
Bug 1730635 - Add tests of CalDAV/CardDAV discovery using DNS. r=mkmelin
[Triage Comment]
Test changes; needed for bug 1732565 to apply cleanly.
Comment 5•3 years ago
|
||
bugherder uplift |
Thunderbird 91.3.0:
https://hg.mozilla.org/releases/comm-esr91/rev/b3632db96905
Updated•3 years ago
|
Assignee | ||
Comment 6•3 years ago
|
||
Bug 1683865 changed some elements from XUL to HTML and this behaves differently in the test.
Comment 7•3 years ago
|
||
Description
•