devtools-protocol 0.0.1254350 → 0.0.1258865
Sign up to get free protection for your applications and to get access to all the features.
- package/json/browser_protocol.json +54 -3
- package/package.json +1 -1
- package/pdl/browser_protocol.pdl +34 -2
- package/types/protocol.d.ts +46 -1
@@ -619,7 +619,7 @@
|
|
619
619
|
},
|
620
620
|
{
|
621
621
|
"name": "startTime",
|
622
|
-
"description": "`Animation`'s start time.",
|
622
|
+
"description": "`Animation`'s start time.\nMilliseconds for time based animations and\npercentage [0 - 100] for scroll driven animations\n(i.e. when viewOrScrollTimeline exists).",
|
623
623
|
"type": "number"
|
624
624
|
},
|
625
625
|
{
|
@@ -648,6 +648,48 @@
|
|
648
648
|
"description": "A unique ID for `Animation` representing the sources that triggered this CSS\nanimation/transition.",
|
649
649
|
"optional": true,
|
650
650
|
"type": "string"
|
651
|
+
},
|
652
|
+
{
|
653
|
+
"name": "viewOrScrollTimeline",
|
654
|
+
"description": "View or scroll timeline",
|
655
|
+
"optional": true,
|
656
|
+
"$ref": "ViewOrScrollTimeline"
|
657
|
+
}
|
658
|
+
]
|
659
|
+
},
|
660
|
+
{
|
661
|
+
"id": "ViewOrScrollTimeline",
|
662
|
+
"description": "Timeline instance",
|
663
|
+
"type": "object",
|
664
|
+
"properties": [
|
665
|
+
{
|
666
|
+
"name": "sourceNodeId",
|
667
|
+
"description": "Scroll container node",
|
668
|
+
"optional": true,
|
669
|
+
"$ref": "DOM.BackendNodeId"
|
670
|
+
},
|
671
|
+
{
|
672
|
+
"name": "startOffset",
|
673
|
+
"description": "Represents the starting scroll position of the timeline\nas a length offset in pixels from scroll origin.",
|
674
|
+
"optional": true,
|
675
|
+
"type": "number"
|
676
|
+
},
|
677
|
+
{
|
678
|
+
"name": "endOffset",
|
679
|
+
"description": "Represents the ending scroll position of the timeline\nas a length offset in pixels from scroll origin.",
|
680
|
+
"optional": true,
|
681
|
+
"type": "number"
|
682
|
+
},
|
683
|
+
{
|
684
|
+
"name": "subjectNodeId",
|
685
|
+
"description": "The element whose principal box's visibility in the\nscrollport defined the progress of the timeline.\nDoes not exist for animations with ScrollTimeline",
|
686
|
+
"optional": true,
|
687
|
+
"$ref": "DOM.BackendNodeId"
|
688
|
+
},
|
689
|
+
{
|
690
|
+
"name": "axis",
|
691
|
+
"description": "Orientation of the scroll",
|
692
|
+
"$ref": "DOM.ScrollOrientation"
|
651
693
|
}
|
652
694
|
]
|
653
695
|
},
|
@@ -678,7 +720,7 @@
|
|
678
720
|
},
|
679
721
|
{
|
680
722
|
"name": "duration",
|
681
|
-
"description": "`AnimationEffect`'s iteration duration.",
|
723
|
+
"description": "`AnimationEffect`'s iteration duration.\nMilliseconds for time based animations and\npercentage [0 - 100] for scroll driven animations\n(i.e. when viewOrScrollTimeline exists).",
|
682
724
|
"type": "number"
|
683
725
|
},
|
684
726
|
{
|
@@ -5403,6 +5445,15 @@
|
|
5403
5445
|
"Both"
|
5404
5446
|
]
|
5405
5447
|
},
|
5448
|
+
{
|
5449
|
+
"id": "ScrollOrientation",
|
5450
|
+
"description": "Physical scroll orientation",
|
5451
|
+
"type": "string",
|
5452
|
+
"enum": [
|
5453
|
+
"horizontal",
|
5454
|
+
"vertical"
|
5455
|
+
]
|
5456
|
+
},
|
5406
5457
|
{
|
5407
5458
|
"id": "Node",
|
5408
5459
|
"description": "DOM interaction is implemented in terms of mirror objects that represent the actual DOM nodes.\nDOMNode is a base node mirror type.",
|
@@ -12784,7 +12835,7 @@
|
|
12784
12835
|
"EnterprisePolicy",
|
12785
12836
|
"StorageAccess",
|
12786
12837
|
"TopLevelStorageAccess",
|
12787
|
-
"
|
12838
|
+
"CorsOptIn"
|
12788
12839
|
]
|
12789
12840
|
},
|
12790
12841
|
{
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -309,6 +309,9 @@ experimental domain Animation
|
|
309
309
|
# `Animation`'s playback rate.
|
310
310
|
number playbackRate
|
311
311
|
# `Animation`'s start time.
|
312
|
+
# Milliseconds for time based animations and
|
313
|
+
# percentage [0 - 100] for scroll driven animations
|
314
|
+
# (i.e. when viewOrScrollTimeline exists).
|
312
315
|
number startTime
|
313
316
|
# `Animation`'s current time.
|
314
317
|
number currentTime
|
@@ -322,6 +325,26 @@ experimental domain Animation
|
|
322
325
|
# A unique ID for `Animation` representing the sources that triggered this CSS
|
323
326
|
# animation/transition.
|
324
327
|
optional string cssId
|
328
|
+
# View or scroll timeline
|
329
|
+
optional ViewOrScrollTimeline viewOrScrollTimeline
|
330
|
+
|
331
|
+
# Timeline instance
|
332
|
+
type ViewOrScrollTimeline extends object
|
333
|
+
properties
|
334
|
+
# Scroll container node
|
335
|
+
optional DOM.BackendNodeId sourceNodeId
|
336
|
+
# Represents the starting scroll position of the timeline
|
337
|
+
# as a length offset in pixels from scroll origin.
|
338
|
+
optional number startOffset
|
339
|
+
# Represents the ending scroll position of the timeline
|
340
|
+
# as a length offset in pixels from scroll origin.
|
341
|
+
optional number endOffset
|
342
|
+
# The element whose principal box's visibility in the
|
343
|
+
# scrollport defined the progress of the timeline.
|
344
|
+
# Does not exist for animations with ScrollTimeline
|
345
|
+
optional DOM.BackendNodeId subjectNodeId
|
346
|
+
# Orientation of the scroll
|
347
|
+
DOM.ScrollOrientation axis
|
325
348
|
|
326
349
|
# AnimationEffect instance
|
327
350
|
type AnimationEffect extends object
|
@@ -335,6 +358,9 @@ experimental domain Animation
|
|
335
358
|
# `AnimationEffect`'s iterations.
|
336
359
|
number iterations
|
337
360
|
# `AnimationEffect`'s iteration duration.
|
361
|
+
# Milliseconds for time based animations and
|
362
|
+
# percentage [0 - 100] for scroll driven animations
|
363
|
+
# (i.e. when viewOrScrollTimeline exists).
|
338
364
|
number duration
|
339
365
|
# `AnimationEffect`'s playback direction.
|
340
366
|
string direction
|
@@ -2559,6 +2585,12 @@ domain DOM
|
|
2559
2585
|
Block
|
2560
2586
|
Both
|
2561
2587
|
|
2588
|
+
# Physical scroll orientation
|
2589
|
+
type ScrollOrientation extends string
|
2590
|
+
enum
|
2591
|
+
horizontal
|
2592
|
+
vertical
|
2593
|
+
|
2562
2594
|
# DOM interaction is implemented in terms of mirror objects that represent the actual DOM nodes.
|
2563
2595
|
# DOMNode is a base node mirror type.
|
2564
2596
|
type Node extends object
|
@@ -6010,8 +6042,8 @@ domain Network
|
|
6010
6042
|
StorageAccess
|
6011
6043
|
# The cookie should have been blocked by 3PCD but is exempted by Top-level Storage Access API.
|
6012
6044
|
TopLevelStorageAccess
|
6013
|
-
# The cookie should have been blocked by 3PCD but is exempted by
|
6014
|
-
|
6045
|
+
# The cookie should have been blocked by 3PCD but is exempted by CORS opt-in.
|
6046
|
+
CorsOptIn
|
6015
6047
|
|
6016
6048
|
# A cookie which was not stored from a response with the corresponding reason.
|
6017
6049
|
experimental type BlockedSetCookieWithReason extends object
|
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
|
/**
|
@@ -5858,6 +5898,11 @@ export namespace Protocol {
|
|
5858
5898
|
*/
|
5859
5899
|
export type LogicalAxes = ('Inline' | 'Block' | 'Both');
|
5860
5900
|
|
5901
|
+
/**
|
5902
|
+
* Physical scroll orientation
|
5903
|
+
*/
|
5904
|
+
export type ScrollOrientation = ('horizontal' | 'vertical');
|
5905
|
+
|
5861
5906
|
/**
|
5862
5907
|
* DOM interaction is implemented in terms of mirror objects that represent the actual DOM nodes.
|
5863
5908
|
* DOMNode is a base node mirror type.
|
@@ -10595,7 +10640,7 @@ export namespace Protocol {
|
|
10595
10640
|
/**
|
10596
10641
|
* Types of reasons why a cookie should have been blocked by 3PCD but is exempted for the request.
|
10597
10642
|
*/
|
10598
|
-
export type CookieExemptionReason = ('None' | 'UserSetting' | 'TPCDMetadata' | 'TPCDDeprecationTrial' | 'TPCDHeuristics' | 'EnterprisePolicy' | 'StorageAccess' | 'TopLevelStorageAccess' | '
|
10643
|
+
export type CookieExemptionReason = ('None' | 'UserSetting' | 'TPCDMetadata' | 'TPCDDeprecationTrial' | 'TPCDHeuristics' | 'EnterprisePolicy' | 'StorageAccess' | 'TopLevelStorageAccess' | 'CorsOptIn');
|
10599
10644
|
|
10600
10645
|
/**
|
10601
10646
|
* A cookie which was not stored from a response with the corresponding reason.
|