mirror of
https://github.com/servo/servo.git
synced 2025-06-08 08:33:26 +00:00
Support the updated spidermonkey bindings
This commit is contained in:
parent
32daa17d5c
commit
e733a7c46a
20 changed files with 234 additions and 223 deletions
|
@ -658,7 +658,7 @@ impl ScriptTask {
|
|||
}
|
||||
|
||||
unsafe {
|
||||
unsafe extern "C" fn empty_wrapper_callback(_: *mut JSContext, _: *mut JSObject) -> u8 { 1 }
|
||||
unsafe extern "C" fn empty_wrapper_callback(_: *mut JSContext, _: *mut JSObject) -> bool { true }
|
||||
SetDOMProxyInformation(ptr::null(), 0, Some(shadow_check_callback));
|
||||
SetDOMCallbacks(runtime.rt(), &DOM_CALLBACKS);
|
||||
SetPreserveWrapperCallback(runtime.rt(), Some(empty_wrapper_callback));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue