fix(servo): retire sessions on internal navigation

This commit is contained in:
2026-07-09 22:37:17 -04:00
parent b422ac1631
commit 31fc1acf17
9 changed files with 571 additions and 93 deletions
@@ -5,8 +5,8 @@ use super::BrowserCore;
use crate::CoreError;
impl BrowserCore {
pub fn open_tab_ids(&self) -> Vec<TabId> {
self.tabs.iter().map(|tab| tab.id().clone()).collect()
pub fn open_tabs(&self) -> &[BrowserTab] {
&self.tabs
}
pub fn visible_content_tab_ids(&self) -> Result<Vec<TabId>, CoreError> {