mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-22 00:17:32 +09:00
fix ubO pt.5
This commit is contained in:
parent
e134fea1ba
commit
ae54ac8e28
8 changed files with 63 additions and 6 deletions
4
toolkit/components/webextensions/schemas/dns.json
Normal file
4
toolkit/components/webextensions/schemas/dns.json
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
[
|
||||
{"namespace":"manifest","types":[{"$extend":"Permission","choices":[{"type":"string","enum":["dns"]}]}]},
|
||||
{"namespace":"dns","permissions":["dns"],"types":[{"id":"DNSRecord","type":"object","properties":{"addresses":{"type":"array","items":{"type":"string"}},"canonicalName":{"type":"string","optional":true},"isTRR":{"type":"boolean"}}}],"functions":[{"name":"resolve","type":"function","async":"promise","parameters":[{"name":"hostname","type":"string"},{"name":"flags","type":"array","items":{"type":"string"},"optional":true}],"returns":{"$ref":"DNSRecord"}}]}
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue