Browser-compat-data: List all webRequest.ResourceType types

Created on 21 Mar 2018  路  1Comment  路  Source: mdn/browser-compat-data

I've been looking at this MDN article about possible ResourceTypes in the webRequest API. Under the Type section the article currently lists 20 different resource types. The browser compatibility table lists only 12 of them (missing ones being image, main_frame, object, script, stylesheet, sub_frame, xmlhttprequest and other). Could we list all of them in the compatibility table too?

In the acknowledgements section it's written that

This API is based on Chromium's chrome.webRequest API. This documentation is derived from web_request.json in the Chromium code.

If you look at the linked web_request.json file and its types.ResourceType object it only lists 13 resource types so the article lists 7 more but doesn't really tell where they come from. If not all of the types in the article are based on the Chromium's chrome.webRequest API could we mention what are they based on or where they are derived from? I can see some of the missing ones in Chromium's source but event that lists only 19.

data

Most helpful comment

The others should be subsumed under "Basic support", but you're right, it would be better to list them all explicitly.

>All comments

The others should be subsumed under "Basic support", but you're right, it would be better to list them all explicitly.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ghost picture ghost  路  3Comments

Krinkle picture Krinkle  路  4Comments

TomasHubelbauer picture TomasHubelbauer  路  4Comments

ddbeck picture ddbeck  路  3Comments

ddbeck picture ddbeck  路  3Comments