remusao / broxy

Your Privacy Bro!
1 stars 1 forks source link

[WIP] Basic Web request via websocket #12

Closed chrmod closed 6 years ago

chrmod commented 6 years ago

Can be tested with: https://github.com/chrmod/traeger-webextension

chrmod commented 6 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

remusao commented 6 years ago

@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!