devtools-protocol 0.0.1498597 → 0.0.1501779
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/json/browser_protocol.json +17960 -17689
- package/json/js_protocol.json +6 -0
- package/package.json +1 -1
- package/pdl/browser_protocol.pdl +47 -13824
- package/pdl/domains/Accessibility.pdl +290 -0
- package/pdl/domains/Animation.pdl +195 -0
- package/pdl/domains/Audits.pdl +755 -0
- package/pdl/domains/Autofill.pdl +106 -0
- package/pdl/domains/BackgroundService.pdl +77 -0
- package/pdl/domains/BluetoothEmulation.pdl +227 -0
- package/pdl/domains/Browser.pdl +345 -0
- package/pdl/domains/CSS.pdl +996 -0
- package/pdl/domains/CacheStorage.pdl +125 -0
- package/pdl/domains/Cast.pdl +62 -0
- package/pdl/domains/DOM.pdl +932 -0
- package/pdl/domains/DOMDebugger.pdl +128 -0
- package/pdl/domains/DOMSnapshot.pdl +319 -0
- package/pdl/domains/DOMStorage.pdl +72 -0
- package/pdl/domains/DeviceAccess.pdl +43 -0
- package/pdl/domains/DeviceOrientation.pdl +20 -0
- package/pdl/domains/Emulation.pdl +608 -0
- package/pdl/domains/EventBreakpoints.pdl +24 -0
- package/pdl/domains/Extensions.pdl +72 -0
- package/pdl/domains/FedCm.pdl +100 -0
- package/pdl/domains/Fetch.pdl +251 -0
- package/pdl/domains/FileSystem.pdl +41 -0
- package/pdl/domains/HeadlessExperimental.pdl +56 -0
- package/pdl/domains/IO.pdl +45 -0
- package/pdl/domains/IndexedDB.pdl +226 -0
- package/pdl/domains/Input.pdl +336 -0
- package/pdl/domains/Inspector.pdl +25 -0
- package/pdl/domains/LayerTree.pdl +178 -0
- package/pdl/domains/Log.pdl +93 -0
- package/pdl/domains/Media.pdl +106 -0
- package/pdl/domains/Memory.pdl +112 -0
- package/pdl/domains/Network.pdl +2039 -0
- package/pdl/domains/Overlay.pdl +498 -0
- package/pdl/domains/PWA.pdl +142 -0
- package/pdl/domains/Page.pdl +1767 -0
- package/pdl/domains/Performance.pdl +54 -0
- package/pdl/domains/PerformanceTimeline.pdl +71 -0
- package/pdl/domains/Preload.pdl +290 -0
- package/pdl/domains/Security.pdl +196 -0
- package/pdl/domains/ServiceWorker.pdl +121 -0
- package/pdl/domains/Storage.pdl +913 -0
- package/pdl/domains/SystemInfo.pdl +145 -0
- package/pdl/domains/Target.pdl +327 -0
- package/pdl/domains/Tethering.pdl +28 -0
- package/pdl/domains/Tracing.pdl +157 -0
- package/pdl/domains/WebAudio.pdl +205 -0
- package/pdl/domains/WebAuthn.pdl +230 -0
- package/types/protocol-mapping.d.ts +992 -615
- package/types/protocol-proxy-api.d.ts +543 -522
- package/types/protocol-tests-proxy-api.d.ts +628 -607
- package/types/protocol.d.ts +8059 -7903
@@ -0,0 +1,125 @@
|
|
1
|
+
# Copyright 2017 The Chromium Authors
|
2
|
+
# Use of this source code is governed by a BSD-style license that can be
|
3
|
+
# found in the LICENSE file.
|
4
|
+
#
|
5
|
+
# Contributing to Chrome DevTools Protocol: https://goo.gle/devtools-contribution-guide-cdp
|
6
|
+
|
7
|
+
experimental domain CacheStorage
|
8
|
+
depends on Storage
|
9
|
+
|
10
|
+
# Unique identifier of the Cache object.
|
11
|
+
type CacheId extends string
|
12
|
+
|
13
|
+
# type of HTTP response cached
|
14
|
+
type CachedResponseType extends string
|
15
|
+
enum
|
16
|
+
basic
|
17
|
+
cors
|
18
|
+
default
|
19
|
+
error
|
20
|
+
opaqueResponse
|
21
|
+
opaqueRedirect
|
22
|
+
|
23
|
+
# Data entry.
|
24
|
+
type DataEntry extends object
|
25
|
+
properties
|
26
|
+
# Request URL.
|
27
|
+
string requestURL
|
28
|
+
# Request method.
|
29
|
+
string requestMethod
|
30
|
+
# Request headers
|
31
|
+
array of Header requestHeaders
|
32
|
+
# Number of seconds since epoch.
|
33
|
+
number responseTime
|
34
|
+
# HTTP response status code.
|
35
|
+
integer responseStatus
|
36
|
+
# HTTP response status text.
|
37
|
+
string responseStatusText
|
38
|
+
# HTTP response type
|
39
|
+
CachedResponseType responseType
|
40
|
+
# Response headers
|
41
|
+
array of Header responseHeaders
|
42
|
+
|
43
|
+
# Cache identifier.
|
44
|
+
type Cache extends object
|
45
|
+
properties
|
46
|
+
# An opaque unique id of the cache.
|
47
|
+
CacheId cacheId
|
48
|
+
# Security origin of the cache.
|
49
|
+
string securityOrigin
|
50
|
+
# Storage key of the cache.
|
51
|
+
string storageKey
|
52
|
+
# Storage bucket of the cache.
|
53
|
+
optional Storage.StorageBucket storageBucket
|
54
|
+
# The name of the cache.
|
55
|
+
string cacheName
|
56
|
+
|
57
|
+
type Header extends object
|
58
|
+
properties
|
59
|
+
string name
|
60
|
+
string value
|
61
|
+
|
62
|
+
# Cached response
|
63
|
+
type CachedResponse extends object
|
64
|
+
properties
|
65
|
+
# Entry content, base64-encoded.
|
66
|
+
binary body
|
67
|
+
|
68
|
+
# Deletes a cache.
|
69
|
+
command deleteCache
|
70
|
+
parameters
|
71
|
+
# Id of cache for deletion.
|
72
|
+
CacheId cacheId
|
73
|
+
|
74
|
+
# Deletes a cache entry.
|
75
|
+
command deleteEntry
|
76
|
+
parameters
|
77
|
+
# Id of cache where the entry will be deleted.
|
78
|
+
CacheId cacheId
|
79
|
+
# URL spec of the request.
|
80
|
+
string request
|
81
|
+
|
82
|
+
# Requests cache names.
|
83
|
+
command requestCacheNames
|
84
|
+
parameters
|
85
|
+
# At least and at most one of securityOrigin, storageKey, storageBucket must be specified.
|
86
|
+
# Security origin.
|
87
|
+
optional string securityOrigin
|
88
|
+
# Storage key.
|
89
|
+
optional string storageKey
|
90
|
+
# Storage bucket. If not specified, it uses the default bucket.
|
91
|
+
optional Storage.StorageBucket storageBucket
|
92
|
+
returns
|
93
|
+
# Caches for the security origin.
|
94
|
+
array of Cache caches
|
95
|
+
|
96
|
+
# Fetches cache entry.
|
97
|
+
command requestCachedResponse
|
98
|
+
parameters
|
99
|
+
# Id of cache that contains the entry.
|
100
|
+
CacheId cacheId
|
101
|
+
# URL spec of the request.
|
102
|
+
string requestURL
|
103
|
+
# headers of the request.
|
104
|
+
array of Header requestHeaders
|
105
|
+
returns
|
106
|
+
# Response read from the cache.
|
107
|
+
CachedResponse response
|
108
|
+
|
109
|
+
# Requests data from cache.
|
110
|
+
command requestEntries
|
111
|
+
parameters
|
112
|
+
# ID of cache to get entries from.
|
113
|
+
CacheId cacheId
|
114
|
+
# Number of records to skip.
|
115
|
+
optional integer skipCount
|
116
|
+
# Number of records to fetch.
|
117
|
+
optional integer pageSize
|
118
|
+
# If present, only return the entries containing this substring in the path
|
119
|
+
optional string pathFilter
|
120
|
+
returns
|
121
|
+
# Array of object store data entries.
|
122
|
+
array of DataEntry cacheDataEntries
|
123
|
+
# Count of returned entries from this storage. If pathFilter is empty, it
|
124
|
+
# is the count of all entries from this storage.
|
125
|
+
number returnCount
|
@@ -0,0 +1,62 @@
|
|
1
|
+
# Copyright 2017 The Chromium Authors
|
2
|
+
# Use of this source code is governed by a BSD-style license that can be
|
3
|
+
# found in the LICENSE file.
|
4
|
+
#
|
5
|
+
# Contributing to Chrome DevTools Protocol: https://goo.gle/devtools-contribution-guide-cdp
|
6
|
+
|
7
|
+
# A domain for interacting with Cast, Presentation API, and Remote Playback API
|
8
|
+
# functionalities.
|
9
|
+
experimental domain Cast
|
10
|
+
|
11
|
+
type Sink extends object
|
12
|
+
properties
|
13
|
+
string name
|
14
|
+
string id
|
15
|
+
# Text describing the current session. Present only if there is an active
|
16
|
+
# session on the sink.
|
17
|
+
optional string session
|
18
|
+
|
19
|
+
# Starts observing for sinks that can be used for tab mirroring, and if set,
|
20
|
+
# sinks compatible with |presentationUrl| as well. When sinks are found, a
|
21
|
+
# |sinksUpdated| event is fired.
|
22
|
+
# Also starts observing for issue messages. When an issue is added or removed,
|
23
|
+
# an |issueUpdated| event is fired.
|
24
|
+
command enable
|
25
|
+
parameters
|
26
|
+
optional string presentationUrl
|
27
|
+
|
28
|
+
# Stops observing for sinks and issues.
|
29
|
+
command disable
|
30
|
+
|
31
|
+
# Sets a sink to be used when the web page requests the browser to choose a
|
32
|
+
# sink via Presentation API, Remote Playback API, or Cast SDK.
|
33
|
+
command setSinkToUse
|
34
|
+
parameters
|
35
|
+
string sinkName
|
36
|
+
|
37
|
+
# Starts mirroring the desktop to the sink.
|
38
|
+
command startDesktopMirroring
|
39
|
+
parameters
|
40
|
+
string sinkName
|
41
|
+
|
42
|
+
# Starts mirroring the tab to the sink.
|
43
|
+
command startTabMirroring
|
44
|
+
parameters
|
45
|
+
string sinkName
|
46
|
+
|
47
|
+
# Stops the active Cast session on the sink.
|
48
|
+
command stopCasting
|
49
|
+
parameters
|
50
|
+
string sinkName
|
51
|
+
|
52
|
+
# This is fired whenever the list of available sinks changes. A sink is a
|
53
|
+
# device or a software surface that you can cast to.
|
54
|
+
event sinksUpdated
|
55
|
+
parameters
|
56
|
+
array of Sink sinks
|
57
|
+
|
58
|
+
# This is fired whenever the outstanding issue/error message changes.
|
59
|
+
# |issueMessage| is empty if there is no issue.
|
60
|
+
event issueUpdated
|
61
|
+
parameters
|
62
|
+
string issueMessage
|