diff --git a/components/script/task_source/dom_manipulation.rs b/components/script/task_source/dom_manipulation.rs index 9676ade6ded..5993825a1be 100644 --- a/components/script/task_source/dom_manipulation.rs +++ b/components/script/task_source/dom_manipulation.rs @@ -33,6 +33,8 @@ pub enum DOMManipulationTask { FireSimpleEvent(Atom, Trusted), // https://html.spec.whatwg.org/multipage/#details-notification-task-steps FireToggleEvent(Box), + // Placeholder until there's a real media element task queue implementation + MediaTask(Box), // https://html.spec.whatwg.org/multipage/#planned-navigation PlannedNavigation(Box), // https://html.spec.whatwg.org/multipage/#send-a-storage-notification @@ -54,6 +56,7 @@ impl DOMManipulationTask { target.fire_simple_event(&*name); } FireToggleEvent(runnable) => runnable.handler(), + MediaTask(runnable) => runnable.handler(), PlannedNavigation(runnable) => runnable.handler(), SendStorageNotification(runnable) => runnable.handler(script_thread) }