diff --git a/components/script/dom/window.rs b/components/script/dom/window.rs index 6547b1f424b..666762bc549 100644 --- a/components/script/dom/window.rs +++ b/components/script/dom/window.rs @@ -151,7 +151,7 @@ use crate::script_runtime::{ CanGc, CommonScriptMsg, JSContext, Runtime, ScriptChan, ScriptPort, ScriptThreadEventCategory, }; use crate::script_thread::{ - ImageCacheMsg, MainThreadScriptChan, MainThreadScriptMsg, ScriptThread, + with_script_thread, ImageCacheMsg, MainThreadScriptChan, MainThreadScriptMsg, ScriptThread, SendableMainThreadScriptChan, }; use crate::task_manager::TaskManager; @@ -380,6 +380,8 @@ pub struct Window { /// Sizes of the various `` that we might have on this [`Window`]. /// This is used to: + /// - Let same-`ScriptThread` `