wasm-bindgen
wasm-bindgen copied to clipboard
Facilitating high-level interactions between Wasm modules and JavaScript
### Describe the Bug ```rs #[wasm_bindgen] pub async fn sha1( signal: AbortSignal, blob: Blob, chunk: Option, on_progress: Option, ) -> Result { let mut hasher = Sha1::new(); wasm_hasher_lib::computed(&signal, blob, chunk,...
I've managed to reproduce the issue https://github.com/rustwasm/gloo/issues/499 with web-sys websocket directly. It seems the error path is not handled properly in the split concept. If required I can copy the...
I've been working on a PR for [Yew](https://github.com/yewstack/yew), and our clippy tests were failing because `wasm-bindgen-test` would leave the test function unused if the compilation target wasn't Wasm. This PR...
Hello, first let me say, wasm-bindgen is awesome and it provides such a great experience of writing Rust in the browser and JS environments. Thanks to everyone involved and contributing!...
This is a minor proposal for a non-breaking enhancement to `web_sys::IdbFactory`. In the IndexedDB specification, the [`IDBFactory` interface](https://w3c.github.io/IndexedDB/#factory-interface) has a `databases` method: > Returns a promise which resolves to a...
### Describe the Bug The IndexedDB specification (https://w3c.github.io/IndexedDB/#object-store-interface) and documentation on MDN (https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/name#exceptions) both state that the setter for the `name` property of `IDBObjectStore` can throw various exceptions. Given the...
Allow passing values that have spaces in them.
Given that the [Memory64 proposal](https://github.com/WebAssembly/memory64) has moved into the standardization phase and most major runtime environments already support 64 bit memory addresses either via a feature flag or nightly builds,...
Generate dwarf for tests by default, which is useful when debugging a lib crate with test cases.
`version: 0.3.77` when using `web-sys::window()` where window is not available the methods panics instead of just returning a None