aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/script_thread.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/script_thread.rs')
-rw-r--r--components/script/script_thread.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/components/script/script_thread.rs b/components/script/script_thread.rs
index 0cf14937c4c..08ce5fa7540 100644
--- a/components/script/script_thread.rs
+++ b/components/script/script_thread.rs
@@ -1141,6 +1141,10 @@ impl ScriptThread {
CompositorEvent::GamepadEvent(gamepad_event) => {
window.as_global_scope().handle_gamepad_event(gamepad_event);
},
+
+ CompositorEvent::ClipboardEvent(clipboard_action) => {
+ document.handle_clipboard_action(clipboard_action, can_gc);
+ },
}
}
ScriptThread::set_user_interacting(false);