| Value | Meaning |
|---|---|
| RT_MAIN_FRAME0 | Top level page. |
| RT_SUB_FRAME1 | Frame or iframe. |
| RT_STYLESHEET2 | CSS stylesheet. |
| RT_SCRIPT3 | External script. |
| RT_IMAGE4 | Image (jpg/gif/png/etc). |
| RT_FONT_RESOURCE5 | Font. |
| RT_SUB_RESOURCE6 | Some other subresource. This is the default type if the actual type is unknown. |
| RT_OBJECT7 | Object (or embed) tag for a plugin, or a resource that a plugin requested. |
| RT_MEDIA8 | Media resource. |
| RT_WORKER9 | Main resource of a dedicated worker. |
| RT_SHARED_WORKER10 | Main resource of a shared worker. |
| RT_PREFETCH11 | Explicitly requested prefetch. |
| RT_FAVICON12 | Favicon. |
| RT_XHR13 | XMLHttpRequest. |
| RT_PING14 | A request for a "<ping>". |
| RT_SERVICE_WORKER15 | Main resource of a service worker. |
| RT_CSP_REPORT16 | A report of Content Security Policy violations. |
| RT_PLUGIN_RESOURCE17 | A resource that a plugin requested. |
| RT_NAVIGATION_PRELOAD_MAIN_FRAME19 | A main-frame service worker navigation preload request. |
| RT_NAVIGATION_PRELOAD_SUB_FRAME20 | A sub-frame service worker navigation preload request. |
Resource type for a request. These constants match their equivalents in Chromium's ResourceType and should not be renumbered.