wasm-bindgen/crates/webidl-tests
Alex Crichton b7d7d28418 Expand LongLong to (i32 or f64) instead of i64
This commit tweaks WebIDL expansion of the "long long" and "unsigned long long"
types to expand to a union of an 32-bit integer and a double. This reflects how
almost none of the APIs on the web today actually work with a `BigInt` (what the
previous Rust type of `i64` translates to) and how JS itself fundamentally
operates with these APIs.

Eventually this may not be necessary if we can natively connect to C++ engines
with the `i64` type, but until that day comes this should provide more useful
interfaces as they shoudl work in all browsers.

Closes #800
2018-09-10 11:40:20 -07:00
..
array_buffer.js Add WebIDL support for the ArrayBuffer type 2018-08-04 16:34:12 -05:00
array_buffer.rs Implement support for WebIDL Callback types 2018-09-06 19:50:46 -07:00
array_buffer.webidl Add WebIDL support for the ArrayBuffer type 2018-08-04 16:34:12 -05:00
array.js Migrate webidl tests to wasm_bindgen_test (#590) 2018-07-30 11:06:29 -07:00
array.rs webidl: Remove support for Uint8ClampedArray 2018-08-30 10:34:50 -07:00
array.webidl Migrate webidl tests to wasm_bindgen_test (#590) 2018-07-30 11:06:29 -07:00
build.rs Gate web-sys APIs on activated features (#790) 2018-09-05 12:55:30 -07:00
Cargo.toml Implement support for WebIDL dictionaries 2018-08-15 17:08:27 -07:00
consts.js Migrate webidl tests to wasm_bindgen_test (#590) 2018-07-30 11:06:29 -07:00
consts.rs Expand LongLong to (i32 or f64) instead of i64 2018-09-10 11:40:20 -07:00
consts.webidl Generate const mixin bindings 2018-08-13 21:58:40 -07:00
dictionary.js Implement support for WebIDL dictionaries 2018-08-15 17:08:27 -07:00
dictionary.rs Implement support for WebIDL dictionaries 2018-08-15 17:08:27 -07:00
dictionary.webidl Implement support for WebIDL dictionaries 2018-08-15 17:08:27 -07:00
enums.js Migrate webidl tests to wasm_bindgen_test (#590) 2018-07-30 11:06:29 -07:00
enums.rs Migrate webidl tests to wasm_bindgen_test (#590) 2018-07-30 11:06:29 -07:00
enums.webidl Migrate webidl tests to wasm_bindgen_test (#590) 2018-07-30 11:06:29 -07:00
global.js web-sys: Add support for Global-scope methods 2018-08-28 17:20:31 -07:00
global.rs web-sys: Add support for Global-scope methods 2018-08-28 17:20:31 -07:00
global.webidl web-sys: Add support for Global-scope methods 2018-08-28 17:20:31 -07:00
lib.rs Migrate webidl tests to wasm_bindgen_test (#590) 2018-07-30 11:06:29 -07:00
main.rs web-sys: Add support for Global-scope methods 2018-08-28 17:20:31 -07:00
namespace.js Merge branch 'master' of https://github.com/rustwasm/wasm-bindgen 2018-08-13 18:59:52 +03:00
namespace.rs Merge branch 'master' of https://github.com/rustwasm/wasm-bindgen 2018-08-13 18:59:52 +03:00
namespace.webidl Fix console test 2018-08-13 20:09:18 +03:00
simple.js Implement support for WebIDL Callback types 2018-09-06 19:50:46 -07:00
simple.rs Expand LongLong to (i32 or f64) instead of i64 2018-09-10 11:40:20 -07:00
simple.webidl Implement support for WebIDL Callback types 2018-09-06 19:50:46 -07:00
throws.js Migrate webidl tests to wasm_bindgen_test (#590) 2018-07-30 11:06:29 -07:00
throws.rs Migrate webidl tests to wasm_bindgen_test (#590) 2018-07-30 11:06:29 -07:00
throws.webidl Migrate webidl tests to wasm_bindgen_test (#590) 2018-07-30 11:06:29 -07:00