(enable)
| 360 | } |
| 361 | |
| 362 | function toggleFastFirefoxInject(enable) { |
| 363 | ffInject = enable; |
| 364 | if (!enable) { |
| 365 | cache.some(v => { unregisterScriptFF(v); /* must return falsy! */ }); |
| 366 | } else if (!xhrInject) { |
| 367 | cache.destroy(); // nuking the cache so that CSAPI_REG is created for subsequent injections |
| 368 | } |
| 369 | } |
| 370 | |
| 371 | /** @param {chrome.webRequest.WebRequestHeadersDetails} info */ |
| 372 | function onSendHeaders(info) { |
nothing calls this directly
no test coverage detected