3.8 KiB
ApplicationCache
_Auto generated documentation for WebKit inspector
- Commands
- getFramesWithManifests
- enable
- getManifestForFrame
- getApplicationCacheForFrame
- Events
- applicationCacheStatusUpdated
- networkStateUpdated
- Types
- ApplicationCacheResource
- ApplicationCache
- FrameWithManifest
Commands
ApplicationCache.getFramesWithManifests(callback)
Returns array of frame identifiers with manifest urls for each frame containing a document associated with some application cache.
Parameters
callback ( function )
Results
error ( error )
frameIds ( array of FrameWithManifest )
Array of frame identifiers with manifest urls for each frame containing a document associated with some application cache.
ApplicationCache.enable(callback)
Enables application cache domain notifications.
Parameters
callback ( function )
Results
error ( error )
ApplicationCache.getManifestForFrame(Network.FrameId, callback)
Returns manifest URL for document in the given frame.
Parameters
frameId ( Network.FrameId )
Identifier of the frame containing document whose manifest is retrieved.
callback ( function )
Results
error ( error )
manifestURL ( string )
Manifest URL for document in the given frame.
ApplicationCache.getApplicationCacheForFrame(Network.FrameId, callback)
Returns relevant application cache data for the document in given frame.
Parameters
frameId ( Network.FrameId )
Identifier of the frame containing document whose application cache is retrieved.
callback ( function )
Results
error ( error )
applicationCache ( ApplicationCache )
Relevant application cache data for the document in given frame.
Events
Event: applicationCacheStatusUpdated
Results
frameId ( Network.FrameId )
Identifier of the frame containing document whose application cache updated status.
manifestURL ( string )
Manifest URL.
status ( integer )
Updated application cache status.
Event: networkStateUpdated
Results
isNowOnline ( boolean )
Types
Class: ApplicationCacheResource
Type: object
Detailed application cache resource information.
Properties
url ( string )
Resource url.
size ( integer )
Resource size.
type ( string )
Resource type.
Class: ApplicationCache
Type: object
Detailed application cache information.
Properties
manifestURL ( string )
Manifest URL.
size ( number )
Application cache size.
creationTime ( number )
Application cache creation time.
updateTime ( number )
Application cache update time.
resources ( array of ApplicationCacheResource )
Application cache resources.
Class: FrameWithManifest
Type: object
Frame identifier - manifest URL pair.
Properties
frameId ( Network.FrameId )
Frame identifier.
manifestURL ( string )
Manifest URL.
status ( integer )
Application cache status.