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.
@@ -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
  {
@@ -2185,6 +2227,11 @@
2185
2227
  "description": "The filling strategy",
2186
2228
  "$ref": "FillingStrategy"
2187
2229
  },
2230
+ {
2231
+ "name": "frameId",
2232
+ "description": "The frame the field belongs to",
2233
+ "$ref": "Page.FrameId"
2234
+ },
2188
2235
  {
2189
2236
  "name": "fieldId",
2190
2237
  "description": "The form field's DOM node",
@@ -2507,6 +2554,7 @@
2507
2554
  "protectedMediaIdentifier",
2508
2555
  "sensors",
2509
2556
  "storageAccess",
2557
+ "speakerSelection",
2510
2558
  "topLevelStorageAccess",
2511
2559
  "videoCapture",
2512
2560
  "videoCapturePanTiltZoom",
@@ -5403,6 +5451,15 @@
5403
5451
  "Both"
5404
5452
  ]
5405
5453
  },
5454
+ {
5455
+ "id": "ScrollOrientation",
5456
+ "description": "Physical scroll orientation",
5457
+ "type": "string",
5458
+ "enum": [
5459
+ "horizontal",
5460
+ "vertical"
5461
+ ]
5462
+ },
5406
5463
  {
5407
5464
  "id": "Node",
5408
5465
  "description": "DOM interaction is implemented in terms of mirror objects that represent the actual DOM nodes.\nDOMNode is a base node mirror type.",
@@ -12299,6 +12356,17 @@
12299
12356
  "unspecifiedReason"
12300
12357
  ]
12301
12358
  },
12359
+ {
12360
+ "id": "ServiceWorkerRouterSource",
12361
+ "description": "Source of service worker router.",
12362
+ "type": "string",
12363
+ "enum": [
12364
+ "network",
12365
+ "cache",
12366
+ "fetch-event",
12367
+ "race-network-and-fetch-handler"
12368
+ ]
12369
+ },
12302
12370
  {
12303
12371
  "id": "ServiceWorkerRouterInfo",
12304
12372
  "experimental": true,
@@ -12307,6 +12375,10 @@
12307
12375
  {
12308
12376
  "name": "ruleIdMatched",
12309
12377
  "type": "integer"
12378
+ },
12379
+ {
12380
+ "name": "matchedSourceType",
12381
+ "$ref": "ServiceWorkerRouterSource"
12310
12382
  }
12311
12383
  ]
12312
12384
  },
@@ -12770,6 +12842,23 @@
12770
12842
  "NameValuePairExceedsMaxSize"
12771
12843
  ]
12772
12844
  },
12845
+ {
12846
+ "id": "CookieExemptionReason",
12847
+ "description": "Types of reasons why a cookie should have been blocked by 3PCD but is exempted for the request.",
12848
+ "experimental": true,
12849
+ "type": "string",
12850
+ "enum": [
12851
+ "None",
12852
+ "UserSetting",
12853
+ "TPCDMetadata",
12854
+ "TPCDDeprecationTrial",
12855
+ "TPCDHeuristics",
12856
+ "EnterprisePolicy",
12857
+ "StorageAccess",
12858
+ "TopLevelStorageAccess",
12859
+ "CorsOptIn"
12860
+ ]
12861
+ },
12773
12862
  {
12774
12863
  "id": "BlockedSetCookieWithReason",
12775
12864
  "description": "A cookie which was not stored from a response with the corresponding reason.",
@@ -12798,23 +12887,47 @@
12798
12887
  ]
12799
12888
  },
12800
12889
  {
12801
- "id": "BlockedCookieWithReason",
12802
- "description": "A cookie with was not sent with a request with the corresponding reason.",
12890
+ "id": "ExemptedSetCookieWithReason",
12891
+ "description": "A cookie should have been blocked by 3PCD but is exempted and stored from a response with the\ncorresponding reason. A cookie could only have at most one exemption reason.",
12892
+ "experimental": true,
12893
+ "type": "object",
12894
+ "properties": [
12895
+ {
12896
+ "name": "exemptionReason",
12897
+ "description": "The reason the cookie was exempted.",
12898
+ "$ref": "CookieExemptionReason"
12899
+ },
12900
+ {
12901
+ "name": "cookie",
12902
+ "description": "The cookie object representing the cookie.",
12903
+ "$ref": "Cookie"
12904
+ }
12905
+ ]
12906
+ },
12907
+ {
12908
+ "id": "AssociatedCookie",
12909
+ "description": "A cookie associated with the request which may or may not be sent with it.\nIncludes the cookies itself and reasons for blocking or exemption.",
12803
12910
  "experimental": true,
12804
12911
  "type": "object",
12805
12912
  "properties": [
12913
+ {
12914
+ "name": "cookie",
12915
+ "description": "The cookie object representing the cookie which was not sent.",
12916
+ "$ref": "Cookie"
12917
+ },
12806
12918
  {
12807
12919
  "name": "blockedReasons",
12808
- "description": "The reason(s) the cookie was blocked.",
12920
+ "description": "The reason(s) the cookie was blocked. If empty means the cookie is included.",
12809
12921
  "type": "array",
12810
12922
  "items": {
12811
12923
  "$ref": "CookieBlockedReason"
12812
12924
  }
12813
12925
  },
12814
12926
  {
12815
- "name": "cookie",
12816
- "description": "The cookie object representing the cookie which was not sent.",
12817
- "$ref": "Cookie"
12927
+ "name": "exemptionReason",
12928
+ "description": "The reason the cookie should have been blocked by 3PCD but is exempted. A cookie could\nonly have at most one exemption reason.",
12929
+ "optional": true,
12930
+ "$ref": "CookieExemptionReason"
12818
12931
  }
12819
12932
  ]
12820
12933
  },
@@ -13633,7 +13746,7 @@
13633
13746
  },
13634
13747
  {
13635
13748
  "name": "deleteCookies",
13636
- "description": "Deletes browser cookies with matching name and url or domain/path pair.",
13749
+ "description": "Deletes browser cookies with matching name and url or domain/path/partitionKey pair.",
13637
13750
  "parameters": [
13638
13751
  {
13639
13752
  "name": "name",
@@ -13657,6 +13770,12 @@
13657
13770
  "description": "If specified, deletes only cookies with the exact path.",
13658
13771
  "optional": true,
13659
13772
  "type": "string"
13773
+ },
13774
+ {
13775
+ "name": "partitionKey",
13776
+ "description": "If specified, deletes only cookies with the the given name and partitionKey where domain\nmatches provided URL.",
13777
+ "optional": true,
13778
+ "type": "string"
13660
13779
  }
13661
13780
  ]
13662
13781
  },
@@ -14805,10 +14924,10 @@
14805
14924
  },
14806
14925
  {
14807
14926
  "name": "associatedCookies",
14808
- "description": "A list of cookies potentially associated to the requested URL. This includes both cookies sent with\nthe request and the ones not sent; the latter are distinguished by having blockedReason field set.",
14927
+ "description": "A list of cookies potentially associated to the requested URL. This includes both cookies sent with\nthe request and the ones not sent; the latter are distinguished by having blockedReasons field set.",
14809
14928
  "type": "array",
14810
14929
  "items": {
14811
- "$ref": "BlockedCookieWithReason"
14930
+ "$ref": "AssociatedCookie"
14812
14931
  }
14813
14932
  },
14814
14933
  {
@@ -14886,6 +15005,15 @@
14886
15005
  "description": "True if partitioned cookies are enabled, but the partition key is not serializeable to string.",
14887
15006
  "optional": true,
14888
15007
  "type": "boolean"
15008
+ },
15009
+ {
15010
+ "name": "exemptedCookies",
15011
+ "description": "A list of cookies which should have been blocked by 3PCD but are exempted and stored from\nthe response with the corresponding reason.",
15012
+ "optional": true,
15013
+ "type": "array",
15014
+ "items": {
15015
+ "$ref": "ExemptedSetCookieWithReason"
15016
+ }
14889
15017
  }
14890
15018
  ]
14891
15019
  },
@@ -16387,6 +16515,7 @@
16387
16515
  "shared-storage",
16388
16516
  "shared-storage-select-url",
16389
16517
  "smart-card",
16518
+ "speaker-selection",
16390
16519
  "storage-access",
16391
16520
  "sub-apps",
16392
16521
  "sync-xhr",
@@ -20381,15 +20510,23 @@
20381
20510
  "properties": [
20382
20511
  {
20383
20512
  "name": "creationTime",
20513
+ "description": "Time when the origin's shared storage was last created.",
20384
20514
  "$ref": "Network.TimeSinceEpoch"
20385
20515
  },
20386
20516
  {
20387
20517
  "name": "length",
20518
+ "description": "Number of key-value pairs stored in origin's shared storage.",
20388
20519
  "type": "integer"
20389
20520
  },
20390
20521
  {
20391
20522
  "name": "remainingBudget",
20523
+ "description": "Current amount of bits of entropy remaining in the navigation budget.",
20392
20524
  "type": "number"
20525
+ },
20526
+ {
20527
+ "name": "bytesUsed",
20528
+ "description": "Total number of bytes stored as key-value pairs in origin's shared\nstorage.",
20529
+ "type": "integer"
20393
20530
  }
20394
20531
  ]
20395
20532
  },
@@ -20788,7 +20925,7 @@
20788
20925
  ]
20789
20926
  },
20790
20927
  {
20791
- "id": "AttributionReportingAggregatableValueEntry",
20928
+ "id": "AttributionReportingAggregatableValueDictEntry",
20792
20929
  "experimental": true,
20793
20930
  "type": "object",
20794
20931
  "properties": [
@@ -20803,6 +20940,24 @@
20803
20940
  }
20804
20941
  ]
20805
20942
  },
20943
+ {
20944
+ "id": "AttributionReportingAggregatableValueEntry",
20945
+ "experimental": true,
20946
+ "type": "object",
20947
+ "properties": [
20948
+ {
20949
+ "name": "values",
20950
+ "type": "array",
20951
+ "items": {
20952
+ "$ref": "AttributionReportingAggregatableValueDictEntry"
20953
+ }
20954
+ },
20955
+ {
20956
+ "name": "filters",
20957
+ "$ref": "AttributionReportingFilterPair"
20958
+ }
20959
+ ]
20960
+ },
20806
20961
  {
20807
20962
  "id": "AttributionReportingEventTriggerData",
20808
20963
  "experimental": true,
@@ -22722,7 +22877,6 @@
22722
22877
  },
22723
22878
  {
22724
22879
  "domain": "Tracing",
22725
- "experimental": true,
22726
22880
  "dependencies": [
22727
22881
  "IO"
22728
22882
  ],
@@ -22730,6 +22884,7 @@
22730
22884
  {
22731
22885
  "id": "MemoryDumpConfig",
22732
22886
  "description": "Configuration for memory dump. Used only when \"memory-infra\" category is enabled.",
22887
+ "experimental": true,
22733
22888
  "type": "object"
22734
22889
  },
22735
22890
  {
@@ -22739,6 +22894,7 @@
22739
22894
  {
22740
22895
  "name": "recordMode",
22741
22896
  "description": "Controls how the trace buffer stores data.",
22897
+ "experimental": true,
22742
22898
  "optional": true,
22743
22899
  "type": "string",
22744
22900
  "enum": [
@@ -22751,24 +22907,28 @@
22751
22907
  {
22752
22908
  "name": "traceBufferSizeInKb",
22753
22909
  "description": "Size of the trace buffer in kilobytes. If not specified or zero is passed, a default value\nof 200 MB would be used.",
22910
+ "experimental": true,
22754
22911
  "optional": true,
22755
22912
  "type": "number"
22756
22913
  },
22757
22914
  {
22758
22915
  "name": "enableSampling",
22759
22916
  "description": "Turns on JavaScript stack sampling.",
22917
+ "experimental": true,
22760
22918
  "optional": true,
22761
22919
  "type": "boolean"
22762
22920
  },
22763
22921
  {
22764
22922
  "name": "enableSystrace",
22765
22923
  "description": "Turns on system tracing.",
22924
+ "experimental": true,
22766
22925
  "optional": true,
22767
22926
  "type": "boolean"
22768
22927
  },
22769
22928
  {
22770
22929
  "name": "enableArgumentFilter",
22771
22930
  "description": "Turns on argument filter.",
22931
+ "experimental": true,
22772
22932
  "optional": true,
22773
22933
  "type": "boolean"
22774
22934
  },
@@ -22793,6 +22953,7 @@
22793
22953
  {
22794
22954
  "name": "syntheticDelays",
22795
22955
  "description": "Configuration to synthesize the delays in tracing.",
22956
+ "experimental": true,
22796
22957
  "optional": true,
22797
22958
  "type": "array",
22798
22959
  "items": {
@@ -22802,6 +22963,7 @@
22802
22963
  {
22803
22964
  "name": "memoryDumpConfig",
22804
22965
  "description": "Configuration for memory dump triggers. Used only when \"memory-infra\" category is enabled.",
22966
+ "experimental": true,
22805
22967
  "optional": true,
22806
22968
  "$ref": "MemoryDumpConfig"
22807
22969
  }
@@ -22810,6 +22972,7 @@
22810
22972
  {
22811
22973
  "id": "StreamFormat",
22812
22974
  "description": "Data format of a trace. Can be either the legacy JSON format or the\nprotocol buffer format. Note that the JSON format will be deprecated soon.",
22975
+ "experimental": true,
22813
22976
  "type": "string",
22814
22977
  "enum": [
22815
22978
  "json",
@@ -22819,6 +22982,7 @@
22819
22982
  {
22820
22983
  "id": "StreamCompression",
22821
22984
  "description": "Compression type to use for traces returned via streams.",
22985
+ "experimental": true,
22822
22986
  "type": "string",
22823
22987
  "enum": [
22824
22988
  "none",
@@ -22828,6 +22992,7 @@
22828
22992
  {
22829
22993
  "id": "MemoryDumpLevelOfDetail",
22830
22994
  "description": "Details exposed when memory request explicitly declared.\nKeep consistent with memory_dump_request_args.h and\nmemory_instrumentation.mojom",
22995
+ "experimental": true,
22831
22996
  "type": "string",
22832
22997
  "enum": [
22833
22998
  "background",
@@ -22838,6 +23003,7 @@
22838
23003
  {
22839
23004
  "id": "TracingBackend",
22840
23005
  "description": "Backend type to use for tracing. `chrome` uses the Chrome-integrated\ntracing service and is supported on all platforms. `system` is only\nsupported on Chrome OS and uses the Perfetto system tracing service.\n`auto` chooses `system` when the perfettoConfig provided to Tracing.start\nspecifies at least one non-Chrome data source; otherwise uses `chrome`.",
23006
+ "experimental": true,
22841
23007
  "type": "string",
22842
23008
  "enum": [
22843
23009
  "auto",
@@ -22854,6 +23020,7 @@
22854
23020
  {
22855
23021
  "name": "getCategories",
22856
23022
  "description": "Gets supported tracing categories.",
23023
+ "experimental": true,
22857
23024
  "returns": [
22858
23025
  {
22859
23026
  "name": "categories",
@@ -22868,6 +23035,7 @@
22868
23035
  {
22869
23036
  "name": "recordClockSyncMarker",
22870
23037
  "description": "Record a clock sync marker in the trace.",
23038
+ "experimental": true,
22871
23039
  "parameters": [
22872
23040
  {
22873
23041
  "name": "syncId",
@@ -22879,6 +23047,7 @@
22879
23047
  {
22880
23048
  "name": "requestMemoryDump",
22881
23049
  "description": "Request a global memory dump.",
23050
+ "experimental": true,
22882
23051
  "parameters": [
22883
23052
  {
22884
23053
  "name": "deterministic",
@@ -22913,6 +23082,7 @@
22913
23082
  {
22914
23083
  "name": "categories",
22915
23084
  "description": "Category/tag filter",
23085
+ "experimental": true,
22916
23086
  "deprecated": true,
22917
23087
  "optional": true,
22918
23088
  "type": "string"
@@ -22920,6 +23090,7 @@
22920
23090
  {
22921
23091
  "name": "options",
22922
23092
  "description": "Tracing options",
23093
+ "experimental": true,
22923
23094
  "deprecated": true,
22924
23095
  "optional": true,
22925
23096
  "type": "string"
@@ -22927,6 +23098,7 @@
22927
23098
  {
22928
23099
  "name": "bufferUsageReportingInterval",
22929
23100
  "description": "If set, the agent will issue bufferUsage events at this interval, specified in milliseconds",
23101
+ "experimental": true,
22930
23102
  "optional": true,
22931
23103
  "type": "number"
22932
23104
  },
@@ -22949,6 +23121,7 @@
22949
23121
  {
22950
23122
  "name": "streamCompression",
22951
23123
  "description": "Compression format to use. This only applies when using `ReturnAsStream`\ntransfer mode (defaults to `none`)",
23124
+ "experimental": true,
22952
23125
  "optional": true,
22953
23126
  "$ref": "StreamCompression"
22954
23127
  },
@@ -22960,12 +23133,14 @@
22960
23133
  {
22961
23134
  "name": "perfettoConfig",
22962
23135
  "description": "Base64-encoded serialized perfetto.protos.TraceConfig protobuf message\nWhen specified, the parameters `categories`, `options`, `traceConfig`\nare ignored. (Encoded as a base64 string when passed over JSON)",
23136
+ "experimental": true,
22963
23137
  "optional": true,
22964
23138
  "type": "string"
22965
23139
  },
22966
23140
  {
22967
23141
  "name": "tracingBackend",
22968
23142
  "description": "Backend type (defaults to `auto`)",
23143
+ "experimental": true,
22969
23144
  "optional": true,
22970
23145
  "$ref": "TracingBackend"
22971
23146
  }
@@ -22975,6 +23150,7 @@
22975
23150
  "events": [
22976
23151
  {
22977
23152
  "name": "bufferUsage",
23153
+ "experimental": true,
22978
23154
  "parameters": [
22979
23155
  {
22980
23156
  "name": "percentFull",
@@ -22999,6 +23175,7 @@
22999
23175
  {
23000
23176
  "name": "dataCollected",
23001
23177
  "description": "Contains a bucket of collected trace events. When tracing is stopped collected events will be\nsent as a sequence of dataCollected events followed by tracingComplete event.",
23178
+ "experimental": true,
23002
23179
  "parameters": [
23003
23180
  {
23004
23181
  "name": "value",
@@ -24108,6 +24285,18 @@
24108
24285
  "description": "The large blob associated with the credential.\nSee https://w3c.github.io/webauthn/#sctn-large-blob-extension (Encoded as a base64 string when passed over JSON)",
24109
24286
  "optional": true,
24110
24287
  "type": "string"
24288
+ },
24289
+ {
24290
+ "name": "backupEligibility",
24291
+ "description": "Assertions returned by this credential will have the backup eligibility\n(BE) flag set to this value. Defaults to the authenticator's\ndefaultBackupEligibility value.",
24292
+ "optional": true,
24293
+ "type": "boolean"
24294
+ },
24295
+ {
24296
+ "name": "backupState",
24297
+ "description": "Assertions returned by this credential will have the backup state (BS)\nflag set to this value. Defaults to the authenticator's\ndefaultBackupState value.",
24298
+ "optional": true,
24299
+ "type": "boolean"
24111
24300
  }
24112
24301
  ]
24113
24302
  }
@@ -24287,6 +24476,30 @@
24287
24476
  "type": "boolean"
24288
24477
  }
24289
24478
  ]
24479
+ },
24480
+ {
24481
+ "name": "setCredentialProperties",
24482
+ "description": "Allows setting credential properties.\nhttps://w3c.github.io/webauthn/#sctn-automation-set-credential-properties",
24483
+ "parameters": [
24484
+ {
24485
+ "name": "authenticatorId",
24486
+ "$ref": "AuthenticatorId"
24487
+ },
24488
+ {
24489
+ "name": "credentialId",
24490
+ "type": "string"
24491
+ },
24492
+ {
24493
+ "name": "backupEligibility",
24494
+ "optional": true,
24495
+ "type": "boolean"
24496
+ },
24497
+ {
24498
+ "name": "backupState",
24499
+ "optional": true,
24500
+ "type": "boolean"
24501
+ }
24502
+ ]
24290
24503
  }
24291
24504
  ],
24292
24505
  "events": [
@@ -25069,6 +25282,15 @@
25069
25282
  "ErrorMoreDetails"
25070
25283
  ]
25071
25284
  },
25285
+ {
25286
+ "id": "AccountUrlType",
25287
+ "description": "The URLs that each account has",
25288
+ "type": "string",
25289
+ "enum": [
25290
+ "TermsOfService",
25291
+ "PrivacyPolicy"
25292
+ ]
25293
+ },
25072
25294
  {
25073
25295
  "id": "Account",
25074
25296
  "description": "Corresponds to IdentityRequestAccount",
@@ -25203,6 +25425,23 @@
25203
25425
  }
25204
25426
  ]
25205
25427
  },
25428
+ {
25429
+ "name": "openUrl",
25430
+ "parameters": [
25431
+ {
25432
+ "name": "dialogId",
25433
+ "type": "string"
25434
+ },
25435
+ {
25436
+ "name": "accountIndex",
25437
+ "type": "integer"
25438
+ },
25439
+ {
25440
+ "name": "accountUrlType",
25441
+ "$ref": "AccountUrlType"
25442
+ }
25443
+ ]
25444
+ },
25206
25445
  {
25207
25446
  "name": "dismissDialog",
25208
25447
  "parameters": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1249869",
3
+ "version": "0.0.1262051",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",