diff --git a/components/script/task_source/dom_manipulation.rs b/components/script/task_source/dom_manipulation.rs index daf212d8c52..fbe864a9005 100644 --- a/components/script/task_source/dom_manipulation.rs +++ b/components/script/task_source/dom_manipulation.rs @@ -52,7 +52,8 @@ pub enum DOMManipulationTask { // https://html.spec.whatwg.org/multipage/#planned-navigation PlannedNavigation(Box), // https://html.spec.whatwg.org/multipage/#send-a-storage-notification - SendStorageNotification(Box) + SendStorageNotification(Box), + Miscellaneous(Box), } impl DOMManipulationTask { @@ -72,7 +73,8 @@ impl DOMManipulationTask { FireToggleEvent(runnable) => runnable.handler(), MediaTask(runnable) => runnable.handler(), PlannedNavigation(runnable) => runnable.handler(), - SendStorageNotification(runnable) => runnable.handler(script_thread) + SendStorageNotification(runnable) => runnable.handler(script_thread), + Miscellaneous(runnable) => runnable.handler(), } } }