mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Move webdriver actions commands to servoshell (#37669)
Move webdriver actions commands to servoshell. Testing: Test with webdriver enable in the CI [Test result 1](https://github.com/longvatrong111/servo/actions/runs/15875355256) [Test result 2](https://github.com/longvatrong111/servo/actions/runs/15875356595) [Test result 3](https://github.com/longvatrong111/servo/actions/runs/15875361886) Fixes: https://github.com/servo/servo/issues/37370 Signed-off-by: batu_hoang <longvatrong111@gmail.com>
This commit is contained in:
parent
9bd8d4f026
commit
940eff9497
12 changed files with 126 additions and 208 deletions
|
@ -20,7 +20,7 @@ use base::cross_process_instant::CrossProcessInstant;
|
|||
use base::id::{MessagePortId, PipelineId, WebViewId};
|
||||
use embedder_traits::{
|
||||
CompositorHitTestResult, Cursor, InputEvent, JavaScriptEvaluationId, MediaSessionActionType,
|
||||
Theme, ViewportDetails, WebDriverCommandMsg,
|
||||
Theme, ViewportDetails, WebDriverCommandMsg, WebDriverCommandResponse,
|
||||
};
|
||||
pub use from_script_message::*;
|
||||
use ipc_channel::ipc::IpcSender;
|
||||
|
@ -96,6 +96,8 @@ pub enum EmbedderToConstellationMessage {
|
|||
CreateMemoryReport(IpcSender<MemoryReportResult>),
|
||||
/// Sends the generated image key to the image cache associated with this pipeline.
|
||||
SendImageKeysForPipeline(PipelineId, Vec<ImageKey>),
|
||||
/// Set WebDriver input event handled sender.
|
||||
SetWebDriverResponseSender(IpcSender<WebDriverCommandResponse>),
|
||||
}
|
||||
|
||||
/// A description of a paint metric that is sent from the Servo renderer to the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue