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.
Files changed (55) hide show
  1. package/json/browser_protocol.json +17960 -17689
  2. package/json/js_protocol.json +6 -0
  3. package/package.json +1 -1
  4. package/pdl/browser_protocol.pdl +47 -13824
  5. package/pdl/domains/Accessibility.pdl +290 -0
  6. package/pdl/domains/Animation.pdl +195 -0
  7. package/pdl/domains/Audits.pdl +755 -0
  8. package/pdl/domains/Autofill.pdl +106 -0
  9. package/pdl/domains/BackgroundService.pdl +77 -0
  10. package/pdl/domains/BluetoothEmulation.pdl +227 -0
  11. package/pdl/domains/Browser.pdl +345 -0
  12. package/pdl/domains/CSS.pdl +996 -0
  13. package/pdl/domains/CacheStorage.pdl +125 -0
  14. package/pdl/domains/Cast.pdl +62 -0
  15. package/pdl/domains/DOM.pdl +932 -0
  16. package/pdl/domains/DOMDebugger.pdl +128 -0
  17. package/pdl/domains/DOMSnapshot.pdl +319 -0
  18. package/pdl/domains/DOMStorage.pdl +72 -0
  19. package/pdl/domains/DeviceAccess.pdl +43 -0
  20. package/pdl/domains/DeviceOrientation.pdl +20 -0
  21. package/pdl/domains/Emulation.pdl +608 -0
  22. package/pdl/domains/EventBreakpoints.pdl +24 -0
  23. package/pdl/domains/Extensions.pdl +72 -0
  24. package/pdl/domains/FedCm.pdl +100 -0
  25. package/pdl/domains/Fetch.pdl +251 -0
  26. package/pdl/domains/FileSystem.pdl +41 -0
  27. package/pdl/domains/HeadlessExperimental.pdl +56 -0
  28. package/pdl/domains/IO.pdl +45 -0
  29. package/pdl/domains/IndexedDB.pdl +226 -0
  30. package/pdl/domains/Input.pdl +336 -0
  31. package/pdl/domains/Inspector.pdl +25 -0
  32. package/pdl/domains/LayerTree.pdl +178 -0
  33. package/pdl/domains/Log.pdl +93 -0
  34. package/pdl/domains/Media.pdl +106 -0
  35. package/pdl/domains/Memory.pdl +112 -0
  36. package/pdl/domains/Network.pdl +2039 -0
  37. package/pdl/domains/Overlay.pdl +498 -0
  38. package/pdl/domains/PWA.pdl +142 -0
  39. package/pdl/domains/Page.pdl +1767 -0
  40. package/pdl/domains/Performance.pdl +54 -0
  41. package/pdl/domains/PerformanceTimeline.pdl +71 -0
  42. package/pdl/domains/Preload.pdl +290 -0
  43. package/pdl/domains/Security.pdl +196 -0
  44. package/pdl/domains/ServiceWorker.pdl +121 -0
  45. package/pdl/domains/Storage.pdl +913 -0
  46. package/pdl/domains/SystemInfo.pdl +145 -0
  47. package/pdl/domains/Target.pdl +327 -0
  48. package/pdl/domains/Tethering.pdl +28 -0
  49. package/pdl/domains/Tracing.pdl +157 -0
  50. package/pdl/domains/WebAudio.pdl +205 -0
  51. package/pdl/domains/WebAuthn.pdl +230 -0
  52. package/types/protocol-mapping.d.ts +992 -615
  53. package/types/protocol-proxy-api.d.ts +543 -522
  54. package/types/protocol-tests-proxy-api.d.ts +628 -607
  55. package/types/protocol.d.ts +8059 -7903
@@ -0,0 +1,54 @@
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
+ domain Performance
8
+
9
+ # Run-time execution metric.
10
+ type Metric extends object
11
+ properties
12
+ # Metric name.
13
+ string name
14
+ # Metric value.
15
+ number value
16
+
17
+ # Disable collecting and reporting metrics.
18
+ command disable
19
+
20
+ # Enable collecting and reporting metrics.
21
+ command enable
22
+ parameters
23
+ # Time domain to use for collecting and reporting duration metrics.
24
+ optional enum timeDomain
25
+ # Use monotonically increasing abstract time (default).
26
+ timeTicks
27
+ # Use thread running time.
28
+ threadTicks
29
+
30
+ # Sets time domain to use for collecting and reporting duration metrics.
31
+ # Note that this must be called before enabling metrics collection. Calling
32
+ # this method while metrics collection is enabled returns an error.
33
+ experimental deprecated command setTimeDomain
34
+ parameters
35
+ # Time domain
36
+ enum timeDomain
37
+ # Use monotonically increasing abstract time (default).
38
+ timeTicks
39
+ # Use thread running time.
40
+ threadTicks
41
+
42
+ # Retrieve current values of run-time metrics.
43
+ command getMetrics
44
+ returns
45
+ # Current values for run-time metrics.
46
+ array of Metric metrics
47
+
48
+ # Current values of the metrics.
49
+ event metrics
50
+ parameters
51
+ # Current values of the metrics.
52
+ array of Metric metrics
53
+ # Timestamp title.
54
+ string title
@@ -0,0 +1,71 @@
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
+ # Reporting of performance timeline events, as specified in
8
+ # https://w3c.github.io/performance-timeline/#dom-performanceobserver.
9
+ experimental domain PerformanceTimeline
10
+ depends on DOM
11
+ depends on Network
12
+
13
+ # See https://github.com/WICG/LargestContentfulPaint and largest_contentful_paint.idl
14
+ type LargestContentfulPaint extends object
15
+ properties
16
+ Network.TimeSinceEpoch renderTime
17
+ Network.TimeSinceEpoch loadTime
18
+ # The number of pixels being painted.
19
+ number size
20
+ # The id attribute of the element, if available.
21
+ optional string elementId
22
+ # The URL of the image (may be trimmed).
23
+ optional string url
24
+ optional DOM.BackendNodeId nodeId
25
+
26
+ type LayoutShiftAttribution extends object
27
+ properties
28
+ DOM.Rect previousRect
29
+ DOM.Rect currentRect
30
+ optional DOM.BackendNodeId nodeId
31
+
32
+ # See https://wicg.github.io/layout-instability/#sec-layout-shift and layout_shift.idl
33
+ type LayoutShift extends object
34
+ properties
35
+ # Score increment produced by this event.
36
+ number value
37
+ boolean hadRecentInput
38
+ Network.TimeSinceEpoch lastInputTime
39
+ array of LayoutShiftAttribution sources
40
+
41
+ type TimelineEvent extends object
42
+ properties
43
+ # Identifies the frame that this event is related to. Empty for non-frame targets.
44
+ Page.FrameId frameId
45
+ # The event type, as specified in https://w3c.github.io/performance-timeline/#dom-performanceentry-entrytype
46
+ # This determines which of the optional "details" fields is present.
47
+ string type
48
+ # Name may be empty depending on the type.
49
+ string name
50
+ # Time in seconds since Epoch, monotonically increasing within document lifetime.
51
+ Network.TimeSinceEpoch time
52
+ # Event duration, if applicable.
53
+ optional number duration
54
+ optional LargestContentfulPaint lcpDetails
55
+ optional LayoutShift layoutShiftDetails
56
+
57
+ # Previously buffered events would be reported before method returns.
58
+ # See also: timelineEventAdded
59
+ command enable
60
+ parameters
61
+ # The types of event to report, as specified in
62
+ # https://w3c.github.io/performance-timeline/#dom-performanceentry-entrytype
63
+ # The specified filter overrides any previous filters, passing empty
64
+ # filter disables recording.
65
+ # Note that not all types exposed to the web platform are currently supported.
66
+ array of string eventTypes
67
+
68
+ # Sent when a performance timeline event is added. See reportPerformanceTimeline method.
69
+ event timelineEventAdded
70
+ parameters
71
+ TimelineEvent event
@@ -0,0 +1,290 @@
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 Preload
8
+ # Unique id
9
+ type RuleSetId extends string
10
+
11
+ # Corresponds to SpeculationRuleSet
12
+ type RuleSet extends object
13
+ properties
14
+ RuleSetId id
15
+ # Identifies a document which the rule set is associated with.
16
+ Network.LoaderId loaderId
17
+ # Source text of JSON representing the rule set. If it comes from
18
+ # `<script>` tag, it is the textContent of the node. Note that it is
19
+ # a JSON for valid case.
20
+ #
21
+ # See also:
22
+ # - https://wicg.github.io/nav-speculation/speculation-rules.html
23
+ # - https://github.com/WICG/nav-speculation/blob/main/triggers.md
24
+ string sourceText
25
+ # A speculation rule set is either added through an inline
26
+ # `<script>` tag or through an external resource via the
27
+ # 'Speculation-Rules' HTTP header. For the first case, we include
28
+ # the BackendNodeId of the relevant `<script>` tag. For the second
29
+ # case, we include the external URL where the rule set was loaded
30
+ # from, and also RequestId if Network domain is enabled.
31
+ #
32
+ # See also:
33
+ # - https://wicg.github.io/nav-speculation/speculation-rules.html#speculation-rules-script
34
+ # - https://wicg.github.io/nav-speculation/speculation-rules.html#speculation-rules-header
35
+ optional DOM.BackendNodeId backendNodeId
36
+ optional string url
37
+ optional Network.RequestId requestId
38
+ # Error information
39
+ # `errorMessage` is null iff `errorType` is null.
40
+ optional RuleSetErrorType errorType
41
+ # TODO(https://crbug.com/1425354): Replace this property with structured error.
42
+ deprecated optional string errorMessage
43
+
44
+ type RuleSetErrorType extends string
45
+ enum
46
+ SourceIsNotJsonObject
47
+ InvalidRulesSkipped
48
+ InvalidRulesetLevelTag
49
+
50
+ # The type of preloading attempted. It corresponds to
51
+ # mojom::SpeculationAction (although PrefetchWithSubresources is omitted as it
52
+ # isn't being used by clients).
53
+ type SpeculationAction extends string
54
+ enum
55
+ Prefetch
56
+ Prerender
57
+
58
+ # Corresponds to mojom::SpeculationTargetHint.
59
+ # See https://github.com/WICG/nav-speculation/blob/main/triggers.md#window-name-targeting-hints
60
+ type SpeculationTargetHint extends string
61
+ enum
62
+ Blank
63
+ Self
64
+
65
+ # A key that identifies a preloading attempt.
66
+ #
67
+ # The url used is the url specified by the trigger (i.e. the initial URL), and
68
+ # not the final url that is navigated to. For example, prerendering allows
69
+ # same-origin main frame navigations during the attempt, but the attempt is
70
+ # still keyed with the initial URL.
71
+ type PreloadingAttemptKey extends object
72
+ properties
73
+ Network.LoaderId loaderId
74
+ SpeculationAction action
75
+ string url
76
+ optional SpeculationTargetHint targetHint
77
+
78
+ # Lists sources for a preloading attempt, specifically the ids of rule sets
79
+ # that had a speculation rule that triggered the attempt, and the
80
+ # BackendNodeIds of <a href> or <area href> elements that triggered the
81
+ # attempt (in the case of attempts triggered by a document rule). It is
82
+ # possible for multiple rule sets and links to trigger a single attempt.
83
+ type PreloadingAttemptSource extends object
84
+ properties
85
+ PreloadingAttemptKey key
86
+ array of RuleSetId ruleSetIds
87
+ array of DOM.BackendNodeId nodeIds
88
+
89
+ # Chrome manages different types of preloads together using a
90
+ # concept of preloading pipeline. For example, if a site uses a
91
+ # SpeculationRules for prerender, Chrome first starts a prefetch and
92
+ # then upgrades it to prerender.
93
+ #
94
+ # CDP events for them are emitted separately but they share
95
+ # `PreloadPipelineId`.
96
+ type PreloadPipelineId extends string
97
+
98
+ command enable
99
+
100
+ command disable
101
+
102
+ # Upsert. Currently, it is only emitted when a rule set added.
103
+ event ruleSetUpdated
104
+ parameters
105
+ RuleSet ruleSet
106
+
107
+ event ruleSetRemoved
108
+ parameters
109
+ RuleSetId id
110
+
111
+ # List of FinalStatus reasons for Prerender2.
112
+ type PrerenderFinalStatus extends string
113
+ enum
114
+ Activated
115
+ Destroyed
116
+ LowEndDevice
117
+ InvalidSchemeRedirect
118
+ InvalidSchemeNavigation
119
+ NavigationRequestBlockedByCsp
120
+ MojoBinderPolicy
121
+ RendererProcessCrashed
122
+ RendererProcessKilled
123
+ Download
124
+ TriggerDestroyed
125
+ NavigationNotCommitted
126
+ NavigationBadHttpStatus
127
+ ClientCertRequested
128
+ NavigationRequestNetworkError
129
+ CancelAllHostsForTesting
130
+ DidFailLoad
131
+ Stop
132
+ SslCertificateError
133
+ LoginAuthRequested
134
+ UaChangeRequiresReload
135
+ BlockedByClient
136
+ AudioOutputDeviceRequested
137
+ MixedContent
138
+ TriggerBackgrounded
139
+ MemoryLimitExceeded
140
+ DataSaverEnabled
141
+ TriggerUrlHasEffectiveUrl
142
+ ActivatedBeforeStarted
143
+ InactivePageRestriction
144
+ StartFailed
145
+ TimeoutBackgrounded
146
+ CrossSiteRedirectInInitialNavigation
147
+ CrossSiteNavigationInInitialNavigation
148
+ SameSiteCrossOriginRedirectNotOptInInInitialNavigation
149
+ SameSiteCrossOriginNavigationNotOptInInInitialNavigation
150
+ ActivationNavigationParameterMismatch
151
+ ActivatedInBackground
152
+ EmbedderHostDisallowed
153
+ ActivationNavigationDestroyedBeforeSuccess
154
+ TabClosedByUserGesture
155
+ TabClosedWithoutUserGesture
156
+ PrimaryMainFrameRendererProcessCrashed
157
+ PrimaryMainFrameRendererProcessKilled
158
+ ActivationFramePolicyNotCompatible
159
+ PreloadingDisabled
160
+ BatterySaverEnabled
161
+ ActivatedDuringMainFrameNavigation
162
+ PreloadingUnsupportedByWebContents
163
+ CrossSiteRedirectInMainFrameNavigation
164
+ CrossSiteNavigationInMainFrameNavigation
165
+ SameSiteCrossOriginRedirectNotOptInInMainFrameNavigation
166
+ SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation
167
+ MemoryPressureOnTrigger
168
+ MemoryPressureAfterTriggered
169
+ PrerenderingDisabledByDevTools
170
+ SpeculationRuleRemoved
171
+ ActivatedWithAuxiliaryBrowsingContexts
172
+ MaxNumOfRunningEagerPrerendersExceeded
173
+ MaxNumOfRunningNonEagerPrerendersExceeded
174
+ MaxNumOfRunningEmbedderPrerendersExceeded
175
+ PrerenderingUrlHasEffectiveUrl
176
+ RedirectedPrerenderingUrlHasEffectiveUrl
177
+ ActivationUrlHasEffectiveUrl
178
+ JavaScriptInterfaceAdded
179
+ JavaScriptInterfaceRemoved
180
+ AllPrerenderingCanceled
181
+ WindowClosed
182
+ SlowNetwork
183
+ OtherPrerenderedPageActivated
184
+ V8OptimizerDisabled
185
+ PrerenderFailedDuringPrefetch
186
+ BrowsingDataRemoved
187
+ PrerenderHostReused
188
+
189
+ # Fired when a preload enabled state is updated.
190
+ event preloadEnabledStateUpdated
191
+ parameters
192
+ boolean disabledByPreference
193
+ boolean disabledByDataSaver
194
+ boolean disabledByBatterySaver
195
+ boolean disabledByHoldbackPrefetchSpeculationRules
196
+ boolean disabledByHoldbackPrerenderSpeculationRules
197
+
198
+ # Preloading status values, see also PreloadingTriggeringOutcome. This
199
+ # status is shared by prefetchStatusUpdated and prerenderStatusUpdated.
200
+ type PreloadingStatus extends string
201
+ enum
202
+ Pending
203
+ Running
204
+ Ready
205
+ Success
206
+ Failure
207
+ # PreloadingTriggeringOutcome which not used by prefetch nor prerender.
208
+ NotSupported
209
+
210
+ # TODO(https://crbug.com/1384419): revisit the list of PrefetchStatus and
211
+ # filter out the ones that aren't necessary to the developers.
212
+ type PrefetchStatus extends string
213
+ enum
214
+ # Prefetch is not disabled by PrefetchHeldback.
215
+ PrefetchAllowed
216
+ PrefetchFailedIneligibleRedirect
217
+ PrefetchFailedInvalidRedirect
218
+ PrefetchFailedMIMENotSupported
219
+ PrefetchFailedNetError
220
+ PrefetchFailedNon2XX
221
+ PrefetchEvictedAfterBrowsingDataRemoved
222
+ PrefetchEvictedAfterCandidateRemoved
223
+ PrefetchEvictedForNewerPrefetch
224
+ PrefetchHeldback
225
+ # A previous prefetch to the origin got a HTTP 503 response with an
226
+ # Retry-After header that has no elapsed yet.
227
+ PrefetchIneligibleRetryAfter
228
+ PrefetchIsPrivacyDecoy
229
+ PrefetchIsStale
230
+ PrefetchNotEligibleBrowserContextOffTheRecord
231
+ PrefetchNotEligibleDataSaverEnabled
232
+ PrefetchNotEligibleExistingProxy
233
+ PrefetchNotEligibleHostIsNonUnique
234
+ PrefetchNotEligibleNonDefaultStoragePartition
235
+ PrefetchNotEligibleSameSiteCrossOriginPrefetchRequiredProxy
236
+ PrefetchNotEligibleSchemeIsNotHttps
237
+ PrefetchNotEligibleUserHasCookies
238
+ PrefetchNotEligibleUserHasServiceWorker
239
+ PrefetchNotEligibleUserHasServiceWorkerNoFetchHandler
240
+ PrefetchNotEligibleRedirectFromServiceWorker
241
+ PrefetchNotEligibleRedirectToServiceWorker
242
+ PrefetchNotEligibleBatterySaverEnabled
243
+ PrefetchNotEligiblePreloadingDisabled
244
+ PrefetchNotFinishedInTime
245
+ PrefetchNotStarted
246
+ PrefetchNotUsedCookiesChanged
247
+ PrefetchProxyNotAvailable
248
+ # The response of the prefetch is used for the next navigation. This is
249
+ # the final successful state.
250
+ PrefetchResponseUsed
251
+ # The prefetch finished successfully but was never used.
252
+ PrefetchSuccessfulButNotUsed
253
+ PrefetchNotUsedProbeFailed
254
+
255
+ # Fired when a prefetch attempt is updated.
256
+ event prefetchStatusUpdated
257
+ parameters
258
+ PreloadingAttemptKey key
259
+ PreloadPipelineId pipelineId
260
+ # The frame id of the frame initiating prefetch.
261
+ Page.FrameId initiatingFrameId
262
+ string prefetchUrl
263
+ PreloadingStatus status
264
+ PrefetchStatus prefetchStatus
265
+ Network.RequestId requestId
266
+
267
+ # Information of headers to be displayed when the header mismatch occurred.
268
+ type PrerenderMismatchedHeaders extends object
269
+ properties
270
+ string headerName
271
+ optional string initialValue
272
+ optional string activationValue
273
+
274
+ # Fired when a prerender attempt is updated.
275
+ event prerenderStatusUpdated
276
+ parameters
277
+ PreloadingAttemptKey key
278
+ PreloadPipelineId pipelineId
279
+ PreloadingStatus status
280
+ optional PrerenderFinalStatus prerenderStatus
281
+ # This is used to give users more information about the name of Mojo interface
282
+ # that is incompatible with prerender and has caused the cancellation of the attempt.
283
+ optional string disallowedMojoInterface
284
+ optional array of PrerenderMismatchedHeaders mismatchedHeaders
285
+
286
+ # Send a list of sources for all preloading attempts in a document.
287
+ event preloadingAttemptSourcesUpdated
288
+ parameters
289
+ Network.LoaderId loaderId
290
+ array of PreloadingAttemptSource preloadingAttemptSources
@@ -0,0 +1,196 @@
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
+ domain Security
8
+
9
+ # An internal certificate ID value.
10
+ type CertificateId extends integer
11
+
12
+ # A description of mixed content (HTTP resources on HTTPS pages), as defined by
13
+ # https://www.w3.org/TR/mixed-content/#categories
14
+ type MixedContentType extends string
15
+ enum
16
+ blockable
17
+ optionally-blockable
18
+ none
19
+
20
+ # The security level of a page or resource.
21
+ type SecurityState extends string
22
+ enum
23
+ unknown
24
+ neutral
25
+ insecure
26
+ secure
27
+ info
28
+ insecure-broken
29
+
30
+ # Details about the security state of the page certificate.
31
+ experimental type CertificateSecurityState extends object
32
+ properties
33
+ # Protocol name (e.g. "TLS 1.2" or "QUIC").
34
+ string protocol
35
+ # Key Exchange used by the connection, or the empty string if not applicable.
36
+ string keyExchange
37
+ # (EC)DH group used by the connection, if applicable.
38
+ optional string keyExchangeGroup
39
+ # Cipher name.
40
+ string cipher
41
+ # TLS MAC. Note that AEAD ciphers do not have separate MACs.
42
+ optional string mac
43
+ # Page certificate.
44
+ array of string certificate
45
+ # Certificate subject name.
46
+ string subjectName
47
+ # Name of the issuing CA.
48
+ string issuer
49
+ # Certificate valid from date.
50
+ Network.TimeSinceEpoch validFrom
51
+ # Certificate valid to (expiration) date
52
+ Network.TimeSinceEpoch validTo
53
+ # The highest priority network error code, if the certificate has an error.
54
+ optional string certificateNetworkError
55
+ # True if the certificate uses a weak signature algorithm.
56
+ boolean certificateHasWeakSignature
57
+ # True if the certificate has a SHA1 signature in the chain.
58
+ boolean certificateHasSha1Signature
59
+ # True if modern SSL
60
+ boolean modernSSL
61
+ # True if the connection is using an obsolete SSL protocol.
62
+ boolean obsoleteSslProtocol
63
+ # True if the connection is using an obsolete SSL key exchange.
64
+ boolean obsoleteSslKeyExchange
65
+ # True if the connection is using an obsolete SSL cipher.
66
+ boolean obsoleteSslCipher
67
+ # True if the connection is using an obsolete SSL signature.
68
+ boolean obsoleteSslSignature
69
+
70
+ experimental type SafetyTipStatus extends string
71
+ enum
72
+ badReputation
73
+ lookalike
74
+
75
+ experimental type SafetyTipInfo extends object
76
+ properties
77
+ # Describes whether the page triggers any safety tips or reputation warnings. Default is unknown.
78
+ SafetyTipStatus safetyTipStatus
79
+ # The URL the safety tip suggested ("Did you mean?"). Only filled in for lookalike matches.
80
+ optional string safeUrl
81
+
82
+ # Security state information about the page.
83
+ experimental type VisibleSecurityState extends object
84
+ properties
85
+ # The security level of the page.
86
+ SecurityState securityState
87
+ # Security state details about the page certificate.
88
+ optional CertificateSecurityState certificateSecurityState
89
+ # The type of Safety Tip triggered on the page. Note that this field will be set even if the Safety Tip UI was not actually shown.
90
+ optional SafetyTipInfo safetyTipInfo
91
+ # Array of security state issues ids.
92
+ array of string securityStateIssueIds
93
+
94
+ # An explanation of an factor contributing to the security state.
95
+ type SecurityStateExplanation extends object
96
+ properties
97
+ # Security state representing the severity of the factor being explained.
98
+ SecurityState securityState
99
+ # Title describing the type of factor.
100
+ string title
101
+ # Short phrase describing the type of factor.
102
+ string summary
103
+ # Full text explanation of the factor.
104
+ string description
105
+ # The type of mixed content described by the explanation.
106
+ MixedContentType mixedContentType
107
+ # Page certificate.
108
+ array of string certificate
109
+ # Recommendations to fix any issues.
110
+ optional array of string recommendations
111
+
112
+ # Information about insecure content on the page.
113
+ deprecated type InsecureContentStatus extends object
114
+ properties
115
+ # Always false.
116
+ boolean ranMixedContent
117
+ # Always false.
118
+ boolean displayedMixedContent
119
+ # Always false.
120
+ boolean containedMixedForm
121
+ # Always false.
122
+ boolean ranContentWithCertErrors
123
+ # Always false.
124
+ boolean displayedContentWithCertErrors
125
+ # Always set to unknown.
126
+ SecurityState ranInsecureContentStyle
127
+ # Always set to unknown.
128
+ SecurityState displayedInsecureContentStyle
129
+
130
+ # The action to take when a certificate error occurs. continue will continue processing the
131
+ # request and cancel will cancel the request.
132
+ type CertificateErrorAction extends string
133
+ enum
134
+ continue
135
+ cancel
136
+
137
+ # Disables tracking security state changes.
138
+ command disable
139
+
140
+ # Enables tracking security state changes.
141
+ command enable
142
+
143
+ # Enable/disable whether all certificate errors should be ignored.
144
+ command setIgnoreCertificateErrors
145
+ parameters
146
+ # If true, all certificate errors will be ignored.
147
+ boolean ignore
148
+
149
+ # Handles a certificate error that fired a certificateError event.
150
+ deprecated command handleCertificateError
151
+ parameters
152
+ # The ID of the event.
153
+ integer eventId
154
+ # The action to take on the certificate error.
155
+ CertificateErrorAction action
156
+
157
+ # Enable/disable overriding certificate errors. If enabled, all certificate error events need to
158
+ # be handled by the DevTools client and should be answered with `handleCertificateError` commands.
159
+ deprecated command setOverrideCertificateErrors
160
+ parameters
161
+ # If true, certificate errors will be overridden.
162
+ boolean override
163
+
164
+ # There is a certificate error. If overriding certificate errors is enabled, then it should be
165
+ # handled with the `handleCertificateError` command. Note: this event does not fire if the
166
+ # certificate error has been allowed internally. Only one client per target should override
167
+ # certificate errors at the same time.
168
+ deprecated event certificateError
169
+ parameters
170
+ # The ID of the event.
171
+ integer eventId
172
+ # The type of the error.
173
+ string errorType
174
+ # The url that was requested.
175
+ string requestURL
176
+
177
+ # The security state of the page changed.
178
+ experimental event visibleSecurityStateChanged
179
+ parameters
180
+ # Security state information about the page.
181
+ VisibleSecurityState visibleSecurityState
182
+
183
+ # The security state of the page changed. No longer being sent.
184
+ deprecated event securityStateChanged
185
+ parameters
186
+ # Security state.
187
+ SecurityState securityState
188
+ # True if the page was loaded over cryptographic transport such as HTTPS.
189
+ deprecated boolean schemeIsCryptographic
190
+ # Previously a list of explanations for the security state. Now always
191
+ # empty.
192
+ deprecated array of SecurityStateExplanation explanations
193
+ # Information about insecure content on the page.
194
+ deprecated InsecureContentStatus insecureContentStatus
195
+ # Overrides user-visible description of the state. Always omitted.
196
+ deprecated optional string summary