Closed Bug 1583058 Opened 5 years ago Closed 4 years ago

WebExtension API for DNS TXT resolution

Categories

(Thunderbird :: Add-Ons: Extensions API, enhancement)

Desktop
All
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: lieser2, Unassigned)

References

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0

Steps to reproduce:

I want to be able to do DNS TXT queries via the WebExtensions API

Actual results:

Currently browser.dns.resolve() (https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/dns/resolve) does not support TXT records.

Expected results:

DNS TXT resolution should be possible.
If a single TXT record contains multiple string, all must be returned.
If the resolving fails, the reason why should be reported. E.g. it should be possible to distinguish between a non-existent domain, and an unreachable server.

If DNS.jsm is used as a backend, this is blocked by https://bugzilla.mozilla.org/show_bug.cgi?id=1583053

Note that there also exist a request to add it in Firefox (https://bugzilla.mozilla.org/show_bug.cgi?id=1449171).

Moving to WebExtensions/Untriaged.

Component: Add-Ons: Extensions API → Untriaged
Product: Thunderbird → WebExtensions
Version: 68 → 68 Branch

This bug may be a duplicate of bug 1449171, but I don't know for sure. It is definitely an enhancement regarding Request Handling.

Component: Untriaged → Request Handling
OS: Unspecified → All
Hardware: Unspecified → Desktop
See Also: → 1449171

Note that I deliberately filed this as a separate bug for the Thunderbird Product. If bug 1449171 gets implemented this one can of course also be closed.

But if this does not get implemented in Firefox, I wanted the Thunderbird developers to consider adding it to the Thunderbird specific WebExtensions APIs. As mentioned in my original post, Thunderbird already has a code that could be reuses to implement this.

Moving back to TB per comment 3

Component: Request Handling → Add-Ons: Extensions API
Product: WebExtensions → Thunderbird
Version: 68 Branch → 68

The DNS API is not specific to Firefox. If they fix it, we get it. If not, I recommend doing this as a WebExtension experiment. We won't be making Thunderbird specific extensions to this API.

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.