scala-js / scala-js-dom

Statically typed DOM API for Scala.js
Other
315 stars 160 forks source link

Add Navigator's ProtocolHandler methods #808

Closed FabioPinheiro closed 10 months ago

FabioPinheiro commented 10 months ago

Add to Navigator the two protocol handler methods:

FabioPinheiro commented 10 months ago

I added the methods to NavigatorContentUtils since that is what TypeScript does. As points by @armanbilge https://github.com/microsoft/TypeScript/blob/fcaa900012252bf2ed90ab31e1a7e4660c88bf28/src/lib/dom.generated.d.ts#L15929C11-L15936/blob/fcaa900012252bf2ed90ab31e1a7e4660c88bf28/src/lib/dom.generated.d.ts#L15834