mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Remove the JSAutoCompartment from report_pending_exception.
It doesn't really belong there.
This commit is contained in:
parent
3b11c5ea2d
commit
5662f0d346
5 changed files with 11 additions and 10 deletions
|
@ -952,7 +952,7 @@ impl<'a, T: Reflectable> ScriptHelpers for &'a T {
|
|||
code.len() as libc::size_t,
|
||||
rval) {
|
||||
debug!("error evaluating JS string");
|
||||
report_pending_exception(cx, globalhandle.get());
|
||||
report_pending_exception(cx);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue