Fix for XHR detection in WebExtension

main
Elbert Alias 3 years ago
parent ed8a32f177
commit cfad64365a

@ -408,7 +408,7 @@ const Driver = {
xhrDebounce.splice(xhrDebounce.indexOf(hostname), 1) xhrDebounce.splice(xhrDebounce.indexOf(hostname), 1)
Driver.onDetect( Driver.onDetect(
request.originUrl, request.originUrl || request.initiator,
await analyze({ xhr: hostname }) await analyze({ xhr: hostname })
).catch(Driver.error) ).catch(Driver.error)
}, 1000) }, 1000)