diff options
Diffstat (limited to 'components/script/dom/worker.rs')
-rw-r--r-- | components/script/dom/worker.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/components/script/dom/worker.rs b/components/script/dom/worker.rs index efbde8eee1a..5a6d264f714 100644 --- a/components/script/dom/worker.rs +++ b/components/script/dom/worker.rs @@ -8,8 +8,8 @@ use dom::bindings::codegen::Bindings::WorkerBinding; use dom::bindings::codegen::Bindings::WorkerBinding::WorkerMethods; use dom::bindings::codegen::InheritTypes::{EventCast, EventTargetCast}; use dom::bindings::error::Error::Syntax; -use dom::bindings::error::{Fallible, ErrorResult}; -use dom::bindings::global::{GlobalRef, GlobalField}; +use dom::bindings::error::{ErrorResult, Fallible}; +use dom::bindings::global::{GlobalField, GlobalRef}; use dom::bindings::js::Root; use dom::bindings::refcounted::Trusted; use dom::bindings::structuredclone::StructuredCloneData; @@ -22,12 +22,12 @@ use dom::eventtarget::EventTarget; use dom::messageevent::MessageEvent; use dom::workerglobalscope::WorkerGlobalScopeInit; use ipc_channel::ipc; -use js::jsapi::{JSAutoRequest, JSAutoCompartment}; -use js::jsapi::{JSContext, HandleValue, RootedValue}; +use js::jsapi::{HandleValue, JSContext, RootedValue}; +use js::jsapi::{JSAutoCompartment, JSAutoRequest}; use js::jsval::UndefinedValue; -use script_task::{ScriptChan, Runnable}; +use script_task::{Runnable, ScriptChan}; use std::borrow::ToOwned; -use std::sync::mpsc::{channel, Sender}; +use std::sync::mpsc::{Sender, channel}; use url::UrlParser; use util::str::DOMString; |