Chrome DevTools Protocol

Methods

ApplicationCache.enable

Enables application cache domain notifications.

ApplicationCache.getApplicationCacheForFrame

Returns relevant application cache data for the document in given frame.

parameters
frameId
Page.FrameId

Identifier of the frame containing document whose application cache is retrieved.

Return Object
applicationCache
ApplicationCache

Relevant application cache data for the document in given frame.

ApplicationCache.getFramesWithManifests

Returns array of frame identifiers with manifest urls for each frame containing a document associated with some application cache.

Return Object
frameIds
array[ FrameWithManifest ]

Array of frame identifiers with manifest urls for each frame containing a document associated with some application cache.

ApplicationCache.getManifestForFrame

Returns manifest URL for document in the given frame.

parameters
frameId
Page.FrameId

Identifier of the frame containing document whose manifest is retrieved.

Return Object
manifestURL
string

Manifest URL for document in the given frame.

Events

ApplicationCache.applicationCacheStatusUpdated

parameters
frameId
Page.FrameId

Identifier of the frame containing document whose application cache updated status.

manifestURL
string

Manifest URL.

status
integer

Updated application cache status.

ApplicationCache.networkStateUpdated

parameters
isNowOnline
boolean

Types

ApplicationCache.ApplicationCache

Detailed application cache information.

Type: object

properties
manifestURL
string

Manifest URL.

size
number

Application cache size.

creationTime
number

Application cache creation time.

updateTime
number

Application cache update time.

resources
array[ ApplicationCacheResource ]

Application cache resources.

ApplicationCache.ApplicationCacheResource

Detailed application cache resource information.

Type: object

properties
url
string

Resource url.

size
integer

Resource size.

type
string

Resource type.

ApplicationCache.FrameWithManifest

Frame identifier - manifest URL pair.

Type: object

properties
frameId
Page.FrameId

Frame identifier.

manifestURL
string

Manifest URL.

status
integer

Application cache status.