Merge pull request #911 from alexcrichton/fixed-indexed-db

Fix WebIDL mixin attributes on `Window`
This commit is contained in:
Sendil Kumar N 2018-09-29 22:40:27 +02:00 committed by GitHub
commit 62c5699f48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 1 deletions

View File

@ -0,0 +1,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());
}

View File

@ -55,3 +55,4 @@ pub mod style_element;
pub mod table_element;
pub mod title_element;
pub mod xpath_result;
pub mod indexeddb;

View File

@ -568,7 +568,7 @@ impl<'src> FirstPassRecord<'src> {
&member.type_,
member.identifier.0,
&member.attributes,
mixin_data.definition_attributes,
data.definition_attributes,
);
}
}