diff options
Diffstat (limited to 'components/script/script_runtime.rs')
-rw-r--r-- | components/script/script_runtime.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/script_runtime.rs b/components/script/script_runtime.rs index 276a913647a..b128e3e54b5 100644 --- a/components/script/script_runtime.rs +++ b/components/script/script_runtime.rs @@ -217,7 +217,7 @@ pub fn notify_about_rejected_promises(global: &GlobalScope) { let target = Trusted::new(global.upcast::<EventTarget>()); // Step 4. - global.as_window().dom_manipulation_task_source().queue( + global.dom_manipulation_task_source().queue( task!(unhandled_rejection_event: move || { let target = target.root(); let cx = target.global().get_cx(); |