MCPcopy
hub / github.com/RetireJS/retire.js / onScanResultReady

Function onScanResultReady

firefox/lib/main.js:45–54  ·  view source on GitHub ↗
(event)

Source from the content-addressed store, hash-verified

43});
44
45function 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
56function onActivateWindow() {
57 if (tabInfo.has(tabs.activeTab.id)) {

Callers

nothing calls this directly

Calls 1

updateButtonFunction · 0.85

Tested by

no test coverage detected