aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/storage.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/storage.rs')
-rw-r--r--components/script/dom/storage.rs15
1 files changed, 8 insertions, 7 deletions
diff --git a/components/script/dom/storage.rs b/components/script/dom/storage.rs
index 10746abe10b..7e02c2f1ca4 100644
--- a/components/script/dom/storage.rs
+++ b/components/script/dom/storage.rs
@@ -2,6 +2,14 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
+use dom_struct::dom_struct;
+use ipc_channel::ipc::IpcSender;
+use net_traits::storage_thread::{StorageThreadMsg, StorageType};
+use net_traits::IpcSend;
+use profile_traits::ipc;
+use script_traits::ScriptMsg;
+use servo_url::ServoUrl;
+
use crate::dom::bindings::codegen::Bindings::StorageBinding::StorageMethods;
use crate::dom::bindings::error::{Error, ErrorResult};
use crate::dom::bindings::inheritance::Castable;
@@ -13,13 +21,6 @@ use crate::dom::event::{Event, EventBubbles, EventCancelable};
use crate::dom::storageevent::StorageEvent;
use crate::dom::window::Window;
use crate::task_source::TaskSource;
-use dom_struct::dom_struct;
-use ipc_channel::ipc::IpcSender;
-use net_traits::storage_thread::{StorageThreadMsg, StorageType};
-use net_traits::IpcSend;
-use profile_traits::ipc;
-use script_traits::ScriptMsg;
-use servo_url::ServoUrl;
#[dom_struct]
pub struct Storage {