fix webRequest.onBeforeSendHeaders' attributes (#32474)

Co-authored-by: Wayne Huang <zjason4202@gmail.com>
This commit is contained in:
WeiZhiHuang 2022-01-27 00:41:54 +08:00 committed by GitHub
parent 7f517ba878
commit 8ec81c1437
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -98,6 +98,7 @@ Some examples of valid `urls`:
* `resourceType` string - Can be `mainFrame`, `subFrame`, `stylesheet`, `script`, `image`, `font`, `object`, `xhr`, `ping`, `cspReport`, `media`, `webSocket` or `other`.
* `referrer` string
* `timestamp` Double
* `uploadData` [UploadData[]](structures/upload-data.md) (optional)
* `requestHeaders` Record<string, string>
* `callback` Function
* `beforeSendResponse` Object