devtools-protocol 0.0.1498010 → 0.0.1501221

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 (54) hide show
  1. package/json/browser_protocol.json +17905 -17687
  2. package/package.json +1 -1
  3. package/pdl/browser_protocol.pdl +47 -13824
  4. package/pdl/domains/Accessibility.pdl +290 -0
  5. package/pdl/domains/Animation.pdl +195 -0
  6. package/pdl/domains/Audits.pdl +755 -0
  7. package/pdl/domains/Autofill.pdl +106 -0
  8. package/pdl/domains/BackgroundService.pdl +77 -0
  9. package/pdl/domains/BluetoothEmulation.pdl +227 -0
  10. package/pdl/domains/Browser.pdl +345 -0
  11. package/pdl/domains/CSS.pdl +996 -0
  12. package/pdl/domains/CacheStorage.pdl +125 -0
  13. package/pdl/domains/Cast.pdl +62 -0
  14. package/pdl/domains/DOM.pdl +932 -0
  15. package/pdl/domains/DOMDebugger.pdl +128 -0
  16. package/pdl/domains/DOMSnapshot.pdl +319 -0
  17. package/pdl/domains/DOMStorage.pdl +72 -0
  18. package/pdl/domains/DeviceAccess.pdl +43 -0
  19. package/pdl/domains/DeviceOrientation.pdl +20 -0
  20. package/pdl/domains/Emulation.pdl +608 -0
  21. package/pdl/domains/EventBreakpoints.pdl +24 -0
  22. package/pdl/domains/Extensions.pdl +72 -0
  23. package/pdl/domains/FedCm.pdl +100 -0
  24. package/pdl/domains/Fetch.pdl +251 -0
  25. package/pdl/domains/FileSystem.pdl +41 -0
  26. package/pdl/domains/HeadlessExperimental.pdl +56 -0
  27. package/pdl/domains/IO.pdl +45 -0
  28. package/pdl/domains/IndexedDB.pdl +226 -0
  29. package/pdl/domains/Input.pdl +336 -0
  30. package/pdl/domains/Inspector.pdl +25 -0
  31. package/pdl/domains/LayerTree.pdl +178 -0
  32. package/pdl/domains/Log.pdl +93 -0
  33. package/pdl/domains/Media.pdl +106 -0
  34. package/pdl/domains/Memory.pdl +112 -0
  35. package/pdl/domains/Network.pdl +2039 -0
  36. package/pdl/domains/Overlay.pdl +498 -0
  37. package/pdl/domains/PWA.pdl +142 -0
  38. package/pdl/domains/Page.pdl +1767 -0
  39. package/pdl/domains/Performance.pdl +54 -0
  40. package/pdl/domains/PerformanceTimeline.pdl +71 -0
  41. package/pdl/domains/Preload.pdl +290 -0
  42. package/pdl/domains/Security.pdl +196 -0
  43. package/pdl/domains/ServiceWorker.pdl +121 -0
  44. package/pdl/domains/Storage.pdl +913 -0
  45. package/pdl/domains/SystemInfo.pdl +145 -0
  46. package/pdl/domains/Target.pdl +325 -0
  47. package/pdl/domains/Tethering.pdl +28 -0
  48. package/pdl/domains/Tracing.pdl +157 -0
  49. package/pdl/domains/WebAudio.pdl +205 -0
  50. package/pdl/domains/WebAuthn.pdl +230 -0
  51. package/types/protocol-mapping.d.ts +659 -635
  52. package/types/protocol-proxy-api.d.ts +543 -522
  53. package/types/protocol-tests-proxy-api.d.ts +628 -607
  54. package/types/protocol.d.ts +8064 -7914
@@ -0,0 +1,755 @@
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
+ # Audits domain allows investigation of page violations and possible improvements.
8
+ experimental domain Audits
9
+ depends on Network
10
+
11
+ # Information about a cookie that is affected by an inspector issue.
12
+ type AffectedCookie extends object
13
+ properties
14
+ # The following three properties uniquely identify a cookie
15
+ string name
16
+ string path
17
+ string domain
18
+
19
+ # Information about a request that is affected by an inspector issue.
20
+ type AffectedRequest extends object
21
+ properties
22
+ # The unique request id.
23
+ optional Network.RequestId requestId
24
+ string url
25
+
26
+ # Information about the frame affected by an inspector issue.
27
+ type AffectedFrame extends object
28
+ properties
29
+ Page.FrameId frameId
30
+
31
+ type CookieExclusionReason extends string
32
+ enum
33
+ ExcludeSameSiteUnspecifiedTreatedAsLax
34
+ ExcludeSameSiteNoneInsecure
35
+ ExcludeSameSiteLax
36
+ ExcludeSameSiteStrict
37
+ ExcludeInvalidSameParty
38
+ ExcludeSamePartyCrossPartyContext
39
+ ExcludeDomainNonASCII
40
+ ExcludeThirdPartyCookieBlockedInFirstPartySet
41
+ ExcludeThirdPartyPhaseout
42
+ ExcludePortMismatch
43
+ ExcludeSchemeMismatch
44
+
45
+ type CookieWarningReason extends string
46
+ enum
47
+ WarnSameSiteUnspecifiedCrossSiteContext
48
+ WarnSameSiteNoneInsecure
49
+ WarnSameSiteUnspecifiedLaxAllowUnsafe
50
+ WarnSameSiteStrictLaxDowngradeStrict
51
+ WarnSameSiteStrictCrossDowngradeStrict
52
+ WarnSameSiteStrictCrossDowngradeLax
53
+ WarnSameSiteLaxCrossDowngradeStrict
54
+ WarnSameSiteLaxCrossDowngradeLax
55
+ WarnAttributeValueExceedsMaxSize
56
+ WarnDomainNonASCII
57
+ WarnThirdPartyPhaseout
58
+ WarnCrossSiteRedirectDowngradeChangesInclusion
59
+ WarnDeprecationTrialMetadata
60
+ WarnThirdPartyCookieHeuristic
61
+
62
+ type CookieOperation extends string
63
+ enum
64
+ SetCookie
65
+ ReadCookie
66
+
67
+ # Represents the category of insight that a cookie issue falls under.
68
+ type InsightType extends string
69
+ enum
70
+ # Cookie domain has an entry in third-party cookie migration readiness
71
+ # list:
72
+ # https://github.com/privacysandbox/privacy-sandbox-dev-support/blob/main/3pc-migration-readiness.md
73
+ GitHubResource
74
+ # Cookie is exempted due to a grace period:
75
+ # https://developers.google.com/privacy-sandbox/cookies/temporary-exceptions/grace-period
76
+ GracePeriod
77
+ # Cookie is exempted due a heuristics-based exemptiuon:
78
+ # https://developers.google.com/privacy-sandbox/cookies/temporary-exceptions/heuristics-based-exception
79
+ Heuristics
80
+
81
+ # Information about the suggested solution to a cookie issue.
82
+ type CookieIssueInsight extends object
83
+ properties
84
+ InsightType type
85
+ # Link to table entry in third-party cookie migration readiness list.
86
+ optional string tableEntryUrl
87
+
88
+ # This information is currently necessary, as the front-end has a difficult
89
+ # time finding a specific cookie. With this, we can convey specific error
90
+ # information without the cookie.
91
+ type CookieIssueDetails extends object
92
+ properties
93
+ # If AffectedCookie is not set then rawCookieLine contains the raw
94
+ # Set-Cookie header string. This hints at a problem where the
95
+ # cookie line is syntactically or semantically malformed in a way
96
+ # that no valid cookie could be created.
97
+ optional AffectedCookie cookie
98
+ optional string rawCookieLine
99
+ array of CookieWarningReason cookieWarningReasons
100
+ array of CookieExclusionReason cookieExclusionReasons
101
+ # Optionally identifies the site-for-cookies and the cookie url, which
102
+ # may be used by the front-end as additional context.
103
+ CookieOperation operation
104
+ optional string siteForCookies
105
+ optional string cookieUrl
106
+ optional AffectedRequest request
107
+ # The recommended solution to the issue.
108
+ optional CookieIssueInsight insight
109
+
110
+ type MixedContentResolutionStatus extends string
111
+ enum
112
+ MixedContentBlocked
113
+ MixedContentAutomaticallyUpgraded
114
+ MixedContentWarning
115
+
116
+ type MixedContentResourceType extends string
117
+ enum
118
+ AttributionSrc
119
+ Audio
120
+ Beacon
121
+ CSPReport
122
+ Download
123
+ EventSource
124
+ Favicon
125
+ Font
126
+ Form
127
+ Frame
128
+ Image
129
+ Import
130
+ JSON
131
+ Manifest
132
+ Ping
133
+ PluginData
134
+ PluginResource
135
+ Prefetch
136
+ Resource
137
+ Script
138
+ ServiceWorker
139
+ SharedWorker
140
+ SpeculationRules
141
+ Stylesheet
142
+ Track
143
+ Video
144
+ Worker
145
+ XMLHttpRequest
146
+ XSLT
147
+
148
+ type MixedContentIssueDetails extends object
149
+ properties
150
+ # The type of resource causing the mixed content issue (css, js, iframe,
151
+ # form,...). Marked as optional because it is mapped to from
152
+ # blink::mojom::RequestContextType, which will be replaced
153
+ # by network::mojom::RequestDestination
154
+ optional MixedContentResourceType resourceType
155
+ # The way the mixed content issue is being resolved.
156
+ MixedContentResolutionStatus resolutionStatus
157
+ # The unsafe http url causing the mixed content issue.
158
+ string insecureURL
159
+ # The url responsible for the call to an unsafe url.
160
+ string mainResourceURL
161
+ # The mixed content request.
162
+ # Does not always exist (e.g. for unsafe form submission urls).
163
+ optional AffectedRequest request
164
+ # Optional because not every mixed content issue is necessarily linked to a frame.
165
+ optional AffectedFrame frame
166
+
167
+ # Enum indicating the reason a response has been blocked. These reasons are
168
+ # refinements of the net error BLOCKED_BY_RESPONSE.
169
+ type BlockedByResponseReason extends string
170
+ enum
171
+ CoepFrameResourceNeedsCoepHeader
172
+ CoopSandboxedIFrameCannotNavigateToCoopPage
173
+ CorpNotSameOrigin
174
+ CorpNotSameOriginAfterDefaultedToSameOriginByCoep
175
+ CorpNotSameOriginAfterDefaultedToSameOriginByDip
176
+ CorpNotSameOriginAfterDefaultedToSameOriginByCoepAndDip
177
+ CorpNotSameSite
178
+ SRIMessageSignatureMismatch
179
+
180
+ # Details for a request that has been blocked with the BLOCKED_BY_RESPONSE
181
+ # code. Currently only used for COEP/COOP, but may be extended to include
182
+ # some CSP errors in the future.
183
+ type BlockedByResponseIssueDetails extends object
184
+ properties
185
+ AffectedRequest request
186
+ optional AffectedFrame parentFrame
187
+ optional AffectedFrame blockedFrame
188
+ BlockedByResponseReason reason
189
+
190
+ type HeavyAdResolutionStatus extends string
191
+ enum
192
+ HeavyAdBlocked
193
+ HeavyAdWarning
194
+
195
+ type HeavyAdReason extends string
196
+ enum
197
+ NetworkTotalLimit
198
+ CpuTotalLimit
199
+ CpuPeakLimit
200
+
201
+ type HeavyAdIssueDetails extends object
202
+ properties
203
+ # The resolution status, either blocking the content or warning.
204
+ HeavyAdResolutionStatus resolution
205
+ # The reason the ad was blocked, total network or cpu or peak cpu.
206
+ HeavyAdReason reason
207
+ # The frame that was blocked.
208
+ AffectedFrame frame
209
+
210
+ type ContentSecurityPolicyViolationType extends string
211
+ enum
212
+ kInlineViolation
213
+ kEvalViolation
214
+ kURLViolation
215
+ kSRIViolation
216
+ kTrustedTypesSinkViolation
217
+ kTrustedTypesPolicyViolation
218
+ kWasmEvalViolation
219
+
220
+ type SourceCodeLocation extends object
221
+ properties
222
+ optional Runtime.ScriptId scriptId
223
+ string url
224
+ integer lineNumber
225
+ integer columnNumber
226
+
227
+ type ContentSecurityPolicyIssueDetails extends object
228
+ properties
229
+ # The url not included in allowed sources.
230
+ optional string blockedURL
231
+ # Specific directive that is violated, causing the CSP issue.
232
+ string violatedDirective
233
+ boolean isReportOnly
234
+ ContentSecurityPolicyViolationType contentSecurityPolicyViolationType
235
+ optional AffectedFrame frameAncestor
236
+ optional SourceCodeLocation sourceCodeLocation
237
+ optional DOM.BackendNodeId violatingNodeId
238
+
239
+ type SharedArrayBufferIssueType extends string
240
+ enum
241
+ TransferIssue
242
+ CreationIssue
243
+
244
+ # Details for a issue arising from an SAB being instantiated in, or
245
+ # transferred to a context that is not cross-origin isolated.
246
+ type SharedArrayBufferIssueDetails extends object
247
+ properties
248
+ SourceCodeLocation sourceCodeLocation
249
+ boolean isWarning
250
+ SharedArrayBufferIssueType type
251
+
252
+ type LowTextContrastIssueDetails extends object
253
+ properties
254
+ DOM.BackendNodeId violatingNodeId
255
+ string violatingNodeSelector
256
+ number contrastRatio
257
+ number thresholdAA
258
+ number thresholdAAA
259
+ string fontSize
260
+ string fontWeight
261
+
262
+ # Details for a CORS related issue, e.g. a warning or error related to
263
+ # CORS RFC1918 enforcement.
264
+ type CorsIssueDetails extends object
265
+ properties
266
+ Network.CorsErrorStatus corsErrorStatus
267
+ boolean isWarning
268
+ AffectedRequest request
269
+ optional SourceCodeLocation location
270
+ optional string initiatorOrigin
271
+ optional Network.IPAddressSpace resourceIPAddressSpace
272
+ optional Network.ClientSecurityState clientSecurityState
273
+
274
+ type AttributionReportingIssueType extends string
275
+ enum
276
+ PermissionPolicyDisabled
277
+ UntrustworthyReportingOrigin
278
+ InsecureContext
279
+ # TODO(apaseltiner): Rename this to InvalidRegisterSourceHeader
280
+ InvalidHeader
281
+ InvalidRegisterTriggerHeader
282
+ SourceAndTriggerHeaders
283
+ SourceIgnored
284
+ TriggerIgnored
285
+ OsSourceIgnored
286
+ OsTriggerIgnored
287
+ InvalidRegisterOsSourceHeader
288
+ InvalidRegisterOsTriggerHeader
289
+ WebAndOsHeaders
290
+ NoWebOrOsSupport
291
+ NavigationRegistrationWithoutTransientUserActivation
292
+ InvalidInfoHeader
293
+ NoRegisterSourceHeader
294
+ NoRegisterTriggerHeader
295
+ NoRegisterOsSourceHeader
296
+ NoRegisterOsTriggerHeader
297
+ NavigationRegistrationUniqueScopeAlreadySet
298
+
299
+ type SharedDictionaryError extends string
300
+ enum
301
+ UseErrorCrossOriginNoCorsRequest
302
+ UseErrorDictionaryLoadFailure
303
+ UseErrorMatchingDictionaryNotUsed
304
+ UseErrorUnexpectedContentDictionaryHeader
305
+ WriteErrorCossOriginNoCorsRequest
306
+ WriteErrorDisallowedBySettings
307
+ WriteErrorExpiredResponse
308
+ WriteErrorFeatureDisabled
309
+ WriteErrorInsufficientResources
310
+ WriteErrorInvalidMatchField
311
+ WriteErrorInvalidStructuredHeader
312
+ WriteErrorNavigationRequest
313
+ WriteErrorNoMatchField
314
+ WriteErrorNonListMatchDestField
315
+ WriteErrorNonSecureContext
316
+ WriteErrorNonStringIdField
317
+ WriteErrorNonStringInMatchDestList
318
+ WriteErrorNonStringMatchField
319
+ WriteErrorNonTokenTypeField
320
+ WriteErrorRequestAborted
321
+ WriteErrorShuttingDown
322
+ WriteErrorTooLongIdField
323
+ WriteErrorUnsupportedType
324
+
325
+ type SRIMessageSignatureError extends string
326
+ enum
327
+ MissingSignatureHeader
328
+ MissingSignatureInputHeader
329
+ InvalidSignatureHeader
330
+ InvalidSignatureInputHeader
331
+ SignatureHeaderValueIsNotByteSequence
332
+ SignatureHeaderValueIsParameterized
333
+ SignatureHeaderValueIsIncorrectLength
334
+ SignatureInputHeaderMissingLabel
335
+ SignatureInputHeaderValueNotInnerList
336
+ SignatureInputHeaderValueMissingComponents
337
+ SignatureInputHeaderInvalidComponentType
338
+ SignatureInputHeaderInvalidComponentName
339
+ SignatureInputHeaderInvalidHeaderComponentParameter
340
+ SignatureInputHeaderInvalidDerivedComponentParameter
341
+ SignatureInputHeaderKeyIdLength
342
+ SignatureInputHeaderInvalidParameter
343
+ SignatureInputHeaderMissingRequiredParameters
344
+ ValidationFailedSignatureExpired
345
+ ValidationFailedInvalidLength
346
+ ValidationFailedSignatureMismatch
347
+ ValidationFailedIntegrityMismatch
348
+
349
+ type UnencodedDigestError extends string
350
+ enum
351
+ MalformedDictionary
352
+ UnknownAlgorithm
353
+ IncorrectDigestType
354
+ IncorrectDigestLength
355
+
356
+ # Details for issues around "Attribution Reporting API" usage.
357
+ # Explainer: https://github.com/WICG/attribution-reporting-api
358
+ type AttributionReportingIssueDetails extends object
359
+ properties
360
+ AttributionReportingIssueType violationType
361
+ optional AffectedRequest request
362
+ optional DOM.BackendNodeId violatingNodeId
363
+ optional string invalidParameter
364
+
365
+ # Details for issues about documents in Quirks Mode
366
+ # or Limited Quirks Mode that affects page layouting.
367
+ type QuirksModeIssueDetails extends object
368
+ properties
369
+ # If false, it means the document's mode is "quirks"
370
+ # instead of "limited-quirks".
371
+ boolean isLimitedQuirksMode
372
+ DOM.BackendNodeId documentNodeId
373
+ string url
374
+ Page.FrameId frameId
375
+ Network.LoaderId loaderId
376
+
377
+ deprecated type NavigatorUserAgentIssueDetails extends object
378
+ properties
379
+ string url
380
+ optional SourceCodeLocation location
381
+
382
+ type SharedDictionaryIssueDetails extends object
383
+ properties
384
+ SharedDictionaryError sharedDictionaryError
385
+ AffectedRequest request
386
+
387
+ type SRIMessageSignatureIssueDetails extends object
388
+ properties
389
+ SRIMessageSignatureError error
390
+ string signatureBase
391
+ array of string integrityAssertions
392
+ AffectedRequest request
393
+
394
+ type UnencodedDigestIssueDetails extends object
395
+ properties
396
+ UnencodedDigestError error
397
+ AffectedRequest request
398
+
399
+ type GenericIssueErrorType extends string
400
+ enum
401
+ FormLabelForNameError
402
+ FormDuplicateIdForInputError
403
+ FormInputWithNoLabelError
404
+ FormAutocompleteAttributeEmptyError
405
+ FormEmptyIdAndNameAttributesForInputError
406
+ FormAriaLabelledByToNonExistingId
407
+ FormInputAssignedAutocompleteValueToIdOrNameAttributeError
408
+ FormLabelHasNeitherForNorNestedInput
409
+ FormLabelForMatchesNonExistingIdError
410
+ FormInputHasWrongButWellIntendedAutocompleteValueError
411
+ ResponseWasBlockedByORB
412
+
413
+ # Depending on the concrete errorType, different properties are set.
414
+ type GenericIssueDetails extends object
415
+ properties
416
+ # Issues with the same errorType are aggregated in the frontend.
417
+ GenericIssueErrorType errorType
418
+ optional Page.FrameId frameId
419
+ optional DOM.BackendNodeId violatingNodeId
420
+ optional string violatingNodeAttribute
421
+ optional AffectedRequest request
422
+
423
+ # This issue tracks information needed to print a deprecation message.
424
+ # https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/frame/third_party/blink/renderer/core/frame/deprecation/README.md
425
+ type DeprecationIssueDetails extends object
426
+ properties
427
+ optional AffectedFrame affectedFrame
428
+ SourceCodeLocation sourceCodeLocation
429
+ # One of the deprecation names from third_party/blink/renderer/core/frame/deprecation/deprecation.json5
430
+ string type
431
+
432
+ # This issue warns about sites in the redirect chain of a finished navigation
433
+ # that may be flagged as trackers and have their state cleared if they don't
434
+ # receive a user interaction. Note that in this context 'site' means eTLD+1.
435
+ # For example, if the URL `https://example.test:80/bounce` was in the
436
+ # redirect chain, the site reported would be `example.test`.
437
+ type BounceTrackingIssueDetails extends object
438
+ properties
439
+ array of string trackingSites
440
+
441
+ # This issue warns about third-party sites that are accessing cookies on the
442
+ # current page, and have been permitted due to having a global metadata grant.
443
+ # Note that in this context 'site' means eTLD+1. For example, if the URL
444
+ # `https://example.test:80/web_page` was accessing cookies, the site reported
445
+ # would be `example.test`.
446
+ type CookieDeprecationMetadataIssueDetails extends object
447
+ properties
448
+ array of string allowedSites
449
+ number optOutPercentage
450
+ boolean isOptOutTopLevel
451
+ CookieOperation operation
452
+
453
+ type ClientHintIssueReason extends string
454
+ enum
455
+ # Items in the accept-ch meta tag allow list must be valid origins.
456
+ # No special values (e.g. self, none, and *) are permitted.
457
+ MetaTagAllowListInvalidOrigin
458
+ # Only accept-ch meta tags in the original HTML sent from the server
459
+ # are respected. Any injected via javascript (or other means) are ignored.
460
+ MetaTagModifiedHTML
461
+
462
+ type FederatedAuthRequestIssueDetails extends object
463
+ properties
464
+ FederatedAuthRequestIssueReason federatedAuthRequestIssueReason
465
+
466
+ # Represents the failure reason when a federated authentication reason fails.
467
+ # Should be updated alongside RequestIdTokenStatus in
468
+ # third_party/blink/public/mojom/devtools/inspector_issue.mojom to include
469
+ # all cases except for success.
470
+ type FederatedAuthRequestIssueReason extends string
471
+ enum
472
+ ShouldEmbargo
473
+ TooManyRequests
474
+ WellKnownHttpNotFound
475
+ WellKnownNoResponse
476
+ WellKnownInvalidResponse
477
+ WellKnownListEmpty
478
+ WellKnownInvalidContentType
479
+ ConfigNotInWellKnown
480
+ WellKnownTooBig
481
+ ConfigHttpNotFound
482
+ ConfigNoResponse
483
+ ConfigInvalidResponse
484
+ ConfigInvalidContentType
485
+ ClientMetadataHttpNotFound
486
+ ClientMetadataNoResponse
487
+ ClientMetadataInvalidResponse
488
+ ClientMetadataInvalidContentType
489
+ IdpNotPotentiallyTrustworthy
490
+ DisabledInSettings
491
+ DisabledInFlags
492
+ ErrorFetchingSignin
493
+ InvalidSigninResponse
494
+ AccountsHttpNotFound
495
+ AccountsNoResponse
496
+ AccountsInvalidResponse
497
+ AccountsListEmpty
498
+ AccountsInvalidContentType
499
+ IdTokenHttpNotFound
500
+ IdTokenNoResponse
501
+ IdTokenInvalidResponse
502
+ IdTokenIdpErrorResponse
503
+ IdTokenCrossSiteIdpErrorResponse
504
+ IdTokenInvalidRequest
505
+ IdTokenInvalidContentType
506
+ ErrorIdToken
507
+ Canceled
508
+ RpPageNotVisible
509
+ SilentMediationFailure
510
+ ThirdPartyCookiesBlocked
511
+ NotSignedInWithIdp
512
+ MissingTransientUserActivation
513
+ ReplacedByActiveMode
514
+ InvalidFieldsSpecified
515
+ RelyingPartyOriginIsOpaque
516
+ TypeNotMatching
517
+ UiDismissedNoEmbargo
518
+ CorsError
519
+ SuppressedBySegmentationPlatform
520
+
521
+ type FederatedAuthUserInfoRequestIssueDetails extends object
522
+ properties
523
+ FederatedAuthUserInfoRequestIssueReason federatedAuthUserInfoRequestIssueReason
524
+
525
+ # Represents the failure reason when a getUserInfo() call fails.
526
+ # Should be updated alongside FederatedAuthUserInfoRequestResult in
527
+ # third_party/blink/public/mojom/devtools/inspector_issue.mojom.
528
+ type FederatedAuthUserInfoRequestIssueReason extends string
529
+ enum
530
+ NotSameOrigin
531
+ NotIframe
532
+ NotPotentiallyTrustworthy
533
+ NoApiPermission
534
+ NotSignedInWithIdp
535
+ NoAccountSharingPermission
536
+ InvalidConfigOrWellKnown
537
+ InvalidAccountsResponse
538
+ NoReturningUserFromFetchedAccounts
539
+
540
+ # This issue tracks client hints related issues. It's used to deprecate old
541
+ # features, encourage the use of new ones, and provide general guidance.
542
+ type ClientHintIssueDetails extends object
543
+ properties
544
+ SourceCodeLocation sourceCodeLocation
545
+ ClientHintIssueReason clientHintIssueReason
546
+
547
+ type FailedRequestInfo extends object
548
+ properties
549
+ # The URL that failed to load.
550
+ string url
551
+ # The failure message for the failed request.
552
+ string failureMessage
553
+ optional Network.RequestId requestId
554
+
555
+ type PartitioningBlobURLInfo extends string
556
+ enum
557
+ BlockedCrossPartitionFetching
558
+ EnforceNoopenerForNavigation
559
+
560
+ type PartitioningBlobURLIssueDetails extends object
561
+ properties
562
+ # The BlobURL that failed to load.
563
+ string url
564
+ # Additional information about the Partitioning Blob URL issue.
565
+ PartitioningBlobURLInfo partitioningBlobURLInfo
566
+
567
+ type ElementAccessibilityIssueReason extends string
568
+ enum
569
+ DisallowedSelectChild
570
+ DisallowedOptGroupChild
571
+ NonPhrasingContentOptionChild
572
+ InteractiveContentOptionChild
573
+ InteractiveContentLegendChild
574
+ InteractiveContentSummaryDescendant
575
+
576
+ # This issue warns about errors in the select or summary element content model.
577
+ type ElementAccessibilityIssueDetails extends object
578
+ properties
579
+ DOM.BackendNodeId nodeId
580
+ ElementAccessibilityIssueReason elementAccessibilityIssueReason
581
+ boolean hasDisallowedAttributes
582
+
583
+ type StyleSheetLoadingIssueReason extends string
584
+ enum
585
+ LateImportRule
586
+ RequestFailed
587
+
588
+ # This issue warns when a referenced stylesheet couldn't be loaded.
589
+ type StylesheetLoadingIssueDetails extends object
590
+ properties
591
+ # Source code position that referenced the failing stylesheet.
592
+ SourceCodeLocation sourceCodeLocation
593
+ # Reason why the stylesheet couldn't be loaded.
594
+ StyleSheetLoadingIssueReason styleSheetLoadingIssueReason
595
+ # Contains additional info when the failure was due to a request.
596
+ optional FailedRequestInfo failedRequestInfo
597
+
598
+ type PropertyRuleIssueReason extends string
599
+ enum
600
+ InvalidSyntax
601
+ InvalidInitialValue
602
+ InvalidInherits
603
+ InvalidName
604
+
605
+ # This issue warns about errors in property rules that lead to property
606
+ # registrations being ignored.
607
+ type PropertyRuleIssueDetails extends object
608
+ properties
609
+ # Source code position of the property rule.
610
+ SourceCodeLocation sourceCodeLocation
611
+ # Reason why the property rule was discarded.
612
+ PropertyRuleIssueReason propertyRuleIssueReason
613
+ # The value of the property rule property that failed to parse
614
+ optional string propertyValue
615
+
616
+ type UserReidentificationIssueType extends string
617
+ enum
618
+ BlockedFrameNavigation
619
+ BlockedSubresource
620
+ NoisedCanvasReadback
621
+
622
+ # This issue warns about uses of APIs that may be considered misuse to
623
+ # re-identify users.
624
+ type UserReidentificationIssueDetails extends object
625
+ properties
626
+ UserReidentificationIssueType type
627
+ # Applies to BlockedFrameNavigation and BlockedSubresource issue types.
628
+ optional AffectedRequest request
629
+ # Applies to NoisedCanvasReadback issue type.
630
+ optional SourceCodeLocation sourceCodeLocation
631
+
632
+ # A unique identifier for the type of issue. Each type may use one of the
633
+ # optional fields in InspectorIssueDetails to convey more specific
634
+ # information about the kind of issue.
635
+ type InspectorIssueCode extends string
636
+ enum
637
+ CookieIssue
638
+ MixedContentIssue
639
+ BlockedByResponseIssue
640
+ HeavyAdIssue
641
+ ContentSecurityPolicyIssue
642
+ SharedArrayBufferIssue
643
+ LowTextContrastIssue
644
+ CorsIssue
645
+ AttributionReportingIssue
646
+ QuirksModeIssue
647
+ PartitioningBlobURLIssue
648
+ # Deprecated
649
+ NavigatorUserAgentIssue
650
+ GenericIssue
651
+ DeprecationIssue
652
+ ClientHintIssue
653
+ FederatedAuthRequestIssue
654
+ BounceTrackingIssue
655
+ CookieDeprecationMetadataIssue
656
+ StylesheetLoadingIssue
657
+ FederatedAuthUserInfoRequestIssue
658
+ PropertyRuleIssue
659
+ SharedDictionaryIssue
660
+ ElementAccessibilityIssue
661
+ SRIMessageSignatureIssue
662
+ UnencodedDigestIssue
663
+ UserReidentificationIssue
664
+
665
+ # This struct holds a list of optional fields with additional information
666
+ # specific to the kind of issue. When adding a new issue code, please also
667
+ # add a new optional field to this type.
668
+ type InspectorIssueDetails extends object
669
+ properties
670
+ optional CookieIssueDetails cookieIssueDetails
671
+ optional MixedContentIssueDetails mixedContentIssueDetails
672
+ optional BlockedByResponseIssueDetails blockedByResponseIssueDetails
673
+ optional HeavyAdIssueDetails heavyAdIssueDetails
674
+ optional ContentSecurityPolicyIssueDetails contentSecurityPolicyIssueDetails
675
+ optional SharedArrayBufferIssueDetails sharedArrayBufferIssueDetails
676
+ optional LowTextContrastIssueDetails lowTextContrastIssueDetails
677
+ optional CorsIssueDetails corsIssueDetails
678
+ optional AttributionReportingIssueDetails attributionReportingIssueDetails
679
+ optional QuirksModeIssueDetails quirksModeIssueDetails
680
+ optional PartitioningBlobURLIssueDetails partitioningBlobURLIssueDetails
681
+ deprecated optional NavigatorUserAgentIssueDetails navigatorUserAgentIssueDetails
682
+ optional GenericIssueDetails genericIssueDetails
683
+ optional DeprecationIssueDetails deprecationIssueDetails
684
+ optional ClientHintIssueDetails clientHintIssueDetails
685
+ optional FederatedAuthRequestIssueDetails federatedAuthRequestIssueDetails
686
+ optional BounceTrackingIssueDetails bounceTrackingIssueDetails
687
+ optional CookieDeprecationMetadataIssueDetails cookieDeprecationMetadataIssueDetails
688
+ optional StylesheetLoadingIssueDetails stylesheetLoadingIssueDetails
689
+ optional PropertyRuleIssueDetails propertyRuleIssueDetails
690
+ optional FederatedAuthUserInfoRequestIssueDetails federatedAuthUserInfoRequestIssueDetails
691
+ optional SharedDictionaryIssueDetails sharedDictionaryIssueDetails
692
+ optional ElementAccessibilityIssueDetails elementAccessibilityIssueDetails
693
+ optional SRIMessageSignatureIssueDetails sriMessageSignatureIssueDetails
694
+ optional UnencodedDigestIssueDetails unencodedDigestIssueDetails
695
+ optional UserReidentificationIssueDetails userReidentificationIssueDetails
696
+
697
+ # A unique id for a DevTools inspector issue. Allows other entities (e.g.
698
+ # exceptions, CDP message, console messages, etc.) to reference an issue.
699
+ type IssueId extends string
700
+
701
+ # An inspector issue reported from the back-end.
702
+ type InspectorIssue extends object
703
+ properties
704
+ InspectorIssueCode code
705
+ InspectorIssueDetails details
706
+ # A unique id for this issue. May be omitted if no other entity (e.g.
707
+ # exception, CDP message, etc.) is referencing this issue.
708
+ optional IssueId issueId
709
+
710
+ # Returns the response body and size if it were re-encoded with the specified settings. Only
711
+ # applies to images.
712
+ command getEncodedResponse
713
+ parameters
714
+ # Identifier of the network request to get content for.
715
+ Network.RequestId requestId
716
+ # The encoding to use.
717
+ enum encoding
718
+ webp
719
+ jpeg
720
+ png
721
+ # The quality of the encoding (0-1). (defaults to 1)
722
+ optional number quality
723
+ # Whether to only return the size information (defaults to false).
724
+ optional boolean sizeOnly
725
+ returns
726
+ # The encoded body as a base64 string. Omitted if sizeOnly is true.
727
+ optional binary body
728
+ # Size before re-encoding.
729
+ integer originalSize
730
+ # Size after re-encoding.
731
+ integer encodedSize
732
+
733
+ # Disables issues domain, prevents further issues from being reported to the client.
734
+ command disable
735
+
736
+ # Enables issues domain, sends the issues collected so far to the client by means of the
737
+ # `issueAdded` event.
738
+ command enable
739
+
740
+ # Runs the contrast check for the target page. Found issues are reported
741
+ # using Audits.issueAdded event.
742
+ command checkContrast
743
+ parameters
744
+ # Whether to report WCAG AAA level issues. Default is false.
745
+ optional boolean reportAAA
746
+
747
+ # Runs the form issues check for the target page. Found issues are reported
748
+ # using Audits.issueAdded event.
749
+ command checkFormsIssues
750
+ returns
751
+ array of GenericIssueDetails formIssues
752
+
753
+ event issueAdded
754
+ parameters
755
+ InspectorIssue issue