devtools-protocol 0.0.997803 → 0.0.999451
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.
@@ -1605,7 +1605,6 @@
|
|
1605
1605
|
"SharedArrayBufferConstructedWithoutIsolation",
|
1606
1606
|
"TextToSpeech_DisallowedByAutoplay",
|
1607
1607
|
"V8SharedArrayBufferConstructedInExtensionWithoutIsolation",
|
1608
|
-
"WebCodecsVideoFrameDefaultTimestamp",
|
1609
1608
|
"XHRJSONEncodingDetection",
|
1610
1609
|
"XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload",
|
1611
1610
|
"XRSupportsSession"
|
@@ -8387,7 +8386,7 @@
|
|
8387
8386
|
"commands": [
|
8388
8387
|
{
|
8389
8388
|
"name": "beginFrame",
|
8390
|
-
"description": "Sends a BeginFrame to the target and returns when the frame was completed. Optionally captures a\nscreenshot from the resulting frame. Requires that the target was created with enabled\nBeginFrameControl. Designed for use with --run-all-compositor-stages-before-draw, see also\nhttps://goo.
|
8389
|
+
"description": "Sends a BeginFrame to the target and returns when the frame was completed. Optionally captures a\nscreenshot from the resulting frame. Requires that the target was created with enabled\nBeginFrameControl. Designed for use with --run-all-compositor-stages-before-draw, see also\nhttps://goo.gle/chrome-headless-rendering for more background.",
|
8391
8390
|
"parameters": [
|
8392
8391
|
{
|
8393
8392
|
"name": "frameTimeTicks",
|
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
@@ -2,7 +2,7 @@
|
|
2
2
|
# Use of this source code is governed by a BSD-style license that can be
|
3
3
|
# found in the LICENSE file.
|
4
4
|
#
|
5
|
-
# Contributing to Chrome DevTools Protocol: https://
|
5
|
+
# Contributing to Chrome DevTools Protocol: https://goo.gle/devtools-contribution-guide-cdp
|
6
6
|
|
7
7
|
version
|
8
8
|
major 1
|
@@ -799,7 +799,6 @@ experimental domain Audits
|
|
799
799
|
SharedArrayBufferConstructedWithoutIsolation
|
800
800
|
TextToSpeech_DisallowedByAutoplay
|
801
801
|
V8SharedArrayBufferConstructedInExtensionWithoutIsolation
|
802
|
-
WebCodecsVideoFrameDefaultTimestamp
|
803
802
|
XHRJSONEncodingDetection
|
804
803
|
XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload
|
805
804
|
XRSupportsSession
|
@@ -3850,7 +3849,7 @@ experimental domain HeadlessExperimental
|
|
3850
3849
|
# Sends a BeginFrame to the target and returns when the frame was completed. Optionally captures a
|
3851
3850
|
# screenshot from the resulting frame. Requires that the target was created with enabled
|
3852
3851
|
# BeginFrameControl. Designed for use with --run-all-compositor-stages-before-draw, see also
|
3853
|
-
# https://goo.
|
3852
|
+
# https://goo.gle/chrome-headless-rendering for more background.
|
3854
3853
|
command beginFrame
|
3855
3854
|
parameters
|
3856
3855
|
# Timestamp of this BeginFrame in Renderer TimeTicks (milliseconds of uptime). If not set,
|
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.
|
@@ -2583,7 +2583,7 @@ export namespace ProtocolMapping {
|
|
2583
2583
|
* Sends a BeginFrame to the target and returns when the frame was completed. Optionally captures a
|
2584
2584
|
* screenshot from the resulting frame. Requires that the target was created with enabled
|
2585
2585
|
* BeginFrameControl. Designed for use with --run-all-compositor-stages-before-draw, see also
|
2586
|
-
* https://goo.
|
2586
|
+
* https://goo.gle/chrome-headless-rendering for more background.
|
2587
2587
|
*/
|
2588
2588
|
'HeadlessExperimental.beginFrame': {
|
2589
2589
|
paramsType: [Protocol.HeadlessExperimental.BeginFrameRequest?];
|
@@ -1804,7 +1804,7 @@ export namespace ProtocolProxyApi {
|
|
1804
1804
|
* Sends a BeginFrame to the target and returns when the frame was completed. Optionally captures a
|
1805
1805
|
* screenshot from the resulting frame. Requires that the target was created with enabled
|
1806
1806
|
* BeginFrameControl. Designed for use with --run-all-compositor-stages-before-draw, see also
|
1807
|
-
* https://goo.
|
1807
|
+
* https://goo.gle/chrome-headless-rendering for more background.
|
1808
1808
|
*/
|
1809
1809
|
beginFrame(params: Protocol.HeadlessExperimental.BeginFrameRequest): Promise<Protocol.HeadlessExperimental.BeginFrameResponse>;
|
1810
1810
|
|
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' | 'SelectionAddRangeIntersect' | 'SharedArrayBufferConstructedWithoutIsolation' | 'TextToSpeech_DisallowedByAutoplay' | 'V8SharedArrayBufferConstructedInExtensionWithoutIsolation' | '
|
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' | 'SelectionAddRangeIntersect' | 'SharedArrayBufferConstructedWithoutIsolation' | 'TextToSpeech_DisallowedByAutoplay' | 'V8SharedArrayBufferConstructedInExtensionWithoutIsolation' | 'XHRJSONEncodingDetection' | 'XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload' | 'XRSupportsSession');
|
3380
3382
|
|
3381
3383
|
/**
|
3382
3384
|
* This issue tracks information needed to print a deprecation message.
|