wasm-bindgen/crates/webidl-tests/unstable.webidl
Josh Groves 99c59a771e
[WIP] Add support for unstable WebIDL (#1997)
* Re-enable WebGPU WebIDL as experimental

* Add `web_sys_unstable_apis` attribute

* Add test for unstable WebIDL

* Include unstable WebIDL in docs.rs builds

* Add docs and doc comment for unstable APIs

* Add unstable API checks to CI
2020-02-26 16:30:11 -06:00

20 lines
357 B
Plaintext
Vendored

enum UnstableEnum {
"a",
"b"
};
dictionary UnstableDictionary {
UnstableEnum unstableEnum;
};
typedef unsigned long UnstableTypedef;
[NoInterfaceObject]
partial interface UnstableInterface {
UnstableTypedef enum_value(optional UnstableDictionary unstableDictionary = {});
};
interface GetUnstableInterface {
static UnstableInterface get();
};