File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed
packages/electron-chrome-extensions/src/browser/api Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -197,6 +197,8 @@ export class TabsAPI {
197197 return false
198198 // if (isSet(info.currentWindow)) return false
199199 // if (isSet(info.lastFocusedWindow)) return false
200+ if ( isSet ( info . frozen ) && info . frozen !== tab . frozen ) return false
201+ if ( isSet ( info . groupId ) && info . groupId !== tab . groupId ) return false
200202 if ( isSet ( info . status ) && info . status !== tab . status ) return false
201203 if ( isSet ( info . title ) && typeof info . title === 'string' && typeof tab . title === 'string' ) {
202204 if ( ! matchesTitlePattern ( info . title , tab . title ) ) return false
@@ -322,15 +324,17 @@ export class TabsAPI {
322324 const details = this . createTabDetails ( tab )
323325
324326 const compareProps : ( keyof chrome . tabs . Tab ) [ ] = [
325- 'status' ,
326- 'url' ,
327- 'pinned' ,
328327 'audible' ,
329- 'discarded' ,
330328 'autoDiscardable' ,
331- 'mutedInfo ' ,
329+ 'discarded ' ,
332330 'favIconUrl' ,
331+ 'frozen' ,
332+ 'groupId' ,
333+ 'mutedInfo' ,
334+ 'pinned' ,
335+ 'status' ,
333336 'title' ,
337+ 'url' ,
334338 ]
335339
336340 let didUpdate = false
You can’t perform that action at this time.
0 commit comments