wasm-bindgen
wasm-bindgen copied to clipboard
`setlike` implementation
Motivation
GpuSupportedFeatures doesn't currently have a has method despite being setlike. This is needed for https://github.com/gfx-rs/wgpu/pull/2986. IDL:
[Exposed=(Window, DedicatedWorker), SecureContext]
interface GPUSupportedFeatures {
readonly setlike<DOMString>;
};
Proposed Solution
Add a has method to interfaces with setlike.