(event)
| 43 | }); |
| 44 | |
| 45 | function onScanResultReady(event) { |
| 46 | let details = event.subject.details; |
| 47 | let rmsg = event.subject.msg; |
| 48 | let tabId = details.tabId; |
| 49 | tabInfo.get(tabId).vulnerableCount++; |
| 50 | if (tabs.activeTab.id == tabId) { |
| 51 | updateButton(tabInfo.get(tabId).vulnerableCount); |
| 52 | } |
| 53 | firefox.logToWebConsole(rmsg, details, windowUtil.getInnerId(tabUtil.getTabContentWindow(firefox.getBrowserTabElement(tabId)))); |
| 54 | } |
| 55 | |
| 56 | function onActivateWindow() { |
| 57 | if (tabInfo.has(tabs.activeTab.id)) { |
nothing calls this directly
no test coverage detected