devtools-protocol 0.0.961751 → 0.0.963409

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.
@@ -1532,28 +1532,6 @@
1532
1532
  }
1533
1533
  ]
1534
1534
  },
1535
- {
1536
- "id": "WasmCrossOriginModuleSharingIssueDetails",
1537
- "type": "object",
1538
- "properties": [
1539
- {
1540
- "name": "wasmModuleUrl",
1541
- "type": "string"
1542
- },
1543
- {
1544
- "name": "sourceOrigin",
1545
- "type": "string"
1546
- },
1547
- {
1548
- "name": "targetOrigin",
1549
- "type": "string"
1550
- },
1551
- {
1552
- "name": "isWarning",
1553
- "type": "boolean"
1554
- }
1555
- ]
1556
- },
1557
1535
  {
1558
1536
  "id": "GenericIssueErrorType",
1559
1537
  "type": "string",
@@ -1645,7 +1623,6 @@
1645
1623
  "AttributionReportingIssue",
1646
1624
  "QuirksModeIssue",
1647
1625
  "NavigatorUserAgentIssue",
1648
- "WasmCrossOriginModuleSharingIssue",
1649
1626
  "GenericIssue",
1650
1627
  "DeprecationIssue",
1651
1628
  "ClientHintIssue"
@@ -1716,11 +1693,6 @@
1716
1693
  "optional": true,
1717
1694
  "$ref": "NavigatorUserAgentIssueDetails"
1718
1695
  },
1719
- {
1720
- "name": "wasmCrossOriginModuleSharingIssue",
1721
- "optional": true,
1722
- "$ref": "WasmCrossOriginModuleSharingIssueDetails"
1723
- },
1724
1696
  {
1725
1697
  "name": "genericIssueDetails",
1726
1698
  "optional": true,
@@ -4872,7 +4844,20 @@
4872
4844
  },
4873
4845
  {
4874
4846
  "name": "enable",
4875
- "description": "Enables DOM agent for the given page."
4847
+ "description": "Enables DOM agent for the given page.",
4848
+ "parameters": [
4849
+ {
4850
+ "name": "includeWhitespace",
4851
+ "description": "Whether to include whitespaces in the children array of returned Nodes.",
4852
+ "experimental": true,
4853
+ "optional": true,
4854
+ "type": "string",
4855
+ "enum": [
4856
+ "none",
4857
+ "all"
4858
+ ]
4859
+ }
4860
+ ]
4876
4861
  },
4877
4862
  {
4878
4863
  "name": "focus",
@@ -8986,7 +8971,7 @@
8986
8971
  },
8987
8972
  {
8988
8973
  "name": "commands",
8989
- "description": "Editing commands to send with the key event (e.g., 'selectAll') (default: []).\nThese are related to but not equal the command names used in `document.execCommand` and NSStandardKeyBindingResponding.\nSee https://source.chromium.org/chromium/chromium/src/+/master:third_party/blink/renderer/core/editing/commands/editor_command_names.h for valid command names.",
8974
+ "description": "Editing commands to send with the key event (e.g., 'selectAll') (default: []).\nThese are related to but not equal the command names used in `document.execCommand` and NSStandardKeyBindingResponding.\nSee https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/editing/commands/editor_command_names.h for valid command names.",
8990
8975
  "experimental": true,
8991
8976
  "optional": true,
8992
8977
  "type": "array",
@@ -15594,7 +15579,7 @@
15594
15579
  "experimental": true,
15595
15580
  "type": "string",
15596
15581
  "enum": [
15597
- "NotMainFrame",
15582
+ "NotPrimaryMainFrame",
15598
15583
  "BackForwardCacheDisabled",
15599
15584
  "RelatedActiveContentsExist",
15600
15585
  "HTTPStatusNotOK",
@@ -18517,7 +18502,7 @@
18517
18502
  },
18518
18503
  {
18519
18504
  "name": "expirationTime",
18520
- "type": "number"
18505
+ "$ref": "Network.TimeSinceEpoch"
18521
18506
  },
18522
18507
  {
18523
18508
  "name": "joiningOrigin",
@@ -18870,6 +18855,10 @@
18870
18855
  "name": "interestGroupAccessed",
18871
18856
  "description": "One of the interest groups was accessed by the associated page.",
18872
18857
  "parameters": [
18858
+ {
18859
+ "name": "accessTime",
18860
+ "$ref": "Network.TimeSinceEpoch"
18861
+ },
18873
18862
  {
18874
18863
  "name": "type",
18875
18864
  "$ref": "InterestGroupAccessType"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.961751",
3
+ "version": "0.0.963409",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -736,13 +736,6 @@ experimental domain Audits
736
736
  string url
737
737
  optional SourceCodeLocation location
738
738
 
739
- type WasmCrossOriginModuleSharingIssueDetails extends object
740
- properties
741
- string wasmModuleUrl
742
- string sourceOrigin
743
- string targetOrigin
744
- boolean isWarning
745
-
746
739
  type GenericIssueErrorType extends string
747
740
  enum
748
741
  CrossOriginPortalPostMessageError
@@ -804,7 +797,6 @@ experimental domain Audits
804
797
  AttributionReportingIssue
805
798
  QuirksModeIssue
806
799
  NavigatorUserAgentIssue
807
- WasmCrossOriginModuleSharingIssue
808
800
  GenericIssue
809
801
  DeprecationIssue
810
802
  ClientHintIssue
@@ -826,7 +818,6 @@ experimental domain Audits
826
818
  optional AttributionReportingIssueDetails attributionReportingIssueDetails
827
819
  optional QuirksModeIssueDetails quirksModeIssueDetails
828
820
  optional NavigatorUserAgentIssueDetails navigatorUserAgentIssueDetails
829
- optional WasmCrossOriginModuleSharingIssueDetails wasmCrossOriginModuleSharingIssue
830
821
  optional GenericIssueDetails genericIssueDetails
831
822
  optional DeprecationIssueDetails deprecationIssueDetails
832
823
  optional ClientHintIssueDetails clientHintIssueDetails
@@ -2268,6 +2259,13 @@ domain DOM
2268
2259
 
2269
2260
  # Enables DOM agent for the given page.
2270
2261
  command enable
2262
+ parameters
2263
+ # Whether to include whitespaces in the children array of returned Nodes.
2264
+ experimental optional enum includeWhitespace
2265
+ # Strip whitespaces from child arrays (default).
2266
+ none
2267
+ # Return all children including block-level whitespace nodes.
2268
+ all
2271
2269
 
2272
2270
  # Focuses the given element.
2273
2271
  command focus
@@ -4083,7 +4081,7 @@ domain Input
4083
4081
  optional integer location
4084
4082
  # Editing commands to send with the key event (e.g., 'selectAll') (default: []).
4085
4083
  # These are related to but not equal the command names used in `document.execCommand` and NSStandardKeyBindingResponding.
4086
- # See https://source.chromium.org/chromium/chromium/src/+/master:third_party/blink/renderer/core/editing/commands/editor_command_names.h for valid command names.
4084
+ # See https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/editing/commands/editor_command_names.h for valid command names.
4087
4085
  experimental optional array of string commands
4088
4086
 
4089
4087
  # This method emulates inserting text that doesn't come from a key press,
@@ -7970,7 +7968,7 @@ domain Page
7970
7968
  # List of not restored reasons for back-forward cache.
7971
7969
  experimental type BackForwardCacheNotRestoredReason extends string
7972
7970
  enum
7973
- NotMainFrame
7971
+ NotPrimaryMainFrame
7974
7972
  BackForwardCacheDisabled
7975
7973
  RelatedActiveContentsExist
7976
7974
  HTTPStatusNotOK
@@ -8667,7 +8665,7 @@ experimental domain Storage
8667
8665
  properties
8668
8666
  string ownerOrigin
8669
8667
  string name
8670
- number expirationTime
8668
+ Network.TimeSinceEpoch expirationTime
8671
8669
  string joiningOrigin
8672
8670
  optional string biddingUrl
8673
8671
  optional string biddingWasmHelperUrl
@@ -8823,6 +8821,7 @@ experimental domain Storage
8823
8821
  # One of the interest groups was accessed by the associated page.
8824
8822
  event interestGroupAccessed
8825
8823
  parameters
8824
+ Network.TimeSinceEpoch accessTime
8826
8825
  InterestGroupAccessType type
8827
8826
  string ownerOrigin
8828
8827
  string name
@@ -1866,7 +1866,7 @@ export namespace ProtocolMapping {
1866
1866
  * Enables DOM agent for the given page.
1867
1867
  */
1868
1868
  'DOM.enable': {
1869
- paramsType: [];
1869
+ paramsType: [Protocol.DOM.EnableRequest?];
1870
1870
  returnType: void;
1871
1871
  };
1872
1872
  /**
@@ -1182,7 +1182,7 @@ export namespace ProtocolProxyApi {
1182
1182
  /**
1183
1183
  * Enables DOM agent for the given page.
1184
1184
  */
1185
- enable(): Promise<void>;
1185
+ enable(params: Protocol.DOM.EnableRequest): Promise<void>;
1186
1186
 
1187
1187
  /**
1188
1188
  * Focuses the given element.
@@ -3296,13 +3296,6 @@ export namespace Protocol {
3296
3296
  location?: SourceCodeLocation;
3297
3297
  }
3298
3298
 
3299
- export interface WasmCrossOriginModuleSharingIssueDetails {
3300
- wasmModuleUrl: string;
3301
- sourceOrigin: string;
3302
- targetOrigin: string;
3303
- isWarning: boolean;
3304
- }
3305
-
3306
3299
  export type GenericIssueErrorType = ('CrossOriginPortalPostMessageError');
3307
3300
 
3308
3301
  /**
@@ -3353,7 +3346,7 @@ export namespace Protocol {
3353
3346
  * optional fields in InspectorIssueDetails to convey more specific
3354
3347
  * information about the kind of issue.
3355
3348
  */
3356
- export type InspectorIssueCode = ('SameSiteCookieIssue' | 'MixedContentIssue' | 'BlockedByResponseIssue' | 'HeavyAdIssue' | 'ContentSecurityPolicyIssue' | 'SharedArrayBufferIssue' | 'TrustedWebActivityIssue' | 'LowTextContrastIssue' | 'CorsIssue' | 'AttributionReportingIssue' | 'QuirksModeIssue' | 'NavigatorUserAgentIssue' | 'WasmCrossOriginModuleSharingIssue' | 'GenericIssue' | 'DeprecationIssue' | 'ClientHintIssue');
3349
+ export type InspectorIssueCode = ('SameSiteCookieIssue' | 'MixedContentIssue' | 'BlockedByResponseIssue' | 'HeavyAdIssue' | 'ContentSecurityPolicyIssue' | 'SharedArrayBufferIssue' | 'TrustedWebActivityIssue' | 'LowTextContrastIssue' | 'CorsIssue' | 'AttributionReportingIssue' | 'QuirksModeIssue' | 'NavigatorUserAgentIssue' | 'GenericIssue' | 'DeprecationIssue' | 'ClientHintIssue');
3357
3350
 
3358
3351
  /**
3359
3352
  * This struct holds a list of optional fields with additional information
@@ -3373,7 +3366,6 @@ export namespace Protocol {
3373
3366
  attributionReportingIssueDetails?: AttributionReportingIssueDetails;
3374
3367
  quirksModeIssueDetails?: QuirksModeIssueDetails;
3375
3368
  navigatorUserAgentIssueDetails?: NavigatorUserAgentIssueDetails;
3376
- wasmCrossOriginModuleSharingIssue?: WasmCrossOriginModuleSharingIssueDetails;
3377
3369
  genericIssueDetails?: GenericIssueDetails;
3378
3370
  deprecationIssueDetails?: DeprecationIssueDetails;
3379
3371
  clientHintIssueDetails?: ClientHintIssueDetails;
@@ -5420,6 +5412,18 @@ export namespace Protocol {
5420
5412
  searchId: string;
5421
5413
  }
5422
5414
 
5415
+ export const enum EnableRequestIncludeWhitespace {
5416
+ None = 'none',
5417
+ All = 'all',
5418
+ }
5419
+
5420
+ export interface EnableRequest {
5421
+ /**
5422
+ * Whether to include whitespaces in the children array of returned Nodes. (EnableRequestIncludeWhitespace enum)
5423
+ */
5424
+ includeWhitespace?: ('none' | 'all');
5425
+ }
5426
+
5423
5427
  export interface FocusRequest {
5424
5428
  /**
5425
5429
  * Identifier of the node.
@@ -8076,7 +8080,7 @@ export namespace Protocol {
8076
8080
  /**
8077
8081
  * Editing commands to send with the key event (e.g., 'selectAll') (default: []).
8078
8082
  * These are related to but not equal the command names used in `document.execCommand` and NSStandardKeyBindingResponding.
8079
- * See https://source.chromium.org/chromium/chromium/src/+/master:third_party/blink/renderer/core/editing/commands/editor_command_names.h for valid command names.
8083
+ * See https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/editing/commands/editor_command_names.h for valid command names.
8080
8084
  */
8081
8085
  commands?: string[];
8082
8086
  }
@@ -12384,7 +12388,7 @@ export namespace Protocol {
12384
12388
  /**
12385
12389
  * List of not restored reasons for back-forward cache.
12386
12390
  */
12387
- export type BackForwardCacheNotRestoredReason = ('NotMainFrame' | 'BackForwardCacheDisabled' | 'RelatedActiveContentsExist' | 'HTTPStatusNotOK' | 'SchemeNotHTTPOrHTTPS' | 'Loading' | 'WasGrantedMediaAccess' | 'DisableForRenderFrameHostCalled' | 'DomainNotAllowed' | 'HTTPMethodNotGET' | 'SubframeIsNavigating' | 'Timeout' | 'CacheLimit' | 'JavaScriptExecution' | 'RendererProcessKilled' | 'RendererProcessCrashed' | 'GrantedMediaStreamAccess' | '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' | 'OptInUnloadHeaderNotPresent' | 'UnloadHandlerExistsInMainFrame' | 'UnloadHandlerExistsInSubFrame' | 'ServiceWorkerUnregistration' | 'CacheControlNoStore' | 'CacheControlNoStoreCookieModified' | 'CacheControlNoStoreHTTPOnlyCookieModified' | 'NoResponseHead' | 'Unknown' | 'ActivationNavigationsDisallowedForBug1234857' | 'WebSocket' | 'WebTransport' | 'WebRTC' | 'MainResourceHasCacheControlNoStore' | 'MainResourceHasCacheControlNoCache' | 'SubresourceHasCacheControlNoStore' | 'SubresourceHasCacheControlNoCache' | 'ContainsPlugins' | 'DocumentLoaded' | 'DedicatedWorkerOrWorklet' | 'OutstandingNetworkRequestOthers' | 'OutstandingIndexedDBTransaction' | 'RequestedNotificationsPermission' | 'RequestedMIDIPermission' | 'RequestedAudioCapturePermission' | 'RequestedVideoCapturePermission' | 'RequestedBackForwardCacheBlockedSensors' | 'RequestedBackgroundWorkPermission' | 'BroadcastChannel' | 'IndexedDBConnection' | 'WebXR' | 'SharedWorker' | 'WebLocks' | 'WebHID' | 'WebShare' | 'RequestedStorageAccessGrant' | 'WebNfc' | 'OutstandingNetworkRequestFetch' | 'OutstandingNetworkRequestXHR' | 'AppBanner' | 'Printing' | 'WebDatabase' | 'PictureInPicture' | 'Portal' | 'SpeechRecognizer' | 'IdleManager' | 'PaymentManager' | 'SpeechSynthesis' | 'KeyboardLock' | 'WebOTPService' | 'OutstandingNetworkRequestDirectSocket' | 'InjectedJavascript' | 'InjectedStyleSheet' | 'Dummy' | 'ContentSecurityHandler' | 'ContentWebAuthenticationAPI' | 'ContentFileChooser' | 'ContentSerial' | 'ContentFileSystemAccess' | 'ContentMediaDevicesDispatcherHost' | 'ContentWebBluetooth' | 'ContentWebUSB' | 'ContentMediaSession' | 'ContentMediaSessionService' | 'ContentScreenReader' | 'EmbedderPopupBlockerTabHelper' | 'EmbedderSafeBrowsingTriggeredPopupBlocker' | 'EmbedderSafeBrowsingThreatDetails' | 'EmbedderAppBannerManager' | 'EmbedderDomDistillerViewerSource' | 'EmbedderDomDistillerSelfDeletingRequestDelegate' | 'EmbedderOomInterventionTabHelper' | 'EmbedderOfflinePage' | 'EmbedderChromePasswordManagerClientBindCredentialManager' | 'EmbedderPermissionRequestManager' | 'EmbedderModalDialog' | 'EmbedderExtensions' | 'EmbedderExtensionMessaging' | 'EmbedderExtensionMessagingForOpenPort' | 'EmbedderExtensionSentMessageToCachedFrame');
12391
+ export type BackForwardCacheNotRestoredReason = ('NotPrimaryMainFrame' | 'BackForwardCacheDisabled' | 'RelatedActiveContentsExist' | 'HTTPStatusNotOK' | 'SchemeNotHTTPOrHTTPS' | 'Loading' | 'WasGrantedMediaAccess' | 'DisableForRenderFrameHostCalled' | 'DomainNotAllowed' | 'HTTPMethodNotGET' | 'SubframeIsNavigating' | 'Timeout' | 'CacheLimit' | 'JavaScriptExecution' | 'RendererProcessKilled' | 'RendererProcessCrashed' | 'GrantedMediaStreamAccess' | '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' | 'OptInUnloadHeaderNotPresent' | 'UnloadHandlerExistsInMainFrame' | 'UnloadHandlerExistsInSubFrame' | 'ServiceWorkerUnregistration' | 'CacheControlNoStore' | 'CacheControlNoStoreCookieModified' | 'CacheControlNoStoreHTTPOnlyCookieModified' | 'NoResponseHead' | 'Unknown' | 'ActivationNavigationsDisallowedForBug1234857' | 'WebSocket' | 'WebTransport' | 'WebRTC' | 'MainResourceHasCacheControlNoStore' | 'MainResourceHasCacheControlNoCache' | 'SubresourceHasCacheControlNoStore' | 'SubresourceHasCacheControlNoCache' | 'ContainsPlugins' | 'DocumentLoaded' | 'DedicatedWorkerOrWorklet' | 'OutstandingNetworkRequestOthers' | 'OutstandingIndexedDBTransaction' | 'RequestedNotificationsPermission' | 'RequestedMIDIPermission' | 'RequestedAudioCapturePermission' | 'RequestedVideoCapturePermission' | 'RequestedBackForwardCacheBlockedSensors' | 'RequestedBackgroundWorkPermission' | 'BroadcastChannel' | 'IndexedDBConnection' | 'WebXR' | 'SharedWorker' | 'WebLocks' | 'WebHID' | 'WebShare' | 'RequestedStorageAccessGrant' | 'WebNfc' | 'OutstandingNetworkRequestFetch' | 'OutstandingNetworkRequestXHR' | 'AppBanner' | 'Printing' | 'WebDatabase' | 'PictureInPicture' | 'Portal' | 'SpeechRecognizer' | 'IdleManager' | 'PaymentManager' | 'SpeechSynthesis' | 'KeyboardLock' | 'WebOTPService' | 'OutstandingNetworkRequestDirectSocket' | 'InjectedJavascript' | 'InjectedStyleSheet' | 'Dummy' | 'ContentSecurityHandler' | 'ContentWebAuthenticationAPI' | 'ContentFileChooser' | 'ContentSerial' | 'ContentFileSystemAccess' | 'ContentMediaDevicesDispatcherHost' | 'ContentWebBluetooth' | 'ContentWebUSB' | 'ContentMediaSession' | 'ContentMediaSessionService' | 'ContentScreenReader' | 'EmbedderPopupBlockerTabHelper' | 'EmbedderSafeBrowsingTriggeredPopupBlocker' | 'EmbedderSafeBrowsingThreatDetails' | 'EmbedderAppBannerManager' | 'EmbedderDomDistillerViewerSource' | 'EmbedderDomDistillerSelfDeletingRequestDelegate' | 'EmbedderOomInterventionTabHelper' | 'EmbedderOfflinePage' | 'EmbedderChromePasswordManagerClientBindCredentialManager' | 'EmbedderPermissionRequestManager' | 'EmbedderModalDialog' | 'EmbedderExtensions' | 'EmbedderExtensionMessaging' | 'EmbedderExtensionMessagingForOpenPort' | 'EmbedderExtensionSentMessageToCachedFrame');
12388
12392
 
12389
12393
  /**
12390
12394
  * Types of not restored reasons for back-forward cache.
@@ -14109,7 +14113,7 @@ export namespace Protocol {
14109
14113
  export interface InterestGroupDetails {
14110
14114
  ownerOrigin: string;
14111
14115
  name: string;
14112
- expirationTime: number;
14116
+ expirationTime: Network.TimeSinceEpoch;
14113
14117
  joiningOrigin: string;
14114
14118
  biddingUrl?: string;
14115
14119
  biddingWasmHelperUrl?: string;
@@ -14319,6 +14323,7 @@ export namespace Protocol {
14319
14323
  * One of the interest groups was accessed by the associated page.
14320
14324
  */
14321
14325
  export interface InterestGroupAccessedEvent {
14326
+ accessTime: Network.TimeSinceEpoch;
14322
14327
  type: InterestGroupAccessType;
14323
14328
  ownerOrigin: string;
14324
14329
  name: string;