+++ This bug was initially created as a clone of Bug #1349337 +++ From: https://bugzilla.mozilla.org/show_bug.cgi?id=1349337#c11 Not this bug, but I'll note that the DNS.txt lookup doesn't seem to work generally. var {DNS} = ChromeUtils.import("resource:///modules/DNS.jsm"); DNS.txt("thunderbird.net").then(recs => { alert(JSON.stringify(recs)); }); -> JavaScript error: resource:///modules/DNS.jsm, line 122: TypeError: malformed UTF-8 character sequence at offset 68
Bug 1571076 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
+++ This bug was initially created as a clone of Bug #1349337 +++ From: https://bugzilla.mozilla.org/show_bug.cgi?id=1349337#c11 [...] the DNS.txt lookup doesn't seem to work generally. var {DNS} = ChromeUtils.import("resource:///modules/DNS.jsm"); DNS.txt("thunderbird.net").then(recs => { alert(JSON.stringify(recs)); }); -> JavaScript error: resource:///modules/DNS.jsm, line 122: TypeError: malformed UTF-8 character sequence at offset 68
+++ This bug was initially created as a clone of Bug #1349337 +++ From: https://bugzilla.mozilla.org/show_bug.cgi?id=1349337#c11 [...] the DNS.txt lookup doesn't seem to work generally. ``` var {DNS} = ChromeUtils.import("resource:///modules/DNS.jsm"); DNS.txt("thunderbird.net").then(recs => { alert(JSON.stringify(recs)); }); ``` -> JavaScript error: resource:///modules/DNS.jsm, line 122: TypeError: malformed UTF-8 character sequence at offset 68