devtools-protocol 0.0.998712 → 0.0.1000974
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.
@@ -1601,7 +1601,6 @@
|
|
1601
1601
|
"RTCPeerConnectionSdpSemanticsPlanB",
|
1602
1602
|
"RtcpMuxPolicyNegotiate",
|
1603
1603
|
"RTPDataChannel",
|
1604
|
-
"SelectionAddRangeIntersect",
|
1605
1604
|
"SharedArrayBufferConstructedWithoutIsolation",
|
1606
1605
|
"TextToSpeech_DisallowedByAutoplay",
|
1607
1606
|
"V8SharedArrayBufferConstructedInExtensionWithoutIsolation",
|
@@ -7374,6 +7373,10 @@
|
|
7374
7373
|
"description": "Query and modify DOM storage.",
|
7375
7374
|
"experimental": true,
|
7376
7375
|
"types": [
|
7376
|
+
{
|
7377
|
+
"id": "SerializedStorageKey",
|
7378
|
+
"type": "string"
|
7379
|
+
},
|
7377
7380
|
{
|
7378
7381
|
"id": "StorageId",
|
7379
7382
|
"description": "DOM Storage identifier.",
|
@@ -7382,8 +7385,15 @@
|
|
7382
7385
|
{
|
7383
7386
|
"name": "securityOrigin",
|
7384
7387
|
"description": "Security origin for the storage.",
|
7388
|
+
"optional": true,
|
7385
7389
|
"type": "string"
|
7386
7390
|
},
|
7391
|
+
{
|
7392
|
+
"name": "storageKey",
|
7393
|
+
"description": "Represents a key by which DOM Storage keys its CachedStorageAreas",
|
7394
|
+
"optional": true,
|
7395
|
+
"$ref": "SerializedStorageKey"
|
7396
|
+
},
|
7387
7397
|
{
|
7388
7398
|
"name": "isLocalStorage",
|
7389
7399
|
"description": "Whether the storage is local storage (not session storage).",
|
@@ -7465,6 +7475,21 @@
|
|
7465
7475
|
"type": "string"
|
7466
7476
|
}
|
7467
7477
|
]
|
7478
|
+
},
|
7479
|
+
{
|
7480
|
+
"name": "getStorageKeyForFrame",
|
7481
|
+
"parameters": [
|
7482
|
+
{
|
7483
|
+
"name": "frameId",
|
7484
|
+
"$ref": "Page.FrameId"
|
7485
|
+
}
|
7486
|
+
],
|
7487
|
+
"returns": [
|
7488
|
+
{
|
7489
|
+
"name": "storageKey",
|
7490
|
+
"$ref": "SerializedStorageKey"
|
7491
|
+
}
|
7492
|
+
]
|
7468
7493
|
}
|
7469
7494
|
],
|
7470
7495
|
"events": [
|
@@ -18724,6 +18749,10 @@
|
|
18724
18749
|
"Network"
|
18725
18750
|
],
|
18726
18751
|
"types": [
|
18752
|
+
{
|
18753
|
+
"id": "SerializedStorageKey",
|
18754
|
+
"type": "string"
|
18755
|
+
},
|
18727
18756
|
{
|
18728
18757
|
"id": "StorageType",
|
18729
18758
|
"description": "Enum of possible storage types.",
|
package/json/js_protocol.json
CHANGED
@@ -1175,7 +1175,7 @@
|
|
1175
1175
|
},
|
1176
1176
|
{
|
1177
1177
|
"name": "hash",
|
1178
|
-
"description": "Content hash of the script.",
|
1178
|
+
"description": "Content hash of the script, SHA-256.",
|
1179
1179
|
"type": "string"
|
1180
1180
|
},
|
1181
1181
|
{
|
@@ -1279,7 +1279,7 @@
|
|
1279
1279
|
},
|
1280
1280
|
{
|
1281
1281
|
"name": "hash",
|
1282
|
-
"description": "Content hash of the script.",
|
1282
|
+
"description": "Content hash of the script, SHA-256.",
|
1283
1283
|
"type": "string"
|
1284
1284
|
},
|
1285
1285
|
{
|
@@ -2893,7 +2893,7 @@
|
|
2893
2893
|
},
|
2894
2894
|
{
|
2895
2895
|
"name": "generateWebDriverValue",
|
2896
|
-
"description": "Whether the result should
|
2896
|
+
"description": "Whether the result should contain `webDriverValue`, serialized according to\nhttps://w3c.github.io/webdriver-bidi. This is mutually exclusive with `returnByValue`, but\nresulting `objectId` is still provided.",
|
2897
2897
|
"experimental": true,
|
2898
2898
|
"optional": true,
|
2899
2899
|
"type": "boolean"
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -795,7 +795,6 @@ experimental domain Audits
|
|
795
795
|
RTCPeerConnectionSdpSemanticsPlanB
|
796
796
|
RtcpMuxPolicyNegotiate
|
797
797
|
RTPDataChannel
|
798
|
-
SelectionAddRangeIntersect
|
799
798
|
SharedArrayBufferConstructedWithoutIsolation
|
800
799
|
TextToSpeech_DisallowedByAutoplay
|
801
800
|
V8SharedArrayBufferConstructedInExtensionWithoutIsolation
|
@@ -3400,11 +3399,15 @@ experimental domain DOMSnapshot
|
|
3400
3399
|
# Query and modify DOM storage.
|
3401
3400
|
experimental domain DOMStorage
|
3402
3401
|
|
3402
|
+
type SerializedStorageKey extends string
|
3403
|
+
|
3403
3404
|
# DOM Storage identifier.
|
3404
3405
|
type StorageId extends object
|
3405
3406
|
properties
|
3406
3407
|
# Security origin for the storage.
|
3407
|
-
string securityOrigin
|
3408
|
+
optional string securityOrigin
|
3409
|
+
# Represents a key by which DOM Storage keys its CachedStorageAreas
|
3410
|
+
optional SerializedStorageKey storageKey
|
3408
3411
|
# Whether the storage is local storage (not session storage).
|
3409
3412
|
boolean isLocalStorage
|
3410
3413
|
|
@@ -3438,6 +3441,12 @@ experimental domain DOMStorage
|
|
3438
3441
|
string key
|
3439
3442
|
string value
|
3440
3443
|
|
3444
|
+
command getStorageKeyForFrame
|
3445
|
+
parameters
|
3446
|
+
Page.FrameId frameId
|
3447
|
+
returns
|
3448
|
+
SerializedStorageKey storageKey
|
3449
|
+
|
3441
3450
|
event domStorageItemAdded
|
3442
3451
|
parameters
|
3443
3452
|
StorageId storageId
|
@@ -8804,6 +8813,8 @@ experimental domain Storage
|
|
8804
8813
|
depends on Browser
|
8805
8814
|
depends on Network
|
8806
8815
|
|
8816
|
+
type SerializedStorageKey extends string
|
8817
|
+
|
8807
8818
|
# Enum of possible storage types.
|
8808
8819
|
type StorageType extends string
|
8809
8820
|
enum
|
package/pdl/js_protocol.pdl
CHANGED
@@ -559,7 +559,7 @@ domain Debugger
|
|
559
559
|
integer endColumn
|
560
560
|
# Specifies script creation context.
|
561
561
|
Runtime.ExecutionContextId executionContextId
|
562
|
-
# Content hash of the script.
|
562
|
+
# Content hash of the script, SHA-256.
|
563
563
|
string hash
|
564
564
|
# Embedder-specific auxiliary data.
|
565
565
|
optional object executionContextAuxData
|
@@ -598,7 +598,7 @@ domain Debugger
|
|
598
598
|
integer endColumn
|
599
599
|
# Specifies script creation context.
|
600
600
|
Runtime.ExecutionContextId executionContextId
|
601
|
-
# Content hash of the script.
|
601
|
+
# Content hash of the script, SHA-256.
|
602
602
|
string hash
|
603
603
|
# Embedder-specific auxiliary data.
|
604
604
|
optional object executionContextAuxData
|
@@ -1347,7 +1347,9 @@ domain Runtime
|
|
1347
1347
|
optional string objectGroup
|
1348
1348
|
# Whether to throw an exception if side effect cannot be ruled out during evaluation.
|
1349
1349
|
experimental optional boolean throwOnSideEffect
|
1350
|
-
# Whether the result should
|
1350
|
+
# Whether the result should contain `webDriverValue`, serialized according to
|
1351
|
+
# https://w3c.github.io/webdriver-bidi. This is mutually exclusive with `returnByValue`, but
|
1352
|
+
# resulting `objectId` is still provided.
|
1351
1353
|
experimental optional boolean generateWebDriverValue
|
1352
1354
|
returns
|
1353
1355
|
# Call result.
|
@@ -2352,6 +2352,10 @@ export namespace ProtocolMapping {
|
|
2352
2352
|
paramsType: [Protocol.DOMStorage.SetDOMStorageItemRequest];
|
2353
2353
|
returnType: void;
|
2354
2354
|
};
|
2355
|
+
'DOMStorage.getStorageKeyForFrame': {
|
2356
|
+
paramsType: [Protocol.DOMStorage.GetStorageKeyForFrameRequest];
|
2357
|
+
returnType: Protocol.DOMStorage.GetStorageKeyForFrameResponse;
|
2358
|
+
};
|
2355
2359
|
/**
|
2356
2360
|
* Disables database tracking, prevents database events from being sent to the client.
|
2357
2361
|
*/
|
@@ -1614,6 +1614,8 @@ export namespace ProtocolProxyApi {
|
|
1614
1614
|
|
1615
1615
|
setDOMStorageItem(params: Protocol.DOMStorage.SetDOMStorageItemRequest): Promise<void>;
|
1616
1616
|
|
1617
|
+
getStorageKeyForFrame(params: Protocol.DOMStorage.GetStorageKeyForFrameRequest): Promise<Protocol.DOMStorage.GetStorageKeyForFrameResponse>;
|
1618
|
+
|
1617
1619
|
on(event: 'domStorageItemAdded', listener: (params: Protocol.DOMStorage.DomStorageItemAddedEvent) => void): void;
|
1618
1620
|
|
1619
1621
|
on(event: 'domStorageItemRemoved', listener: (params: Protocol.DOMStorage.DomStorageItemRemovedEvent) => void): void;
|
package/types/protocol.d.ts
CHANGED
@@ -828,7 +828,7 @@ export namespace Protocol {
|
|
828
828
|
*/
|
829
829
|
executionContextId: Runtime.ExecutionContextId;
|
830
830
|
/**
|
831
|
-
* Content hash of the script.
|
831
|
+
* Content hash of the script, SHA-256.
|
832
832
|
*/
|
833
833
|
hash: string;
|
834
834
|
/**
|
@@ -903,7 +903,7 @@ export namespace Protocol {
|
|
903
903
|
*/
|
904
904
|
executionContextId: Runtime.ExecutionContextId;
|
905
905
|
/**
|
906
|
-
* Content hash of the script.
|
906
|
+
* Content hash of the script, SHA-256.
|
907
907
|
*/
|
908
908
|
hash: string;
|
909
909
|
/**
|
@@ -2042,7 +2042,9 @@ export namespace Protocol {
|
|
2042
2042
|
*/
|
2043
2043
|
throwOnSideEffect?: boolean;
|
2044
2044
|
/**
|
2045
|
-
* Whether the result should
|
2045
|
+
* Whether the result should contain `webDriverValue`, serialized according to
|
2046
|
+
* https://w3c.github.io/webdriver-bidi. This is mutually exclusive with `returnByValue`, but
|
2047
|
+
* resulting `objectId` is still provided.
|
2046
2048
|
*/
|
2047
2049
|
generateWebDriverValue?: boolean;
|
2048
2050
|
}
|
@@ -3376,7 +3378,7 @@ export namespace Protocol {
|
|
3376
3378
|
frameId?: Page.FrameId;
|
3377
3379
|
}
|
3378
3380
|
|
3379
|
-
export type DeprecationIssueType = ('AuthorizationCoveredByWildcard' | 'CanRequestURLHTTPContainingNewline' | 'ChromeLoadTimesConnectionInfo' | 'ChromeLoadTimesFirstPaintAfterLoadTime' | 'ChromeLoadTimesWasAlternateProtocolAvailable' | 'CookieWithTruncatingChar' | 'CrossOriginAccessBasedOnDocumentDomain' | 'CrossOriginWindowAlert' | 'CrossOriginWindowConfirm' | 'CSSSelectorInternalMediaControlsOverlayCastButton' | 'CustomCursorIntersectsViewport' | 'DeprecationExample' | 'DocumentDomainSettingWithoutOriginAgentClusterHeader' | 'EventPath' | 'GeolocationInsecureOrigin' | 'GeolocationInsecureOriginDeprecatedNotRemoved' | 'GetUserMediaInsecureOrigin' | 'HostCandidateAttributeGetter' | 'InsecurePrivateNetworkSubresourceRequest' | 'LegacyConstraintGoogCpuOveruseDetection' | 'LegacyConstraintGoogIPv6' | 'LegacyConstraintGoogScreencastMinBitrate' | 'LegacyConstraintGoogSuspendBelowMinBitrate' | 'LocalCSSFileExtensionRejected' | 'MediaElementAudioSourceNode' | 'MediaSourceAbortRemove' | 'MediaSourceDurationTruncatingBuffered' | 'NoSysexWebMIDIWithoutPermission' | 'NotificationInsecureOrigin' | 'NotificationPermissionRequestedIframe' | 'ObsoleteWebRtcCipherSuite' | 'PaymentRequestBasicCard' | 'PaymentRequestShowWithoutGesture' | 'PictureSourceSrc' | 'PrefixedCancelAnimationFrame' | 'PrefixedRequestAnimationFrame' | 'PrefixedStorageInfo' | 'PrefixedVideoDisplayingFullscreen' | 'PrefixedVideoEnterFullscreen' | 'PrefixedVideoEnterFullScreen' | 'PrefixedVideoExitFullscreen' | 'PrefixedVideoExitFullScreen' | 'PrefixedVideoSupportsFullscreen' | 'RangeExpand' | 'RequestedSubresourceWithEmbeddedCredentials' | 'RTCConstraintEnableDtlsSrtpFalse' | 'RTCConstraintEnableDtlsSrtpTrue' | 'RTCPeerConnectionComplexPlanBSdpUsingDefaultSdpSemantics' | 'RTCPeerConnectionLegacyCreateWithMediaConstraints' | 'RTCPeerConnectionSdpSemanticsPlanB' | 'RtcpMuxPolicyNegotiate' | 'RTPDataChannel' | '
|
3381
|
+
export type DeprecationIssueType = ('AuthorizationCoveredByWildcard' | 'CanRequestURLHTTPContainingNewline' | 'ChromeLoadTimesConnectionInfo' | 'ChromeLoadTimesFirstPaintAfterLoadTime' | 'ChromeLoadTimesWasAlternateProtocolAvailable' | 'CookieWithTruncatingChar' | 'CrossOriginAccessBasedOnDocumentDomain' | 'CrossOriginWindowAlert' | 'CrossOriginWindowConfirm' | 'CSSSelectorInternalMediaControlsOverlayCastButton' | 'CustomCursorIntersectsViewport' | 'DeprecationExample' | 'DocumentDomainSettingWithoutOriginAgentClusterHeader' | 'EventPath' | 'GeolocationInsecureOrigin' | 'GeolocationInsecureOriginDeprecatedNotRemoved' | 'GetUserMediaInsecureOrigin' | 'HostCandidateAttributeGetter' | 'InsecurePrivateNetworkSubresourceRequest' | 'LegacyConstraintGoogCpuOveruseDetection' | 'LegacyConstraintGoogIPv6' | 'LegacyConstraintGoogScreencastMinBitrate' | 'LegacyConstraintGoogSuspendBelowMinBitrate' | 'LocalCSSFileExtensionRejected' | 'MediaElementAudioSourceNode' | 'MediaSourceAbortRemove' | 'MediaSourceDurationTruncatingBuffered' | 'NoSysexWebMIDIWithoutPermission' | 'NotificationInsecureOrigin' | 'NotificationPermissionRequestedIframe' | 'ObsoleteWebRtcCipherSuite' | 'PaymentRequestBasicCard' | 'PaymentRequestShowWithoutGesture' | 'PictureSourceSrc' | 'PrefixedCancelAnimationFrame' | 'PrefixedRequestAnimationFrame' | 'PrefixedStorageInfo' | 'PrefixedVideoDisplayingFullscreen' | 'PrefixedVideoEnterFullscreen' | 'PrefixedVideoEnterFullScreen' | 'PrefixedVideoExitFullscreen' | 'PrefixedVideoExitFullScreen' | 'PrefixedVideoSupportsFullscreen' | 'RangeExpand' | 'RequestedSubresourceWithEmbeddedCredentials' | 'RTCConstraintEnableDtlsSrtpFalse' | 'RTCConstraintEnableDtlsSrtpTrue' | 'RTCPeerConnectionComplexPlanBSdpUsingDefaultSdpSemantics' | 'RTCPeerConnectionLegacyCreateWithMediaConstraints' | 'RTCPeerConnectionSdpSemanticsPlanB' | 'RtcpMuxPolicyNegotiate' | 'RTPDataChannel' | 'SharedArrayBufferConstructedWithoutIsolation' | 'TextToSpeech_DisallowedByAutoplay' | 'V8SharedArrayBufferConstructedInExtensionWithoutIsolation' | 'XHRJSONEncodingDetection' | 'XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload' | 'XRSupportsSession');
|
3380
3382
|
|
3381
3383
|
/**
|
3382
3384
|
* This issue tracks information needed to print a deprecation message.
|
@@ -7091,6 +7093,8 @@ export namespace Protocol {
|
|
7091
7093
|
*/
|
7092
7094
|
export namespace DOMStorage {
|
7093
7095
|
|
7096
|
+
export type SerializedStorageKey = string;
|
7097
|
+
|
7094
7098
|
/**
|
7095
7099
|
* DOM Storage identifier.
|
7096
7100
|
*/
|
@@ -7098,7 +7102,11 @@ export namespace Protocol {
|
|
7098
7102
|
/**
|
7099
7103
|
* Security origin for the storage.
|
7100
7104
|
*/
|
7101
|
-
securityOrigin
|
7105
|
+
securityOrigin?: string;
|
7106
|
+
/**
|
7107
|
+
* Represents a key by which DOM Storage keys its CachedStorageAreas
|
7108
|
+
*/
|
7109
|
+
storageKey?: SerializedStorageKey;
|
7102
7110
|
/**
|
7103
7111
|
* Whether the storage is local storage (not session storage).
|
7104
7112
|
*/
|
@@ -7133,6 +7141,14 @@ export namespace Protocol {
|
|
7133
7141
|
value: string;
|
7134
7142
|
}
|
7135
7143
|
|
7144
|
+
export interface GetStorageKeyForFrameRequest {
|
7145
|
+
frameId: Page.FrameId;
|
7146
|
+
}
|
7147
|
+
|
7148
|
+
export interface GetStorageKeyForFrameResponse {
|
7149
|
+
storageKey: SerializedStorageKey;
|
7150
|
+
}
|
7151
|
+
|
7136
7152
|
export interface DomStorageItemAddedEvent {
|
7137
7153
|
storageId: StorageId;
|
7138
7154
|
key: string;
|
@@ -14271,6 +14287,8 @@ export namespace Protocol {
|
|
14271
14287
|
|
14272
14288
|
export namespace Storage {
|
14273
14289
|
|
14290
|
+
export type SerializedStorageKey = string;
|
14291
|
+
|
14274
14292
|
/**
|
14275
14293
|
* Enum of possible storage types.
|
14276
14294
|
*/
|