mirror of
https://github.com/servo/servo.git
synced 2025-06-10 17:43:16 +00:00
Update mozjs to 0.14.1
This update pulls in improvements on mozjs that now removes the need to pass pointers to CompileOptionsWraper::new(), allows NewProxyObject to now accept a Singleton bool and JSClass and removes an unsafe Handle::new usage.
This commit is contained in:
parent
9e6da58d77
commit
f8c9ee4eff
7 changed files with 12 additions and 17 deletions
|
@ -2778,6 +2778,8 @@ rooted!(in(*cx) let obj = NewProxyObject(
|
|||
handler,
|
||||
Handle::from_raw(UndefinedHandleValue),
|
||||
proto.get(),
|
||||
ptr::null(),
|
||||
false,
|
||||
));
|
||||
assert!(!obj.is_null());
|
||||
SetProxyReservedSlot(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue