aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/storage.rs
diff options
context:
space:
mode:
authorArthur Marble <arthur@info9.net>2016-09-18 03:41:16 -0500
committerArthur Marble <arthur@info9.net>2016-09-18 03:41:16 -0500
commit883902bd972c9ea91cf6b6be74908e87c517b72e (patch)
tree1c598d19c2770949d3f2fa31b401a0d671212a83 /components/script/dom/storage.rs
parentdbec9d845472251b73e444d80a493173f11a0482 (diff)
downloadservo-883902bd972c9ea91cf6b6be74908e87c517b72e.tar.gz
servo-883902bd972c9ea91cf6b6be74908e87c517b72e.zip
Most of the code refactoring needed to be done is done with this commit.
Diffstat (limited to 'components/script/dom/storage.rs')
-rw-r--r--components/script/dom/storage.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/storage.rs b/components/script/dom/storage.rs
index 411e304b2f5..bb81cdbb57e 100644
--- a/components/script/dom/storage.rs
+++ b/components/script/dom/storage.rs
@@ -203,7 +203,7 @@ impl Runnable for StorageEventRunnable {
for it_context in root_context.iter() {
let it_window_root = it_context.active_window();
let it_window = it_window_root.r();
- assert!(UrlHelper::SameOrigin(&ev_url, &it_window.get_url()));
+ assert!(UrlHelper::same_origin(&ev_url, &it_window.get_url()));
// TODO: Such a Document object is not necessarily fully active, but events fired on such
// objects are ignored by the event loop until the Document becomes fully active again.
if ev_window.pipeline_id() != it_window.pipeline_id() {