mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
devtools: Use webview_id
as browser_id
(#35956)
* use `webview_id` as `browser_id` Signed-off-by: atbrakhi <atbrakhi@igalia.com> * use correct webview id Signed-off-by: atbrakhi <atbrakhi@igalia.com> * fmt Signed-off-by: atbrakhi <atbrakhi@igalia.com> * review fix Signed-off-by: atbrakhi <atbrakhi@igalia.com> --------- Signed-off-by: atbrakhi <atbrakhi@igalia.com>
This commit is contained in:
parent
4acaa08cf5
commit
2362e4c134
7 changed files with 43 additions and 17 deletions
|
@ -16,7 +16,7 @@ use std::net::TcpStream;
|
|||
use std::time::{Duration, SystemTime, UNIX_EPOCH};
|
||||
|
||||
use base::cross_process_instant::CrossProcessInstant;
|
||||
use base::id::{BrowsingContextId, PipelineId};
|
||||
use base::id::{BrowsingContextId, PipelineId, WebViewId};
|
||||
use bitflags::bitflags;
|
||||
use http::{HeaderMap, Method};
|
||||
use ipc_channel::ipc::IpcSender;
|
||||
|
@ -82,7 +82,7 @@ pub enum ScriptToDevtoolsControlMsg {
|
|||
/// A new global object was created, associated with a particular pipeline.
|
||||
/// The means of communicating directly with it are provided.
|
||||
NewGlobal(
|
||||
(BrowsingContextId, PipelineId, Option<WorkerId>),
|
||||
(BrowsingContextId, PipelineId, Option<WorkerId>, WebViewId),
|
||||
IpcSender<DevtoolScriptControlMsg>,
|
||||
DevtoolsPageInfo,
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue