devtools-protocol 0.0.1249869 → 0.0.1262051
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.
- package/json/browser_protocol.json +252 -13
- package/package.json +1 -1
- package/pdl/browser_protocol.pdl +158 -32
- package/types/protocol-mapping.d.ts +13 -1
- package/types/protocol-proxy-api.d.ts +9 -1
- package/types/protocol-tests-proxy-api.d.ts +9 -1
- package/types/protocol.d.ts +149 -9
package/types/protocol.d.ts
CHANGED
@@ -3010,6 +3010,9 @@ export namespace Protocol {
|
|
3010
3010
|
playbackRate: number;
|
3011
3011
|
/**
|
3012
3012
|
* `Animation`'s start time.
|
3013
|
+
* Milliseconds for time based animations and
|
3014
|
+
* percentage [0 - 100] for scroll driven animations
|
3015
|
+
* (i.e. when viewOrScrollTimeline exists).
|
3013
3016
|
*/
|
3014
3017
|
startTime: number;
|
3015
3018
|
/**
|
@@ -3029,6 +3032,40 @@ export namespace Protocol {
|
|
3029
3032
|
* animation/transition.
|
3030
3033
|
*/
|
3031
3034
|
cssId?: string;
|
3035
|
+
/**
|
3036
|
+
* View or scroll timeline
|
3037
|
+
*/
|
3038
|
+
viewOrScrollTimeline?: ViewOrScrollTimeline;
|
3039
|
+
}
|
3040
|
+
|
3041
|
+
/**
|
3042
|
+
* Timeline instance
|
3043
|
+
*/
|
3044
|
+
export interface ViewOrScrollTimeline {
|
3045
|
+
/**
|
3046
|
+
* Scroll container node
|
3047
|
+
*/
|
3048
|
+
sourceNodeId?: DOM.BackendNodeId;
|
3049
|
+
/**
|
3050
|
+
* Represents the starting scroll position of the timeline
|
3051
|
+
* as a length offset in pixels from scroll origin.
|
3052
|
+
*/
|
3053
|
+
startOffset?: number;
|
3054
|
+
/**
|
3055
|
+
* Represents the ending scroll position of the timeline
|
3056
|
+
* as a length offset in pixels from scroll origin.
|
3057
|
+
*/
|
3058
|
+
endOffset?: number;
|
3059
|
+
/**
|
3060
|
+
* The element whose principal box's visibility in the
|
3061
|
+
* scrollport defined the progress of the timeline.
|
3062
|
+
* Does not exist for animations with ScrollTimeline
|
3063
|
+
*/
|
3064
|
+
subjectNodeId?: DOM.BackendNodeId;
|
3065
|
+
/**
|
3066
|
+
* Orientation of the scroll
|
3067
|
+
*/
|
3068
|
+
axis: DOM.ScrollOrientation;
|
3032
3069
|
}
|
3033
3070
|
|
3034
3071
|
/**
|
@@ -3053,6 +3090,9 @@ export namespace Protocol {
|
|
3053
3090
|
iterations: number;
|
3054
3091
|
/**
|
3055
3092
|
* `AnimationEffect`'s iteration duration.
|
3093
|
+
* Milliseconds for time based animations and
|
3094
|
+
* percentage [0 - 100] for scroll driven animations
|
3095
|
+
* (i.e. when viewOrScrollTimeline exists).
|
3056
3096
|
*/
|
3057
3097
|
duration: number;
|
3058
3098
|
/**
|
@@ -3803,6 +3843,10 @@ export namespace Protocol {
|
|
3803
3843
|
* The filling strategy
|
3804
3844
|
*/
|
3805
3845
|
fillingStrategy: FillingStrategy;
|
3846
|
+
/**
|
3847
|
+
* The frame the field belongs to
|
3848
|
+
*/
|
3849
|
+
frameId: Page.FrameId;
|
3806
3850
|
/**
|
3807
3851
|
* The form field's DOM node
|
3808
3852
|
*/
|
@@ -3973,7 +4017,7 @@ export namespace Protocol {
|
|
3973
4017
|
windowState?: WindowState;
|
3974
4018
|
}
|
3975
4019
|
|
3976
|
-
export type PermissionType = ('accessibilityEvents' | 'audioCapture' | 'backgroundSync' | 'backgroundFetch' | 'capturedSurfaceControl' | 'clipboardReadWrite' | 'clipboardSanitizedWrite' | 'displayCapture' | 'durableStorage' | 'flash' | 'geolocation' | 'idleDetection' | 'localFonts' | 'midi' | 'midiSysex' | 'nfc' | 'notifications' | 'paymentHandler' | 'periodicBackgroundSync' | 'protectedMediaIdentifier' | 'sensors' | 'storageAccess' | 'topLevelStorageAccess' | 'videoCapture' | 'videoCapturePanTiltZoom' | 'wakeLockScreen' | 'wakeLockSystem' | 'windowManagement');
|
4020
|
+
export type PermissionType = ('accessibilityEvents' | 'audioCapture' | 'backgroundSync' | 'backgroundFetch' | 'capturedSurfaceControl' | 'clipboardReadWrite' | 'clipboardSanitizedWrite' | 'displayCapture' | 'durableStorage' | 'flash' | 'geolocation' | 'idleDetection' | 'localFonts' | 'midi' | 'midiSysex' | 'nfc' | 'notifications' | 'paymentHandler' | 'periodicBackgroundSync' | 'protectedMediaIdentifier' | 'sensors' | 'storageAccess' | 'speakerSelection' | 'topLevelStorageAccess' | 'videoCapture' | 'videoCapturePanTiltZoom' | 'wakeLockScreen' | 'wakeLockSystem' | 'windowManagement');
|
3977
4021
|
|
3978
4022
|
export type PermissionSetting = ('granted' | 'denied' | 'prompt');
|
3979
4023
|
|
@@ -5858,6 +5902,11 @@ export namespace Protocol {
|
|
5858
5902
|
*/
|
5859
5903
|
export type LogicalAxes = ('Inline' | 'Block' | 'Both');
|
5860
5904
|
|
5905
|
+
/**
|
5906
|
+
* Physical scroll orientation
|
5907
|
+
*/
|
5908
|
+
export type ScrollOrientation = ('horizontal' | 'vertical');
|
5909
|
+
|
5861
5910
|
/**
|
5862
5911
|
* DOM interaction is implemented in terms of mirror objects that represent the actual DOM nodes.
|
5863
5912
|
* DOMNode is a base node mirror type.
|
@@ -10272,8 +10321,14 @@ export namespace Protocol {
|
|
10272
10321
|
*/
|
10273
10322
|
export type AlternateProtocolUsage = ('alternativeJobWonWithoutRace' | 'alternativeJobWonRace' | 'mainJobWonRace' | 'mappingMissing' | 'broken' | 'dnsAlpnH3JobWonWithoutRace' | 'dnsAlpnH3JobWonRace' | 'unspecifiedReason');
|
10274
10323
|
|
10324
|
+
/**
|
10325
|
+
* Source of service worker router.
|
10326
|
+
*/
|
10327
|
+
export type ServiceWorkerRouterSource = ('network' | 'cache' | 'fetch-event' | 'race-network-and-fetch-handler');
|
10328
|
+
|
10275
10329
|
export interface ServiceWorkerRouterInfo {
|
10276
10330
|
ruleIdMatched: integer;
|
10331
|
+
matchedSourceType: ServiceWorkerRouterSource;
|
10277
10332
|
}
|
10278
10333
|
|
10279
10334
|
/**
|
@@ -10592,6 +10647,11 @@ export namespace Protocol {
|
|
10592
10647
|
*/
|
10593
10648
|
export type CookieBlockedReason = ('SecureOnly' | 'NotOnPath' | 'DomainMismatch' | 'SameSiteStrict' | 'SameSiteLax' | 'SameSiteUnspecifiedTreatedAsLax' | 'SameSiteNoneInsecure' | 'UserPreferences' | 'ThirdPartyPhaseout' | 'ThirdPartyBlockedInFirstPartySet' | 'UnknownError' | 'SchemefulSameSiteStrict' | 'SchemefulSameSiteLax' | 'SchemefulSameSiteUnspecifiedTreatedAsLax' | 'SamePartyFromCrossPartyContext' | 'NameValuePairExceedsMaxSize');
|
10594
10649
|
|
10650
|
+
/**
|
10651
|
+
* Types of reasons why a cookie should have been blocked by 3PCD but is exempted for the request.
|
10652
|
+
*/
|
10653
|
+
export type CookieExemptionReason = ('None' | 'UserSetting' | 'TPCDMetadata' | 'TPCDDeprecationTrial' | 'TPCDHeuristics' | 'EnterprisePolicy' | 'StorageAccess' | 'TopLevelStorageAccess' | 'CorsOptIn');
|
10654
|
+
|
10595
10655
|
/**
|
10596
10656
|
* A cookie which was not stored from a response with the corresponding reason.
|
10597
10657
|
*/
|
@@ -10614,17 +10674,38 @@ export namespace Protocol {
|
|
10614
10674
|
}
|
10615
10675
|
|
10616
10676
|
/**
|
10617
|
-
* A cookie
|
10677
|
+
* A cookie should have been blocked by 3PCD but is exempted and stored from a response with the
|
10678
|
+
* corresponding reason. A cookie could only have at most one exemption reason.
|
10618
10679
|
*/
|
10619
|
-
export interface
|
10680
|
+
export interface ExemptedSetCookieWithReason {
|
10620
10681
|
/**
|
10621
|
-
* The reason
|
10682
|
+
* The reason the cookie was exempted.
|
10622
10683
|
*/
|
10623
|
-
|
10684
|
+
exemptionReason: CookieExemptionReason;
|
10685
|
+
/**
|
10686
|
+
* The cookie object representing the cookie.
|
10687
|
+
*/
|
10688
|
+
cookie: Cookie;
|
10689
|
+
}
|
10690
|
+
|
10691
|
+
/**
|
10692
|
+
* A cookie associated with the request which may or may not be sent with it.
|
10693
|
+
* Includes the cookies itself and reasons for blocking or exemption.
|
10694
|
+
*/
|
10695
|
+
export interface AssociatedCookie {
|
10624
10696
|
/**
|
10625
10697
|
* The cookie object representing the cookie which was not sent.
|
10626
10698
|
*/
|
10627
10699
|
cookie: Cookie;
|
10700
|
+
/**
|
10701
|
+
* The reason(s) the cookie was blocked. If empty means the cookie is included.
|
10702
|
+
*/
|
10703
|
+
blockedReasons: CookieBlockedReason[];
|
10704
|
+
/**
|
10705
|
+
* The reason the cookie should have been blocked by 3PCD but is exempted. A cookie could
|
10706
|
+
* only have at most one exemption reason.
|
10707
|
+
*/
|
10708
|
+
exemptionReason?: CookieExemptionReason;
|
10628
10709
|
}
|
10629
10710
|
|
10630
10711
|
/**
|
@@ -11110,6 +11191,11 @@ export namespace Protocol {
|
|
11110
11191
|
* If specified, deletes only cookies with the exact path.
|
11111
11192
|
*/
|
11112
11193
|
path?: string;
|
11194
|
+
/**
|
11195
|
+
* If specified, deletes only cookies with the the given name and partitionKey where domain
|
11196
|
+
* matches provided URL.
|
11197
|
+
*/
|
11198
|
+
partitionKey?: string;
|
11113
11199
|
}
|
11114
11200
|
|
11115
11201
|
export interface EmulateNetworkConditionsRequest {
|
@@ -11954,9 +12040,9 @@ export namespace Protocol {
|
|
11954
12040
|
requestId: RequestId;
|
11955
12041
|
/**
|
11956
12042
|
* A list of cookies potentially associated to the requested URL. This includes both cookies sent with
|
11957
|
-
* the request and the ones not sent; the latter are distinguished by having
|
12043
|
+
* the request and the ones not sent; the latter are distinguished by having blockedReasons field set.
|
11958
12044
|
*/
|
11959
|
-
associatedCookies:
|
12045
|
+
associatedCookies: AssociatedCookie[];
|
11960
12046
|
/**
|
11961
12047
|
* Raw request headers as they will be sent over the wire.
|
11962
12048
|
*/
|
@@ -12020,6 +12106,11 @@ export namespace Protocol {
|
|
12020
12106
|
* True if partitioned cookies are enabled, but the partition key is not serializeable to string.
|
12021
12107
|
*/
|
12022
12108
|
cookiePartitionKeyOpaque?: boolean;
|
12109
|
+
/**
|
12110
|
+
* A list of cookies which should have been blocked by 3PCD but are exempted and stored from
|
12111
|
+
* the response with the corresponding reason.
|
12112
|
+
*/
|
12113
|
+
exemptedCookies?: ExemptedSetCookieWithReason[];
|
12023
12114
|
}
|
12024
12115
|
|
12025
12116
|
export const enum TrustTokenOperationDoneEventStatus {
|
@@ -12954,7 +13045,7 @@ export namespace Protocol {
|
|
12954
13045
|
* All Permissions Policy features. This enum should match the one defined
|
12955
13046
|
* in third_party/blink/renderer/core/permissions_policy/permissions_policy_features.json5.
|
12956
13047
|
*/
|
12957
|
-
export type PermissionsPolicyFeature = ('accelerometer' | 'ambient-light-sensor' | 'attribution-reporting' | 'autoplay' | 'bluetooth' | 'browsing-topics' | 'camera' | 'captured-surface-control' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-prefers-reduced-motion' | 'ch-prefers-reduced-transparency' | 'ch-rtt' | 'ch-save-data' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-form-factor' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-wow64' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'compute-pressure' | 'cross-origin-isolated' | 'direct-sockets' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'hid' | 'identity-credentials-get' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'local-fonts' | 'magnetometer' | 'microphone' | 'midi' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'private-aggregation' | 'private-state-token-issuance' | 'private-state-token-redemption' | 'publickey-credentials-create' | 'publickey-credentials-get' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'shared-storage' | 'shared-storage-select-url' | 'smart-card' | 'storage-access' | 'sub-apps' | 'sync-xhr' | 'unload' | 'usb' | 'usb-unrestricted' | 'vertical-scroll' | 'web-printing' | 'web-share' | 'window-management' | 'window-placement' | 'xr-spatial-tracking');
|
13048
|
+
export type PermissionsPolicyFeature = ('accelerometer' | 'ambient-light-sensor' | 'attribution-reporting' | 'autoplay' | 'bluetooth' | 'browsing-topics' | 'camera' | 'captured-surface-control' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-prefers-reduced-motion' | 'ch-prefers-reduced-transparency' | 'ch-rtt' | 'ch-save-data' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-form-factor' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-wow64' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'compute-pressure' | 'cross-origin-isolated' | 'direct-sockets' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'hid' | 'identity-credentials-get' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'local-fonts' | 'magnetometer' | 'microphone' | 'midi' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'private-aggregation' | 'private-state-token-issuance' | 'private-state-token-redemption' | 'publickey-credentials-create' | 'publickey-credentials-get' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'shared-storage' | 'shared-storage-select-url' | 'smart-card' | 'speaker-selection' | 'storage-access' | 'sub-apps' | 'sync-xhr' | 'unload' | 'usb' | 'usb-unrestricted' | 'vertical-scroll' | 'web-printing' | 'web-share' | 'window-management' | 'window-placement' | 'xr-spatial-tracking');
|
12958
13049
|
|
12959
13050
|
/**
|
12960
13051
|
* Reason for a permissions policy feature to be disabled.
|
@@ -15279,9 +15370,23 @@ export namespace Protocol {
|
|
15279
15370
|
* Details for an origin's shared storage.
|
15280
15371
|
*/
|
15281
15372
|
export interface SharedStorageMetadata {
|
15373
|
+
/**
|
15374
|
+
* Time when the origin's shared storage was last created.
|
15375
|
+
*/
|
15282
15376
|
creationTime: Network.TimeSinceEpoch;
|
15377
|
+
/**
|
15378
|
+
* Number of key-value pairs stored in origin's shared storage.
|
15379
|
+
*/
|
15283
15380
|
length: integer;
|
15381
|
+
/**
|
15382
|
+
* Current amount of bits of entropy remaining in the navigation budget.
|
15383
|
+
*/
|
15284
15384
|
remainingBudget: number;
|
15385
|
+
/**
|
15386
|
+
* Total number of bytes stored as key-value pairs in origin's shared
|
15387
|
+
* storage.
|
15388
|
+
*/
|
15389
|
+
bytesUsed: integer;
|
15285
15390
|
}
|
15286
15391
|
|
15287
15392
|
/**
|
@@ -15462,7 +15567,7 @@ export namespace Protocol {
|
|
15462
15567
|
|
15463
15568
|
export type AttributionReportingSourceRegistrationTimeConfig = ('include' | 'exclude');
|
15464
15569
|
|
15465
|
-
export interface
|
15570
|
+
export interface AttributionReportingAggregatableValueDictEntry {
|
15466
15571
|
key: string;
|
15467
15572
|
/**
|
15468
15573
|
* number instead of integer because not all uint32 can be represented by
|
@@ -15471,6 +15576,11 @@ export namespace Protocol {
|
|
15471
15576
|
value: number;
|
15472
15577
|
}
|
15473
15578
|
|
15579
|
+
export interface AttributionReportingAggregatableValueEntry {
|
15580
|
+
values: AttributionReportingAggregatableValueDictEntry[];
|
15581
|
+
filters: AttributionReportingFilterPair;
|
15582
|
+
}
|
15583
|
+
|
15474
15584
|
export interface AttributionReportingEventTriggerData {
|
15475
15585
|
data: UnsignedInt64AsBase10;
|
15476
15586
|
priority: SignedInt64AsBase10;
|
@@ -17497,6 +17607,18 @@ export namespace Protocol {
|
|
17497
17607
|
* See https://w3c.github.io/webauthn/#sctn-large-blob-extension (Encoded as a base64 string when passed over JSON)
|
17498
17608
|
*/
|
17499
17609
|
largeBlob?: string;
|
17610
|
+
/**
|
17611
|
+
* Assertions returned by this credential will have the backup eligibility
|
17612
|
+
* (BE) flag set to this value. Defaults to the authenticator's
|
17613
|
+
* defaultBackupEligibility value.
|
17614
|
+
*/
|
17615
|
+
backupEligibility?: boolean;
|
17616
|
+
/**
|
17617
|
+
* Assertions returned by this credential will have the backup state (BS)
|
17618
|
+
* flag set to this value. Defaults to the authenticator's
|
17619
|
+
* defaultBackupState value.
|
17620
|
+
*/
|
17621
|
+
backupState?: boolean;
|
17500
17622
|
}
|
17501
17623
|
|
17502
17624
|
export interface EnableRequest {
|
@@ -17582,6 +17704,13 @@ export namespace Protocol {
|
|
17582
17704
|
enabled: boolean;
|
17583
17705
|
}
|
17584
17706
|
|
17707
|
+
export interface SetCredentialPropertiesRequest {
|
17708
|
+
authenticatorId: AuthenticatorId;
|
17709
|
+
credentialId: string;
|
17710
|
+
backupEligibility?: boolean;
|
17711
|
+
backupState?: boolean;
|
17712
|
+
}
|
17713
|
+
|
17585
17714
|
/**
|
17586
17715
|
* Triggered when a credential is added to an authenticator.
|
17587
17716
|
*/
|
@@ -17977,6 +18106,11 @@ export namespace Protocol {
|
|
17977
18106
|
*/
|
17978
18107
|
export type DialogButton = ('ConfirmIdpLoginContinue' | 'ErrorGotIt' | 'ErrorMoreDetails');
|
17979
18108
|
|
18109
|
+
/**
|
18110
|
+
* The URLs that each account has
|
18111
|
+
*/
|
18112
|
+
export type AccountUrlType = ('TermsOfService' | 'PrivacyPolicy');
|
18113
|
+
|
17980
18114
|
/**
|
17981
18115
|
* Corresponds to IdentityRequestAccount
|
17982
18116
|
*/
|
@@ -18015,6 +18149,12 @@ export namespace Protocol {
|
|
18015
18149
|
dialogButton: DialogButton;
|
18016
18150
|
}
|
18017
18151
|
|
18152
|
+
export interface OpenUrlRequest {
|
18153
|
+
dialogId: string;
|
18154
|
+
accountIndex: integer;
|
18155
|
+
accountUrlType: AccountUrlType;
|
18156
|
+
}
|
18157
|
+
|
18018
18158
|
export interface DismissDialogRequest {
|
18019
18159
|
dialogId: string;
|
18020
18160
|
triggerCooldown?: boolean;
|