mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-10 09:40:21 +08:00
Chrome: Add optional property initiator on ResourceRequest (#27571)
* Add optional property initiator in ResourceRequest * Add optional property initiator in ResourceRequest
This commit is contained in:
4
types/chrome/index.d.ts
vendored
4
types/chrome/index.d.ts
vendored
@@ -7383,6 +7383,10 @@ declare namespace chrome.webRequest {
|
||||
type: ResourceType;
|
||||
/** The time when this signal is triggered, in milliseconds since the epoch. */
|
||||
timeStamp: number;
|
||||
/** The origin where the request was initiated. This does not change through redirects. If this is an opaque origin, the string 'null' will be used.
|
||||
* @since Since Chrome 63.
|
||||
*/
|
||||
initiator?: string;
|
||||
}
|
||||
|
||||
export interface WebRequestDetails extends ResourceRequest {
|
||||
|
||||
Reference in New Issue
Block a user