aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/history.rs
diff options
context:
space:
mode:
authortigercosmos <phy.tiger@gmail.com>2018-06-17 11:13:36 -0700
committertigercosmos <phy.tiger@gmail.com>2018-06-17 11:13:36 -0700
commitecb65474a79684a0f84694336297d24e746dfc3e (patch)
treea58697094859dbddd88ddd6dedf4397963f74f04 /components/script/dom/history.rs
parent0c5b0201637899bd8ec7f63d0dc3944a01895986 (diff)
downloadservo-ecb65474a79684a0f84694336297d24e746dfc3e.tar.gz
servo-ecb65474a79684a0f84694336297d24e746dfc3e.zip
Let the popstate and hashchange events not bubble
Diffstat (limited to 'components/script/dom/history.rs')
-rw-r--r--components/script/dom/history.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/history.rs b/components/script/dom/history.rs
index 1f3b652b0e9..369c59b524c 100644
--- a/components/script/dom/history.rs
+++ b/components/script/dom/history.rs
@@ -129,7 +129,7 @@ impl History {
let event = HashChangeEvent::new(
&self.window,
atom!("hashchange"),
- true,
+ false,
false,
old_url.into_string(),
url.into_string());