mirror of
https://github.com/servo/servo.git
synced 2025-08-09 15:35:34 +01:00
Register iframes with the devtools (#35874)
Previously, the devtools didn't know about <iframe>s. They either ignored messages coming from iframes or crashed. This reverts https://github.com/servo/servo/pull/34032 and then filters out non-tab globals in the "listTabs" message to the root actor. Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
This commit is contained in:
parent
4d73de3dde
commit
48aacc43b7
7 changed files with 34 additions and 13 deletions
|
@ -4025,6 +4025,7 @@ where
|
|||
let page_info = DevtoolsPageInfo {
|
||||
title: new_pipeline.title.clone(),
|
||||
url: new_pipeline.url.clone(),
|
||||
is_top_level_global: top_level_id == browsing_context_id,
|
||||
};
|
||||
let state = NavigationState::Stop(new_pipeline.id, page_info);
|
||||
let _ = chan.send(DevtoolsControlMsg::FromScript(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue