From 6990103aa91539e541e08f4977851fcdcf43304d Mon Sep 17 00:00:00 2001 From: Felix Rubio Date: Thu, 26 Jul 2018 17:15:52 +0200 Subject: [PATCH] Chrome: Add optional property initiator on ResourceRequest (#27571) * Add optional property initiator in ResourceRequest * Add optional property initiator in ResourceRequest --- types/chrome/index.d.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/types/chrome/index.d.ts b/types/chrome/index.d.ts index 856a1ebc8f..6dbf118947 100644 --- a/types/chrome/index.d.ts +++ b/types/chrome/index.d.ts @@ -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 {