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

Facilitating high-level interactions between Wasm modules and JavaScript

Results 412 wasm-bindgen issues
Sort by recently updated
recently updated
newest added

### Describe the Bug Trying to use a number of newer webrtc APIs does not work. Also, a significant number of the implementation details of various RTC* interfaces have changed....

bug

### Describe the Bug The main branch does not compile any more in CI because of a deprecation warning Clippy Lint. @alexcrichton / @daxpedda I ping you because I do...

bug

### Describe the Bug The ["isPointInFill"](https://developer.mozilla.org/en-US/docs/Web/API/SVGGeometryElement/isPointInFill) and ["isPointInStroke"](https://developer.mozilla.org/en-US/docs/Web/API/SVGGeometryElement/isPointInStroke) methods of [SVGGeometryElement](https://developer.mozilla.org/en-US/docs/Web/API/SVGGeometryElement) are missing. ### Expected Behavior All instance methods of the JS SVGGeometryElement class should exist on the web-sys [SvgGeometryElement](https://github.com/rustwasm/wasm-bindgen/blob/c35cc9369d5e0dc418986f7811a0dd702fb33ef9/crates/web-sys/src/features/gen_SvgGeometryElement.rs#L4)...

bug

WebIDL source: Docs: Fixes rustwasm/wasm-bindgen#4475

Fix #4502 The fix is to use ~~OnceLock~~ Once and atomic variables (for older Rust versions) to replace the original two atomic variables. OnceLock guarantees the hash can only be...

For Rust type like `Box` in parameter, wasm-bindgen generates `Uint32Array` as type in the TypeScript declaration. However, the glue code generated uses [`TypedArray.set`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/set) internally to pass the content into the...

bug

### Describe the Bug There is a race condition and a related performance issue in the following section of the wasm-bindgen codebase: https://github.com/rustwasm/wasm-bindgen/blob/c35cc9369d5e0dc418986f7811a0dd702fb33ef9/crates/backend/src/util.rs#L135-L161 1. Race Condition: The affected code attempts...

bug

### Describe the Bug e.g. Return value is `i32`, but it needs to be `Option`. ### Additional Context tiltX, tiltY, azimuthAngle, and altitudeAngle are only reported if that is the...

bug

### Describe the Bug `js_sys::Date::set_date()` currently defines its `day` argument as an unsigned type: ``` pub fn set_date(this: &Date, day: u32) -> f64; ``` This definition is less flexible than...

bug

### Describe the Bug The [Window.onloadeddata docs](https://rustwasm.github.io/wasm-bindgen/api/web_sys/struct.Window.html#impl-Window-121) link to MDN docs points to https://developer.mozilla.org/en-US/docs/Web/API/Window/onload which is 404. I believe the correct link is: https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/loadeddata_event

bug