web-sys 0.3.53

Bindings for all Web APIs, a procedurally generated crate from WebIDL
Documentation
1
2
3
4
5
6
7
8
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());
}