mirror of
https://github.com/servo/servo.git
synced 2025-09-30 00:29:14 +01:00
webdriver: Port WebDriverLoadStatus to Generic Channel (#38915)
Ports the channel for WebDriverLoadStatus to GenericChannel. Testing: No functional changes - Covered by existing webdriver tests Part of #38912 Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
This commit is contained in:
parent
4a19f66c31
commit
ebf8a35c84
6 changed files with 37 additions and 26 deletions
|
@ -6,6 +6,7 @@ use std::collections::{HashMap, HashSet};
|
|||
use std::ffi::CString;
|
||||
use std::ptr::NonNull;
|
||||
|
||||
use base::generic_channel::GenericSender;
|
||||
use base::id::{BrowsingContextId, PipelineId};
|
||||
use cookie::Cookie;
|
||||
use embedder_traits::{
|
||||
|
@ -2066,7 +2067,7 @@ pub(crate) fn handle_is_selected(
|
|||
pub(crate) fn handle_add_load_status_sender(
|
||||
documents: &DocumentCollection,
|
||||
pipeline: PipelineId,
|
||||
reply: IpcSender<WebDriverLoadStatus>,
|
||||
reply: GenericSender<WebDriverLoadStatus>,
|
||||
) {
|
||||
if let Some(document) = documents.find_document(pipeline) {
|
||||
let window = document.window();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue