({ count, tab })
| 410 | }, |
| 411 | |
| 412 | async visitPreviousTab({ count, tab }) { |
| 413 | await bgUtils.tabRecency.init(); |
| 414 | let tabIds = bgUtils.tabRecency.getTabsByRecency(); |
| 415 | tabIds = tabIds.filter((tabId) => tabId !== tab.id); |
| 416 | if (tabIds.length > 0) { |
| 417 | const id = tabIds[(count - 1) % tabIds.length]; |
| 418 | selectSpecificTab({ id }); |
| 419 | } |
| 420 | }, |
| 421 | |
| 422 | async reload({ count, tab, registryEntry }) { |
| 423 | const bypassCache = registryEntry.options.hard != null ? registryEntry.options.hard : false; |
nothing calls this directly
no test coverage detected