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.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/storage.rs b/components/script/dom/storage.rs
index 3bc14c44820..bfcc8fd067c 100644
--- a/components/script/dom/storage.rs
+++ b/components/script/dom/storage.rs
@@ -186,10 +186,10 @@ impl MainThreadRunnable for StorageEventRunnable {
let storage_event = StorageEvent::new(
global_ref,
- "storage".to_owned(),
+ DOMString("storage".to_owned()),
EventBubbles::DoesNotBubble, EventCancelable::NotCancelable,
this.key, this.old_value, this.new_value,
- ev_url.to_string(),
+ DOMString(ev_url.to_string()),
Some(storage)
);