次の方法で共有


DiagnosticsResources object

Object that enables access to functions related to resources such as indexedDB or localStorage.

Note  These APIs can only be used with F12 developer tools and the Diagnostics Script Engine, and can't be called from JavaScript.

 

 

Syntax

 var oResources = oGlobalScope.resources;

DOM Information

Inheritance Hierarchy

The DiagnosticsResources does not inherit from any class or interface.

Members

The DiagnosticsResources object has these types of members:

  • Methods
  • Properties

Methods

The DiagnosticsResources object has these methods.

Method Description
clearAllCookies

Clears the browser's cookies.

clearAllCookiesForDomain

Clears the browser's cookies for the current domain.

clearAllUrlRedirects

Removes all URLs in a redirection table.

clearAppCache

Clears the AppCache.

clearBrowserCache

Clears the browser cache.

clearBrowserCacheForDomain

Clears the browser cache for the current page.

clearUrlRedirect

Removes all entries of a specific URL in a table of redirects.

setUrlRedirect

Replaces a URL with another to cause a redirect.

 

Properties

The DiagnosticsResources object has these properties.

Property Access type Description

alwaysRefreshFromServer

Read/write

Forces Internet Explorer to bypass caches.

cookies

Read-only

Returns cookies for an object.

indexedDB

Read-only

Returns an instance of DiagnosticsIndexedDB.

localStorage

Read-only

Returns an instance of DiagnosticsStorage associated with local storage.

memory

Read-only

Returns an instance of DiagnosticsMemoryProfiler.

sessionStorage

Read-only

Returns an instance of DiagnosticsStorage associated with session storage.