According to API docs for onBeforeRequest, returning {cancel: true} will cancel the request.
Yet this is exactly what we're doing when using URL -> File mode in replaceContent the result of which gets passed to onBeforeRequest.
There seems to be a logical error here? And indeed the scenario doesn't work for me currently. Am I missing something?


According to API docs for
onBeforeRequest, returning{cancel: true}will cancel the request.Yet this is exactly what we're doing when using
URL -> Filemode in replaceContent the result of which gets passed to onBeforeRequest.There seems to be a logical error here? And indeed the scenario doesn't work for me currently. Am I missing something?