Issue #1877 - Resolve RELEASE_OR_BETA conditionals.

This commit is contained in:
Moonchild 2022-02-04 01:44:41 +00:00 committed by roytam1
commit d4eac725fd
30 changed files with 75 additions and 144 deletions

View file

@ -843,10 +843,7 @@ HttpObserverManager = {
var onBeforeRequest = {
get allowedOptions() {
delete this.allowedOptions;
this.allowedOptions = ["blocking"];
#ifndef RELEASE_OR_BETA
this.allowedOptions.push("requestBody");
#endif
this.allowedOptions = ["blocking", "requestBody"];
return this.allowedOptions;
},
addListener(callback, filter = null, opt_extraInfoSpec = null) {