The details of the request to test.

interface _TestMatchOutcomeRequest {
    initiator?: string;
    method?: string;
    tabId?: number;
    type: browser.declarativeNetRequest.ResourceType;
    url: string;
}
Index
initiator?: string

The initiator URL (if any) for the hypothetical request.

method?: string

Standard HTTP method of the hypothetical request.

tabId?: number

The ID of the tab in which the hypothetical request takes place. Does not need to correspond to a real tab ID. Default is -1, meaning that the request isn't related to a tab.

The resource type of the hypothetical request.

url: string

The URL of the hypothetical request.