(tabId)
| 504 | // or iFrames which contain chrome-extension:// URLs, even if those pages are listed in Vimium's |
| 505 | // web_accessible_resources in manifest.json. |
| 506 | async function getFrameIdsForTab(tabId) { |
| 507 | // getAllFrames unfortunately excludes frames and iframes from chrome-extension:// URLs. |
| 508 | // In Firefox, by contrast, pages with moz-extension:// URLs are included. |
| 509 | const frames = await chrome.webNavigation.getAllFrames({ tabId: tabId }); |
| 510 | return frames.map((f) => f.frameId); |
| 511 | } |
| 512 | |
| 513 | const HintCoordinator = { |
| 514 | // Forward the message in "request" to all frames the in sender's tab. |
no outgoing calls
no test coverage detected