mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Use safe JSContext as first argument for throw_dom_exception
This commit is contained in:
parent
6c26518f61
commit
0703a1ad6d
6 changed files with 29 additions and 25 deletions
|
@ -739,7 +739,7 @@ pub fn handle_get_property(
|
|||
Err(_) => Ok(WebDriverJSValue::Undefined),
|
||||
},
|
||||
Err(error) => {
|
||||
unsafe { throw_dom_exception(*cx, &node.reflector().global(), error) };
|
||||
throw_dom_exception(cx, &node.reflector().global(), error);
|
||||
Ok(WebDriverJSValue::Undefined)
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue