aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom
diff options
context:
space:
mode:
authorsappharx <vinnysisk@gmail.com>2016-07-10 17:48:28 -0600
committersappharx <vinnysisk@gmail.com>2016-07-10 17:52:48 -0600
commit636e63f166c24fd863c8d0d0cc6548ae65ef5e97 (patch)
tree00f42539cd37f493bd47ac4984dd62c049f7412b /components/script/dom
parent01ec8491d3200d6710336da1bb0f4e01b49dc4bc (diff)
downloadservo-636e63f166c24fd863c8d0d0cc6548ae65ef5e97.tar.gz
servo-636e63f166c24fd863c8d0d0cc6548ae65ef5e97.zip
add Runnable::name() implementation for PlannedNavigation resolve #12333
Diffstat (limited to 'components/script/dom')
-rw-r--r--components/script/dom/htmlformelement.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/script/dom/htmlformelement.rs b/components/script/dom/htmlformelement.rs
index 90baba4ebb1..18c30a9d86c 100644
--- a/components/script/dom/htmlformelement.rs
+++ b/components/script/dom/htmlformelement.rs
@@ -936,6 +936,8 @@ struct PlannedNavigation {
}
impl Runnable for PlannedNavigation {
+ fn name(&self) -> &'static str { "PlannedNavigation" }
+
fn handler(self: Box<PlannedNavigation>) {
if self.generation_id == self.form.root().generation_id.get() {
let script_chan = self.script_chan.clone();