mirror of
https://github.com/servo/servo.git
synced 2025-08-02 20:20:14 +01:00
Support the updated spidermonkey bindings
This commit is contained in:
parent
32daa17d5c
commit
e733a7c46a
20 changed files with 234 additions and 223 deletions
|
@ -224,11 +224,11 @@ impl EventTarget {
|
|||
name.as_ptr(),
|
||||
nargs,
|
||||
ARG_NAMES.as_mut_ptr(),
|
||||
source.as_ptr() as *const i16,
|
||||
source.as_ptr(),
|
||||
source.len() as size_t,
|
||||
handler.handle_mut())
|
||||
};
|
||||
if rv == 0 || handler.ptr.is_null() {
|
||||
if !rv || handler.ptr.is_null() {
|
||||
report_pending_exception(cx, self.reflector().get_jsobject().get());
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue