Merge remote-tracking branch 'origin/tracking' into custom

This commit is contained in:
roytam1 2022-04-21 21:59:16 +08:00
commit 059e35a463
32 changed files with 77 additions and 150 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) {