mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-23 17:51:33 +00:00
Transform Reflect into a namespace
This commit is contained in:
@ -229,18 +229,6 @@ fn set_prototype_of() {
|
||||
);
|
||||
}
|
||||
|
||||
#[wasm_bindgen_test]
|
||||
fn reflect_extends() {
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
#[wasm_bindgen(js_name = Reflect)]
|
||||
static reflect: Reflect;
|
||||
}
|
||||
|
||||
assert!(reflect.is_instance_of::<Object>());
|
||||
let _: &Object = reflect.as_ref();
|
||||
}
|
||||
|
||||
#[wasm_bindgen_test]
|
||||
fn reflect_bindings_handle_proxies_that_just_throw_for_everything() {
|
||||
let p = throw_all_the_time();
|
||||
|
Reference in New Issue
Block a user