diff options
-rw-r--r-- | components/script/script_thread.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/components/script/script_thread.rs b/components/script/script_thread.rs index 1a69c10dcfa..207e47572e7 100644 --- a/components/script/script_thread.rs +++ b/components/script/script_thread.rs @@ -251,7 +251,9 @@ where pub trait Runnable { fn name(&self) -> &'static str { unsafe { intrinsics::type_name::<Self>() } } - fn handler(self: Box<Self>) {} + fn handler(self: Box<Self>) { + panic!("This should probably be redefined.") + } fn main_thread_handler(self: Box<Self>, _script_thread: &ScriptThread) { self.handler(); } } |