mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Devtools: Don't display iframes in the tab list (#34032)
Signed-off-by: eri <epazos@igalia.com>
This commit is contained in:
parent
ccafda9a59
commit
10aa485c0c
1 changed files with 7 additions and 5 deletions
|
@ -3866,11 +3866,13 @@ impl ScriptThread {
|
|||
.unwrap();
|
||||
|
||||
// Notify devtools that a new script global exists.
|
||||
self.notify_devtools(
|
||||
document.Title(),
|
||||
final_url.clone(),
|
||||
(incomplete.browsing_context_id, incomplete.pipeline_id, None),
|
||||
);
|
||||
if incomplete.top_level_browsing_context_id.0 == incomplete.browsing_context_id {
|
||||
self.notify_devtools(
|
||||
document.Title(),
|
||||
final_url.clone(),
|
||||
(incomplete.browsing_context_id, incomplete.pipeline_id, None),
|
||||
);
|
||||
}
|
||||
|
||||
document.set_https_state(metadata.https_state);
|
||||
document.set_navigation_start(incomplete.navigation_start);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue