Closed chrmod closed 7 years ago
Currently the webRequest implementation of browser-core
with node
platform is incomplete.
It blows on:
onBeforeRequest' of undefined
at sanitizeResponse
as the platform/webrequest
does not VALID_RESPONSE_PROPERTIES
and EXTRA_INFO_SPEC
@chrmod there is a electron
platform for navigation-extension
. But the webrequest implementation is currently empty, platforms/electron/webrequest.es
:
// TODO - make it able to inject requests easily
export default {};
We can probably re-use the one from platform/node
if you think it's the way to go!
Can be tested with: https://github.com/chrmod/traeger-webextension