diff options
Diffstat (limited to 'components/constellation')
-rw-r--r-- | components/constellation/constellation.rs | 6 | ||||
-rw-r--r-- | components/constellation/sandboxing.rs | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/components/constellation/constellation.rs b/components/constellation/constellation.rs index f3a15d7708d..e493a97d184 100644 --- a/components/constellation/constellation.rs +++ b/components/constellation/constellation.rs @@ -4783,6 +4783,12 @@ where self.compositor_proxy .send(CompositorMsg::WebDriverMouseMoveEvent(webview_id, x, y)); }, + WebDriverCommandMsg::WheelScrollAction(webview, x, y, delta_x, delta_y) => { + self.compositor_proxy + .send(CompositorMsg::WebDriverWheelScrollEvent( + webview, x, y, delta_x, delta_y, + )); + }, WebDriverCommandMsg::TakeScreenshot(webview_id, rect, response_sender) => { self.compositor_proxy.send(CompositorMsg::CreatePng( webview_id, diff --git a/components/constellation/sandboxing.rs b/components/constellation/sandboxing.rs index 3738b4f288b..b4c6e7a9a39 100644 --- a/components/constellation/sandboxing.rs +++ b/components/constellation/sandboxing.rs @@ -159,6 +159,7 @@ pub fn spawn_multiprocess(content: UnprivilegedContent) -> Result<Process, Error let mut child_process = process::Command::new(path_to_self); setup_common(&mut child_process, token); + #[allow(clippy::zombie_processes)] let child = child_process .spawn() .expect("Failed to start unsandboxed child process!"); |