wxt icon indicating copy to clipboard operation
wxt copied to clipboard

Add dns type on WxtBrowser

Open Silbad opened this issue 9 months ago • 1 comments

Feature Request

dns type on WxtBrowser is missing

Is your feature request related to a bug?

Image

No, it's missing, js api just for Firefox : https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/dns

Thanks !

Silbad avatar Apr 26 '25 19:04 Silbad

I'm going to mark this as upstream, since WXT uses @types/chrome. However, I'm not sure they would accept a PR adding this. Seems like the API exists on Chrome, but only on Chrome Dev.

So I'm not sure what I want to do about this. If I start building types separate from @types/chrome in WXT, they'll conflict or get out of sync and cause problems. So that's why I'd prefer we don't maintain a separate list.

First, we should try and open a PR into @types/chrome and see if they'll accept the new types. If not, we can think about the right way to do this in WXT.

aklinker1 avatar Apr 26 '25 23:04 aklinker1