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/web-sys/tests/wasm/indexeddb.rs

9 lines
183 B
Rust
Raw Normal View History

Fix WebIDL mixin attributes on `Window` Previously the "container attribute" were set to the attributes of the mixin itself, but we want the container attributes to be that of the type which includes the mixin (like `Window`) as those attributes contain information about whether or not bindings are `structural`. The end result with this is that the `structural` tag is now used for properties on `Window`, correctly generating setters/getters. Closes #904
2018-09-28 21:39:58 -07:00
use wasm_bindgen_test::*;
use web_sys;
#[wasm_bindgen_test]
fn accessor_works() {
let window = web_sys::window().unwrap();
assert!(window.indexed_db().unwrap().is_some());
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.7 Page: 61ms 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