mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-12 20:41:24 +00:00
@ -47,13 +47,13 @@
|
||||
```
|
||||
|
||||
* <input type="checkbox"/> If the new API is **not** showing up in the docs,
|
||||
rebuild the `web-sys` crate [with logging enabled](/web-sys/logging.html)
|
||||
rebuild the `web-sys` crate [with logging enabled](web-sys/logging.html)
|
||||
and look for warning messages that mention your new API. Figure out why
|
||||
bindings weren't generated and then add support to `wasm_bindgen_webidl` for
|
||||
whatever is needed to generate your API's bindings.
|
||||
|
||||
> You might find it helpful to view the generated rust bindings, to see if
|
||||
they are what you would expect. The file will be located at
|
||||
|
||||
> You might find it helpful to view the generated rust bindings, to see if
|
||||
they are what you would expect. The file will be located at
|
||||
`target/wasm32-unknown-unknown/debug/build/web-sys-xxx/out/bindings.rs`,
|
||||
where `xxx` is a combinations of numbers and letters that represents your
|
||||
build. This file is pretty unintelligable until you run `rustfmt` on it, like
|
||||
@ -61,6 +61,6 @@
|
||||
|
||||
4. <input type="checkbox"/> Add a simple test for your new API to
|
||||
`crates/web-sys/tests/all/`. See the [`web-sys` testing
|
||||
documentation](/web-sys/testing.html) for details.
|
||||
documentation](web-sys/testing.html) for details.
|
||||
|
||||
5. <input type="checkbox"/> Send a pull request! 😊
|
||||
|
@ -10,7 +10,7 @@ cargo test
|
||||
|
||||
These tests all use a headless Firefox browser. See the [*Headless Browser
|
||||
Tests* section for details on setup and
|
||||
configuration.](../contributing.html#headless-browser-tests)
|
||||
configuration.](contributing.html#headless-browser-tests)
|
||||
|
||||
## Grouping Tests
|
||||
|
||||
|
Reference in New Issue
Block a user