diff options
Diffstat (limited to 'components/script/dom/bindings/callback.rs')
-rw-r--r-- | components/script/dom/bindings/callback.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/components/script/dom/bindings/callback.rs b/components/script/dom/bindings/callback.rs index 905901e3870..e5a887a88b0 100644 --- a/components/script/dom/bindings/callback.rs +++ b/components/script/dom/bindings/callback.rs @@ -7,21 +7,21 @@ use dom::bindings::error::{Fallible, Error}; use dom::bindings::global::global_object_for_js_object; use dom::bindings::utils::Reflectable; -use js::jsapi::{JSContext, JSObject, JS_WrapObject, IsCallable}; -use js::jsapi::{JS_GetProperty, JS_IsExceptionPending, JS_ReportPendingException}; -use js::jsapi::{RootedObject, RootedValue, MutableHandleObject, Heap}; +use js::jsapi::GetGlobalForObjectCrossCompartment; use js::jsapi::{JSAutoCompartment}; +use js::jsapi::{JSContext, JSObject, JS_WrapObject, IsCallable}; use js::jsapi::{JS_BeginRequest, JS_EndRequest}; use js::jsapi::{JS_EnterCompartment, JS_LeaveCompartment, JSCompartment}; -use js::jsapi::GetGlobalForObjectCrossCompartment; +use js::jsapi::{JS_GetProperty, JS_IsExceptionPending, JS_ReportPendingException}; use js::jsapi::{JS_SaveFrameChain, JS_RestoreFrameChain}; +use js::jsapi::{RootedObject, RootedValue, MutableHandleObject, Heap}; use js::jsval::{JSVal, UndefinedValue}; +use std::default::Default; use std::ffi::CString; +use std::intrinsics::return_address; use std::ptr; use std::rc::Rc; -use std::intrinsics::return_address; -use std::default::Default; /// The exception handling used for a call. #[derive(Copy, Clone, PartialEq)] |