MDN self-hosted library · e01.org

devtools.inspectedWindow.getResources()

Retrieves the list of resources from the inspected page.

no runnable cells webextension-api-function upstream source

Retrieves the list of resources from the inspected page.

Syntax

let gettingResources = browser.devtools.inspectedWindow.getResources()

Parameters

This function takes no parameters.

Return value

A Promise fulfilled with an array of devtools.inspectedWindow.Resource. If the request fails, the promise is rejected with an error message.

h2

Browser compatibility