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-06-06 09:31:28 +00:00
Code Issues Projects Releases Wiki Activity
wasm-bindgen/crates/webidl-tests/unstable.js

14 lines
219 B
JavaScript
Raw Normal View History

[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 19:00:11 -03:30
global.GetUnstableInterface = class {
static get() {
return {
enum_value(dict) {
if (!dict) {
return 0;
}
return dict.unstableEnum === "a" ? 1 : 2;
}
}
}
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 68ms 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