devtools-protocol 0.0.1594462 → 0.0.1595872

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.
@@ -1471,40 +1471,6 @@
1471
1471
  }
1472
1472
  ]
1473
1473
  },
1474
- {
1475
- "id": "LowTextContrastIssueDetails",
1476
- "type": "object",
1477
- "properties": [
1478
- {
1479
- "name": "violatingNodeId",
1480
- "$ref": "DOM.BackendNodeId"
1481
- },
1482
- {
1483
- "name": "violatingNodeSelector",
1484
- "type": "string"
1485
- },
1486
- {
1487
- "name": "contrastRatio",
1488
- "type": "number"
1489
- },
1490
- {
1491
- "name": "thresholdAA",
1492
- "type": "number"
1493
- },
1494
- {
1495
- "name": "thresholdAAA",
1496
- "type": "number"
1497
- },
1498
- {
1499
- "name": "fontSize",
1500
- "type": "string"
1501
- },
1502
- {
1503
- "name": "fontWeight",
1504
- "type": "string"
1505
- }
1506
- ]
1507
- },
1508
1474
  {
1509
1475
  "id": "CorsIssueDetails",
1510
1476
  "description": "Details for a CORS related issue, e.g. a warning or error related to\nCORS RFC1918 enforcement.",
@@ -2340,7 +2306,6 @@
2340
2306
  "HeavyAdIssue",
2341
2307
  "ContentSecurityPolicyIssue",
2342
2308
  "SharedArrayBufferIssue",
2343
- "LowTextContrastIssue",
2344
2309
  "CorsIssue",
2345
2310
  "AttributionReportingIssue",
2346
2311
  "QuirksModeIssue",
@@ -2401,11 +2366,6 @@
2401
2366
  "optional": true,
2402
2367
  "$ref": "SharedArrayBufferIssueDetails"
2403
2368
  },
2404
- {
2405
- "name": "lowTextContrastIssueDetails",
2406
- "optional": true,
2407
- "$ref": "LowTextContrastIssueDetails"
2408
- },
2409
2369
  {
2410
2370
  "name": "corsIssueDetails",
2411
2371
  "optional": true,
@@ -2611,18 +2571,6 @@
2611
2571
  "name": "enable",
2612
2572
  "description": "Enables issues domain, sends the issues collected so far to the client by means of the\n`issueAdded` event."
2613
2573
  },
2614
- {
2615
- "name": "checkContrast",
2616
- "description": "Runs the contrast check for the target page. Found issues are reported\nusing Audits.issueAdded event.",
2617
- "parameters": [
2618
- {
2619
- "name": "reportAAA",
2620
- "description": "Whether to report WCAG AAA level issues. Default is false.",
2621
- "optional": true,
2622
- "type": "boolean"
2623
- }
2624
- ]
2625
- },
2626
2574
  {
2627
2575
  "name": "checkFormsIssues",
2628
2576
  "description": "Runs the form issues check for the target page. Found issues are reported\nusing Audits.issueAdded event.",
@@ -22960,6 +22908,7 @@
22960
22908
  "BackForwardCacheDisabledForPrerender",
22961
22909
  "UserAgentOverrideDiffers",
22962
22910
  "ForegroundCacheLimit",
22911
+ "ForwardCacheDisabled",
22963
22912
  "BrowsingInstanceNotSwapped",
22964
22913
  "BackForwardCacheDisabledForDelegate",
22965
22914
  "UnloadHandlerExistsInMainFrame",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1594462",
3
+ "version": "0.0.1595872",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -258,16 +258,6 @@ experimental domain Audits
258
258
  boolean isWarning
259
259
  SharedArrayBufferIssueType type
260
260
 
261
- type LowTextContrastIssueDetails extends object
262
- properties
263
- DOM.BackendNodeId violatingNodeId
264
- string violatingNodeSelector
265
- number contrastRatio
266
- number thresholdAA
267
- number thresholdAAA
268
- string fontSize
269
- string fontWeight
270
-
271
261
  # Details for a CORS related issue, e.g. a warning or error related to
272
262
  # CORS RFC1918 enforcement.
273
263
  type CorsIssueDetails extends object
@@ -744,7 +734,6 @@ experimental domain Audits
744
734
  HeavyAdIssue
745
735
  ContentSecurityPolicyIssue
746
736
  SharedArrayBufferIssue
747
- LowTextContrastIssue
748
737
  CorsIssue
749
738
  AttributionReportingIssue
750
739
  QuirksModeIssue
@@ -781,7 +770,6 @@ experimental domain Audits
781
770
  optional HeavyAdIssueDetails heavyAdIssueDetails
782
771
  optional ContentSecurityPolicyIssueDetails contentSecurityPolicyIssueDetails
783
772
  optional SharedArrayBufferIssueDetails sharedArrayBufferIssueDetails
784
- optional LowTextContrastIssueDetails lowTextContrastIssueDetails
785
773
  optional CorsIssueDetails corsIssueDetails
786
774
  optional AttributionReportingIssueDetails attributionReportingIssueDetails
787
775
  optional QuirksModeIssueDetails quirksModeIssueDetails
@@ -849,13 +837,6 @@ experimental domain Audits
849
837
  # `issueAdded` event.
850
838
  command enable
851
839
 
852
- # Runs the contrast check for the target page. Found issues are reported
853
- # using Audits.issueAdded event.
854
- command checkContrast
855
- parameters
856
- # Whether to report WCAG AAA level issues. Default is false.
857
- optional boolean reportAAA
858
-
859
840
  # Runs the form issues check for the target page. Found issues are reported
860
841
  # using Audits.issueAdded event.
861
842
  command checkFormsIssues
@@ -1537,6 +1537,7 @@ domain Page
1537
1537
  BackForwardCacheDisabledForPrerender
1538
1538
  UserAgentOverrideDiffers
1539
1539
  ForegroundCacheLimit
1540
+ ForwardCacheDisabled
1540
1541
  BrowsingInstanceNotSwapped
1541
1542
  BackForwardCacheDisabledForDelegate
1542
1543
  UnloadHandlerExistsInMainFrame
@@ -1872,14 +1872,6 @@ export namespace ProtocolMapping {
1872
1872
  paramsType: [];
1873
1873
  returnType: void;
1874
1874
  };
1875
- /**
1876
- * Runs the contrast check for the target page. Found issues are reported
1877
- * using Audits.issueAdded event.
1878
- */
1879
- 'Audits.checkContrast': {
1880
- paramsType: [Protocol.Audits.CheckContrastRequest?];
1881
- returnType: void;
1882
- };
1883
1875
  /**
1884
1876
  * Runs the form issues check for the target page. Found issues are reported
1885
1877
  * using Audits.issueAdded event.
@@ -843,12 +843,6 @@ export namespace ProtocolProxyApi {
843
843
  */
844
844
  enable(): Promise<void>;
845
845
 
846
- /**
847
- * Runs the contrast check for the target page. Found issues are reported
848
- * using Audits.issueAdded event.
849
- */
850
- checkContrast(params: Protocol.Audits.CheckContrastRequest): Promise<void>;
851
-
852
846
  /**
853
847
  * Runs the form issues check for the target page. Found issues are reported
854
848
  * using Audits.issueAdded event.
@@ -899,12 +899,6 @@ export namespace ProtocolTestsProxyApi {
899
899
  */
900
900
  enable(): Promise<{id: number, result: void, sessionId: string}>;
901
901
 
902
- /**
903
- * Runs the contrast check for the target page. Found issues are reported
904
- * using Audits.issueAdded event.
905
- */
906
- checkContrast(params: Protocol.Audits.CheckContrastRequest): Promise<{id: number, result: void, sessionId: string}>;
907
-
908
902
  /**
909
903
  * Runs the form issues check for the target page. Found issues are reported
910
904
  * using Audits.issueAdded event.
@@ -3624,16 +3624,6 @@ export namespace Protocol {
3624
3624
  type: SharedArrayBufferIssueType;
3625
3625
  }
3626
3626
 
3627
- export interface LowTextContrastIssueDetails {
3628
- violatingNodeId: DOM.BackendNodeId;
3629
- violatingNodeSelector: string;
3630
- contrastRatio: number;
3631
- thresholdAA: number;
3632
- thresholdAAA: number;
3633
- fontSize: string;
3634
- fontWeight: string;
3635
- }
3636
-
3637
3627
  /**
3638
3628
  * Details for a CORS related issue, e.g. a warning or error related to
3639
3629
  * CORS RFC1918 enforcement.
@@ -3998,7 +3988,7 @@ export namespace Protocol {
3998
3988
  * optional fields in InspectorIssueDetails to convey more specific
3999
3989
  * information about the kind of issue.
4000
3990
  */
4001
- export type InspectorIssueCode = ('CookieIssue' | 'MixedContentIssue' | 'BlockedByResponseIssue' | 'HeavyAdIssue' | 'ContentSecurityPolicyIssue' | 'SharedArrayBufferIssue' | 'LowTextContrastIssue' | 'CorsIssue' | 'AttributionReportingIssue' | 'QuirksModeIssue' | 'PartitioningBlobURLIssue' | 'NavigatorUserAgentIssue' | 'GenericIssue' | 'DeprecationIssue' | 'ClientHintIssue' | 'FederatedAuthRequestIssue' | 'BounceTrackingIssue' | 'CookieDeprecationMetadataIssue' | 'StylesheetLoadingIssue' | 'FederatedAuthUserInfoRequestIssue' | 'PropertyRuleIssue' | 'SharedDictionaryIssue' | 'ElementAccessibilityIssue' | 'SRIMessageSignatureIssue' | 'UnencodedDigestIssue' | 'ConnectionAllowlistIssue' | 'UserReidentificationIssue' | 'PermissionElementIssue' | 'PerformanceIssue' | 'SelectivePermissionsInterventionIssue');
3991
+ export type InspectorIssueCode = ('CookieIssue' | 'MixedContentIssue' | 'BlockedByResponseIssue' | 'HeavyAdIssue' | 'ContentSecurityPolicyIssue' | 'SharedArrayBufferIssue' | 'CorsIssue' | 'AttributionReportingIssue' | 'QuirksModeIssue' | 'PartitioningBlobURLIssue' | 'NavigatorUserAgentIssue' | 'GenericIssue' | 'DeprecationIssue' | 'ClientHintIssue' | 'FederatedAuthRequestIssue' | 'BounceTrackingIssue' | 'CookieDeprecationMetadataIssue' | 'StylesheetLoadingIssue' | 'FederatedAuthUserInfoRequestIssue' | 'PropertyRuleIssue' | 'SharedDictionaryIssue' | 'ElementAccessibilityIssue' | 'SRIMessageSignatureIssue' | 'UnencodedDigestIssue' | 'ConnectionAllowlistIssue' | 'UserReidentificationIssue' | 'PermissionElementIssue' | 'PerformanceIssue' | 'SelectivePermissionsInterventionIssue');
4002
3992
 
4003
3993
  /**
4004
3994
  * This struct holds a list of optional fields with additional information
@@ -4012,7 +4002,6 @@ export namespace Protocol {
4012
4002
  heavyAdIssueDetails?: HeavyAdIssueDetails;
4013
4003
  contentSecurityPolicyIssueDetails?: ContentSecurityPolicyIssueDetails;
4014
4004
  sharedArrayBufferIssueDetails?: SharedArrayBufferIssueDetails;
4015
- lowTextContrastIssueDetails?: LowTextContrastIssueDetails;
4016
4005
  corsIssueDetails?: CorsIssueDetails;
4017
4006
  attributionReportingIssueDetails?: AttributionReportingIssueDetails;
4018
4007
  quirksModeIssueDetails?: QuirksModeIssueDetails;
@@ -4100,13 +4089,6 @@ export namespace Protocol {
4100
4089
  encodedSize: integer;
4101
4090
  }
4102
4091
 
4103
- export interface CheckContrastRequest {
4104
- /**
4105
- * Whether to report WCAG AAA level issues. Default is false.
4106
- */
4107
- reportAAA?: boolean;
4108
- }
4109
-
4110
4092
  export interface CheckFormsIssuesResponse {
4111
4093
  formIssues: GenericIssueDetails[];
4112
4094
  }
@@ -17295,7 +17277,7 @@ export namespace Protocol {
17295
17277
  * List of not restored reasons for back-forward cache.
17296
17278
  * @experimental
17297
17279
  */
17298
- export type BackForwardCacheNotRestoredReason = ('NotPrimaryMainFrame' | 'BackForwardCacheDisabled' | 'RelatedActiveContentsExist' | 'HTTPStatusNotOK' | 'SchemeNotHTTPOrHTTPS' | 'Loading' | 'WasGrantedMediaAccess' | 'DisableForRenderFrameHostCalled' | 'DomainNotAllowed' | 'HTTPMethodNotGET' | 'SubframeIsNavigating' | 'Timeout' | 'CacheLimit' | 'JavaScriptExecution' | 'RendererProcessKilled' | 'RendererProcessCrashed' | 'SchedulerTrackedFeatureUsed' | 'ConflictingBrowsingInstance' | 'CacheFlushed' | 'ServiceWorkerVersionActivation' | 'SessionRestored' | 'ServiceWorkerPostMessage' | 'EnteredBackForwardCacheBeforeServiceWorkerHostAdded' | 'RenderFrameHostReused_SameSite' | 'RenderFrameHostReused_CrossSite' | 'ServiceWorkerClaim' | 'IgnoreEventAndEvict' | 'HaveInnerContents' | 'TimeoutPuttingInCache' | 'BackForwardCacheDisabledByLowMemory' | 'BackForwardCacheDisabledByCommandLine' | 'NetworkRequestDatapipeDrainedAsBytesConsumer' | 'NetworkRequestRedirected' | 'NetworkRequestTimeout' | 'NetworkExceedsBufferLimit' | 'NavigationCancelledWhileRestoring' | 'NotMostRecentNavigationEntry' | 'BackForwardCacheDisabledForPrerender' | 'UserAgentOverrideDiffers' | 'ForegroundCacheLimit' | 'BrowsingInstanceNotSwapped' | 'BackForwardCacheDisabledForDelegate' | 'UnloadHandlerExistsInMainFrame' | 'UnloadHandlerExistsInSubFrame' | 'ServiceWorkerUnregistration' | 'CacheControlNoStore' | 'CacheControlNoStoreCookieModified' | 'CacheControlNoStoreHTTPOnlyCookieModified' | 'NoResponseHead' | 'Unknown' | 'ActivationNavigationsDisallowedForBug1234857' | 'ErrorDocument' | 'FencedFramesEmbedder' | 'CookieDisabled' | 'HTTPAuthRequired' | 'CookieFlushed' | 'BroadcastChannelOnMessage' | 'WebViewSettingsChanged' | 'WebViewJavaScriptObjectChanged' | 'WebViewMessageListenerInjected' | 'WebViewSafeBrowsingAllowlistChanged' | 'WebViewDocumentStartJavascriptChanged' | 'WebSocket' | 'WebTransport' | 'WebRTC' | 'MainResourceHasCacheControlNoStore' | 'MainResourceHasCacheControlNoCache' | 'SubresourceHasCacheControlNoStore' | 'SubresourceHasCacheControlNoCache' | 'ContainsPlugins' | 'DocumentLoaded' | 'OutstandingNetworkRequestOthers' | 'RequestedMIDIPermission' | 'RequestedAudioCapturePermission' | 'RequestedVideoCapturePermission' | 'RequestedBackForwardCacheBlockedSensors' | 'RequestedBackgroundWorkPermission' | 'BroadcastChannel' | 'WebXR' | 'SharedWorker' | 'SharedWorkerMessage' | 'SharedWorkerWithNoActiveClient' | 'WebLocks' | 'WebLocksContention' | 'WebHID' | 'WebBluetooth' | 'WebShare' | 'RequestedStorageAccessGrant' | 'WebNfc' | 'OutstandingNetworkRequestFetch' | 'OutstandingNetworkRequestXHR' | 'AppBanner' | 'Printing' | 'WebDatabase' | 'PictureInPicture' | 'SpeechRecognizer' | 'IdleManager' | 'PaymentManager' | 'SpeechSynthesis' | 'KeyboardLock' | 'WebOTPService' | 'OutstandingNetworkRequestDirectSocket' | 'InjectedJavascript' | 'InjectedStyleSheet' | 'KeepaliveRequest' | 'IndexedDBEvent' | 'Dummy' | 'JsNetworkRequestReceivedCacheControlNoStoreResource' | 'WebRTCUsedWithCCNS' | 'WebTransportUsedWithCCNS' | 'WebSocketUsedWithCCNS' | 'SmartCard' | 'LiveMediaStreamTrack' | 'UnloadHandler' | 'ParserAborted' | 'ContentSecurityHandler' | 'ContentWebAuthenticationAPI' | 'ContentFileChooser' | 'ContentSerial' | 'ContentFileSystemAccess' | 'ContentMediaDevicesDispatcherHost' | 'ContentWebBluetooth' | 'ContentWebUSB' | 'ContentMediaSessionService' | 'ContentScreenReader' | 'ContentDiscarded' | 'EmbedderPopupBlockerTabHelper' | 'EmbedderSafeBrowsingTriggeredPopupBlocker' | 'EmbedderSafeBrowsingThreatDetails' | 'EmbedderAppBannerManager' | 'EmbedderDomDistillerViewerSource' | 'EmbedderDomDistillerSelfDeletingRequestDelegate' | 'EmbedderOomInterventionTabHelper' | 'EmbedderOfflinePage' | 'EmbedderChromePasswordManagerClientBindCredentialManager' | 'EmbedderPermissionRequestManager' | 'EmbedderModalDialog' | 'EmbedderExtensions' | 'EmbedderExtensionMessaging' | 'EmbedderExtensionMessagingForOpenPort' | 'EmbedderExtensionSentMessageToCachedFrame' | 'RequestedByWebViewClient' | 'PostMessageByWebViewClient' | 'CacheControlNoStoreDeviceBoundSessionTerminated' | 'CacheLimitPrunedOnModerateMemoryPressure' | 'CacheLimitPrunedOnCriticalMemoryPressure');
17280
+ export type BackForwardCacheNotRestoredReason = ('NotPrimaryMainFrame' | 'BackForwardCacheDisabled' | 'RelatedActiveContentsExist' | 'HTTPStatusNotOK' | 'SchemeNotHTTPOrHTTPS' | 'Loading' | 'WasGrantedMediaAccess' | 'DisableForRenderFrameHostCalled' | 'DomainNotAllowed' | 'HTTPMethodNotGET' | 'SubframeIsNavigating' | 'Timeout' | 'CacheLimit' | 'JavaScriptExecution' | 'RendererProcessKilled' | 'RendererProcessCrashed' | 'SchedulerTrackedFeatureUsed' | 'ConflictingBrowsingInstance' | 'CacheFlushed' | 'ServiceWorkerVersionActivation' | 'SessionRestored' | 'ServiceWorkerPostMessage' | 'EnteredBackForwardCacheBeforeServiceWorkerHostAdded' | 'RenderFrameHostReused_SameSite' | 'RenderFrameHostReused_CrossSite' | 'ServiceWorkerClaim' | 'IgnoreEventAndEvict' | 'HaveInnerContents' | 'TimeoutPuttingInCache' | 'BackForwardCacheDisabledByLowMemory' | 'BackForwardCacheDisabledByCommandLine' | 'NetworkRequestDatapipeDrainedAsBytesConsumer' | 'NetworkRequestRedirected' | 'NetworkRequestTimeout' | 'NetworkExceedsBufferLimit' | 'NavigationCancelledWhileRestoring' | 'NotMostRecentNavigationEntry' | 'BackForwardCacheDisabledForPrerender' | 'UserAgentOverrideDiffers' | 'ForegroundCacheLimit' | 'ForwardCacheDisabled' | 'BrowsingInstanceNotSwapped' | 'BackForwardCacheDisabledForDelegate' | 'UnloadHandlerExistsInMainFrame' | 'UnloadHandlerExistsInSubFrame' | 'ServiceWorkerUnregistration' | 'CacheControlNoStore' | 'CacheControlNoStoreCookieModified' | 'CacheControlNoStoreHTTPOnlyCookieModified' | 'NoResponseHead' | 'Unknown' | 'ActivationNavigationsDisallowedForBug1234857' | 'ErrorDocument' | 'FencedFramesEmbedder' | 'CookieDisabled' | 'HTTPAuthRequired' | 'CookieFlushed' | 'BroadcastChannelOnMessage' | 'WebViewSettingsChanged' | 'WebViewJavaScriptObjectChanged' | 'WebViewMessageListenerInjected' | 'WebViewSafeBrowsingAllowlistChanged' | 'WebViewDocumentStartJavascriptChanged' | 'WebSocket' | 'WebTransport' | 'WebRTC' | 'MainResourceHasCacheControlNoStore' | 'MainResourceHasCacheControlNoCache' | 'SubresourceHasCacheControlNoStore' | 'SubresourceHasCacheControlNoCache' | 'ContainsPlugins' | 'DocumentLoaded' | 'OutstandingNetworkRequestOthers' | 'RequestedMIDIPermission' | 'RequestedAudioCapturePermission' | 'RequestedVideoCapturePermission' | 'RequestedBackForwardCacheBlockedSensors' | 'RequestedBackgroundWorkPermission' | 'BroadcastChannel' | 'WebXR' | 'SharedWorker' | 'SharedWorkerMessage' | 'SharedWorkerWithNoActiveClient' | 'WebLocks' | 'WebLocksContention' | 'WebHID' | 'WebBluetooth' | 'WebShare' | 'RequestedStorageAccessGrant' | 'WebNfc' | 'OutstandingNetworkRequestFetch' | 'OutstandingNetworkRequestXHR' | 'AppBanner' | 'Printing' | 'WebDatabase' | 'PictureInPicture' | 'SpeechRecognizer' | 'IdleManager' | 'PaymentManager' | 'SpeechSynthesis' | 'KeyboardLock' | 'WebOTPService' | 'OutstandingNetworkRequestDirectSocket' | 'InjectedJavascript' | 'InjectedStyleSheet' | 'KeepaliveRequest' | 'IndexedDBEvent' | 'Dummy' | 'JsNetworkRequestReceivedCacheControlNoStoreResource' | 'WebRTCUsedWithCCNS' | 'WebTransportUsedWithCCNS' | 'WebSocketUsedWithCCNS' | 'SmartCard' | 'LiveMediaStreamTrack' | 'UnloadHandler' | 'ParserAborted' | 'ContentSecurityHandler' | 'ContentWebAuthenticationAPI' | 'ContentFileChooser' | 'ContentSerial' | 'ContentFileSystemAccess' | 'ContentMediaDevicesDispatcherHost' | 'ContentWebBluetooth' | 'ContentWebUSB' | 'ContentMediaSessionService' | 'ContentScreenReader' | 'ContentDiscarded' | 'EmbedderPopupBlockerTabHelper' | 'EmbedderSafeBrowsingTriggeredPopupBlocker' | 'EmbedderSafeBrowsingThreatDetails' | 'EmbedderAppBannerManager' | 'EmbedderDomDistillerViewerSource' | 'EmbedderDomDistillerSelfDeletingRequestDelegate' | 'EmbedderOomInterventionTabHelper' | 'EmbedderOfflinePage' | 'EmbedderChromePasswordManagerClientBindCredentialManager' | 'EmbedderPermissionRequestManager' | 'EmbedderModalDialog' | 'EmbedderExtensions' | 'EmbedderExtensionMessaging' | 'EmbedderExtensionMessagingForOpenPort' | 'EmbedderExtensionSentMessageToCachedFrame' | 'RequestedByWebViewClient' | 'PostMessageByWebViewClient' | 'CacheControlNoStoreDeviceBoundSessionTerminated' | 'CacheLimitPrunedOnModerateMemoryPressure' | 'CacheLimitPrunedOnCriticalMemoryPressure');
17299
17281
 
17300
17282
  /**
17301
17283
  * Types of not restored reasons for back-forward cache.