This repository was archived by the owner on Nov 12, 2022. It is now read-only.
File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 2
2
name = " mozjs"
3
3
description = " Rust bindings to the Mozilla SpiderMonkey JavaScript engine."
4
4
repository = " https://github.com/servo/rust-mozjs"
5
- version = " 0.9.2 "
5
+ version = " 0.9.3 "
6
6
authors = [" The Servo Project Developers" ]
7
7
build = " build.rs"
8
8
license = " MPL-2.0"
@@ -48,4 +48,4 @@ lazy_static = "1"
48
48
libc = " 0.2"
49
49
log = " 0.4"
50
50
num-traits = " 0.2"
51
- mozjs_sys = " 0.61.0 "
51
+ mozjs_sys = " 0.61.1 "
Original file line number Diff line number Diff line change @@ -68,6 +68,7 @@ wrap!(jsapi: pub fn IsPromiseObject(obj: HandleObject) -> bool);
68
68
wrap!(jsapi: pub fn GetPromiseState(promise: HandleObject) -> PromiseState);
69
69
wrap!(jsapi: pub fn GetPromiseID(promise: HandleObject) -> u64);
70
70
wrap!(jsapi: pub fn GetPromiseResult(promise: HandleObject) -> Value);
71
+ wrap!(jsapi: pub fn GetPromiseIsHandled(promise: HandleObject) -> bool);
71
72
wrap!(jsapi: pub fn GetPromiseAllocationSite(promise: HandleObject) -> *mut JSObject);
72
73
wrap!(jsapi: pub fn GetPromiseResolutionSite(promise: HandleObject) -> *mut JSObject);
73
74
wrap!(jsapi: pub fn CallOriginalPromiseResolve(cx: *mut JSContext, resolutionValue: HandleValue) -> *mut JSObject);
You can’t perform that action at this time.
0 commit comments