wasm-bindgen icon indicating copy to clipboard operation
wasm-bindgen copied to clipboard

`setlike` implementation

Open expenses opened this issue 3 years ago • 0 comments

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.

expenses avatar Sep 03 '22 10:09 expenses