From e501eaaa5b43961883ef8ef1427790f6c9bb1804 Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Wed, 11 Dec 2019 08:59:05 +0100 Subject: [PATCH] Add `FIXME` to the new comment asking wether code below it is right --- components/script/dom/eventtarget.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/script/dom/eventtarget.rs b/components/script/dom/eventtarget.rs index dc448b65501..ea259a6d2d7 100644 --- a/components/script/dom/eventtarget.rs +++ b/components/script/dom/eventtarget.rs @@ -231,7 +231,7 @@ impl CompiledEventListener { let should_cancel = value.is_boolean() && value.to_boolean() == false; if should_cancel { - // spec says to set the cancelled flag directly + // FIXME: spec says to set the cancelled flag directly // here, not just to prevent default; // can that ever make a difference? event.PreventDefault();