You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 8, 2024. It is now read-only.
FontFaceSet/FontFaceVariations: I could see wanting to intersect this with a JS Set, but it's hard to imagine having two of them you want to intersect (or whatever) with each other
GPUSupportedFeatures: ditto
CustomStateSet: ditto
XRAnchorSet: I could potentially see wanting to intersect two of these, I guess?
css Highlight: this one you might want to use any of this proposal's new Set-producing methods with
The isSubsetOf and isSupersetOf methods seem like you might want them on all of these, though mostly to interact with JS Sets, and you can always do js.isSubsetOf(web) instead of web.isSupersetOf(js).
Honestly these seem sufficiently obscure that I expect the new Set methods, were they added, would see approximately zero use. What use cases there are can mostly (but not entirely) be met by using a built-in Set and passing the setlike as an argument (which we did ultimately decide should be supported - you can't .call these on non-builtin Sets, but you can pass non-builtin setlikes as arguments).
So personally I wouldn't bother adding them, at least not in advance of a request from developers.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Should all setlikes get these methods? If so, we need to update Web IDL.
It's not clear that they should... but we should think through the known cases.
The text was updated successfully, but these errors were encountered: