Logo
Explore Help
Sign In
fluencelabs/wasm-bindgen
1
0
Fork 0
You've already forked wasm-bindgen
mirror of https://github.com/fluencelabs/wasm-bindgen synced 2025-05-08 12:02:17 +00:00
Code Issues Projects Releases Wiki Activity
wasm-bindgen/crates/webidl-tests/enums.webidl

20 lines
318 B
Plaintext
Raw Normal View History

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
enum ShapeType { "circle", "square" };
[Constructor(ShapeType kind)]
interface Shape {
static Shape triangle();
[Pure]
boolean isSquare();
[Pure]
boolean isCircle();
[Pure]
ShapeType getShape();
add read_optional_enum_attribute to webidl-tests/enums
2019-03-15 14:27:18 -06:00
readonly attribute ShapeType? shapeTypeNone;
readonly attribute ShapeType? shapeTypeSome;
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
};
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.7 Page: 86ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API