Vendor things
This commit is contained in:
parent
5deceec006
commit
977e3c17e5
19434 changed files with 10682014 additions and 0 deletions
15
third-party/vendor/web-sys/tests/wasm/performance.rs
vendored
Normal file
15
third-party/vendor/web-sys/tests/wasm/performance.rs
vendored
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
use wasm_bindgen::prelude::*;
|
||||
use wasm_bindgen_test::*;
|
||||
use web_sys::Performance;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
#[wasm_bindgen(js_name = performance)]
|
||||
static PERFORMANCE: Performance;
|
||||
}
|
||||
|
||||
#[wasm_bindgen_test]
|
||||
fn to_json() {
|
||||
let perf = JsValue::from(PERFORMANCE.to_json());
|
||||
assert!(perf.is_object());
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue