fix(servo): retire sessions on internal navigation
This commit is contained in:
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user