Andrew Chin
156eb24359
Use raw string in paths in webidl-tests generated code
...
This fixes things on Windows, which uses backslashes in their paths
2018-08-14 19:11:58 -04:00
Alex Crichton
dce4a88f7d
Generate const mixin bindings
...
Whenever an interface includes a mixin which includes consts, inline the consts
onto the interface.
2018-08-13 21:58:40 -07:00
Anton Danilkin
c666f752fa
Add OptionalAndUnionArguments test
2018-08-13 23:18:16 +03:00
Anton Danilkin
7840367476
Fix console test
2018-08-13 20:09:18 +03:00
Anton Danilkin
f35296f8ac
Merge branch 'master' of https://github.com/rustwasm/wasm-bindgen
2018-08-13 18:59:52 +03:00
Richard Dodd
4f0ddd25ce
Fix tests
2018-08-12 21:27:27 +01:00
Richard Dodd
23009dbc1e
Add simple test for namespaces.
2018-08-12 21:11:02 +01:00
Anton Danilkin
3ad5493d23
Add a test for webidl
2018-08-07 00:42:47 +03:00
Alex Crichton
d5b81595ec
Remove support for the version
attribute
...
First added in #161 this never ended up panning out, so let's remove the
experimental suport which isn't actually used by anything today and hold off on
any other changes until an RFC happens.
2018-08-06 13:30:28 -05:00
Anton Danilkin
5b66045aff
Add a test
2018-08-05 10:39:54 -05:00
Alex Crichton
a98b5ea2a0
Add WebIDL support for the ArrayBuffer
type
...
Should help enable a slew of new bindings as well.
2018-08-04 16:34:12 -05:00
Anton Danilkin
c49c18826d
Add support for optional numbers
2018-08-03 15:59:27 -05:00
Alex Crichton
7e16690f10
Migrate webidl
tests to wasm_bindgen_test
( #590 )
...
This commit moves the `webidl/tests` folder to a new `crates/webidl-tests` crate
(to have a test-only build script) and ports them to the `#[wasm_bindgen_test]`
attribute, which should hopefully make testing much speedier for execution!
2018-07-30 11:06:29 -07:00