mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Update to SpiderMonkey 66.
This commit is contained in:
parent
d0d3401361
commit
4328713f71
31 changed files with 150 additions and 144 deletions
|
@ -28,7 +28,7 @@ use http::header::{self, HeaderName, HeaderValue};
|
|||
use ipc_channel::ipc;
|
||||
use ipc_channel::router::ROUTER;
|
||||
use js::conversions::ToJSValConvertible;
|
||||
use js::jsapi::JSAutoCompartment;
|
||||
use js::jsapi::JSAutoRealm;
|
||||
use js::jsval::UndefinedValue;
|
||||
use mime::{self, Mime};
|
||||
use net_traits::request::{CacheMode, CorsSettings, CredentialsMode};
|
||||
|
@ -222,7 +222,7 @@ impl EventSourceContext {
|
|||
};
|
||||
// Steps 4-5
|
||||
let event = {
|
||||
let _ac = JSAutoCompartment::new(
|
||||
let _ac = JSAutoRealm::new(
|
||||
event_source.global().get_cx(),
|
||||
event_source.reflector().get_jsobject().get(),
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue