It looks like that sometimes changes are not applied even if content is replaced, I suppose that it might be related to XMLHttpRequest.prototype.send which is not mocked.
This issue occurs here - AdguardTeam/AdguardFilters#151052
Using the same method/approach like in trusted-replace-xhr-response should fixes this issue.
It looks like that sometimes changes are not applied even if content is replaced, I suppose that it might be related to
XMLHttpRequest.prototype.sendwhich is not mocked.This issue occurs here - AdguardTeam/AdguardFilters#151052
Using the same method/approach like in
trusted-replace-xhr-responseshould fixes this issue.