devtools-protocol 0.0.1532728 → 0.0.1537100

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.
@@ -18958,94 +18958,6 @@
18958
18958
  "description": "Fired once security policy has been updated.",
18959
18959
  "experimental": true
18960
18960
  },
18961
- {
18962
- "name": "subresourceWebBundleMetadataReceived",
18963
- "description": "Fired once when parsing the .wbn file has succeeded.\nThe event contains the information about the web bundle contents.",
18964
- "experimental": true,
18965
- "parameters": [
18966
- {
18967
- "name": "requestId",
18968
- "description": "Request identifier. Used to match this information to another event.",
18969
- "$ref": "RequestId"
18970
- },
18971
- {
18972
- "name": "urls",
18973
- "description": "A list of URLs of resources in the subresource Web Bundle.",
18974
- "type": "array",
18975
- "items": {
18976
- "type": "string"
18977
- }
18978
- }
18979
- ]
18980
- },
18981
- {
18982
- "name": "subresourceWebBundleMetadataError",
18983
- "description": "Fired once when parsing the .wbn file has failed.",
18984
- "experimental": true,
18985
- "parameters": [
18986
- {
18987
- "name": "requestId",
18988
- "description": "Request identifier. Used to match this information to another event.",
18989
- "$ref": "RequestId"
18990
- },
18991
- {
18992
- "name": "errorMessage",
18993
- "description": "Error message",
18994
- "type": "string"
18995
- }
18996
- ]
18997
- },
18998
- {
18999
- "name": "subresourceWebBundleInnerResponseParsed",
19000
- "description": "Fired when handling requests for resources within a .wbn file.\nNote: this will only be fired for resources that are requested by the webpage.",
19001
- "experimental": true,
19002
- "parameters": [
19003
- {
19004
- "name": "innerRequestId",
19005
- "description": "Request identifier of the subresource request",
19006
- "$ref": "RequestId"
19007
- },
19008
- {
19009
- "name": "innerRequestURL",
19010
- "description": "URL of the subresource resource.",
19011
- "type": "string"
19012
- },
19013
- {
19014
- "name": "bundleRequestId",
19015
- "description": "Bundle request identifier. Used to match this information to another event.\nThis made be absent in case when the instrumentation was enabled only\nafter webbundle was parsed.",
19016
- "optional": true,
19017
- "$ref": "RequestId"
19018
- }
19019
- ]
19020
- },
19021
- {
19022
- "name": "subresourceWebBundleInnerResponseError",
19023
- "description": "Fired when request for resources within a .wbn file failed.",
19024
- "experimental": true,
19025
- "parameters": [
19026
- {
19027
- "name": "innerRequestId",
19028
- "description": "Request identifier of the subresource request",
19029
- "$ref": "RequestId"
19030
- },
19031
- {
19032
- "name": "innerRequestURL",
19033
- "description": "URL of the subresource resource.",
19034
- "type": "string"
19035
- },
19036
- {
19037
- "name": "errorMessage",
19038
- "description": "Error message",
19039
- "type": "string"
19040
- },
19041
- {
19042
- "name": "bundleRequestId",
19043
- "description": "Bundle request identifier. Used to match this information to another event.\nThis made be absent in case when the instrumentation was enabled only\nafter webbundle was parsed.",
19044
- "optional": true,
19045
- "$ref": "RequestId"
19046
- }
19047
- ]
19048
- },
19049
18961
  {
19050
18962
  "name": "reportingApiReportAdded",
19051
18963
  "description": "Is sent whenever a new report is added.\nAnd after 'enableReportingApi' for all existing reports.",
@@ -27549,36 +27461,6 @@
27549
27461
  "unknown"
27550
27462
  ]
27551
27463
  },
27552
- {
27553
- "id": "ImageDecodeAcceleratorCapability",
27554
- "description": "Describes a supported image decoding profile with its associated minimum and\nmaximum resolutions and subsampling.",
27555
- "type": "object",
27556
- "properties": [
27557
- {
27558
- "name": "imageType",
27559
- "description": "Image coded, e.g. Jpeg.",
27560
- "$ref": "ImageType"
27561
- },
27562
- {
27563
- "name": "maxDimensions",
27564
- "description": "Maximum supported dimensions of the image in pixels.",
27565
- "$ref": "Size"
27566
- },
27567
- {
27568
- "name": "minDimensions",
27569
- "description": "Minimum supported dimensions of the image in pixels.",
27570
- "$ref": "Size"
27571
- },
27572
- {
27573
- "name": "subsamplings",
27574
- "description": "Optional array of supported subsampling formats, e.g. 4:2:0, if known.",
27575
- "type": "array",
27576
- "items": {
27577
- "$ref": "SubsamplingFormat"
27578
- }
27579
- }
27580
- ]
27581
- },
27582
27464
  {
27583
27465
  "id": "GPUInfo",
27584
27466
  "description": "Provides information about the GPU(s) on the system.",
@@ -27627,14 +27509,6 @@
27627
27509
  "items": {
27628
27510
  "$ref": "VideoEncodeAcceleratorCapability"
27629
27511
  }
27630
- },
27631
- {
27632
- "name": "imageDecoding",
27633
- "description": "Supported accelerated image decoding capabilities.",
27634
- "type": "array",
27635
- "items": {
27636
- "$ref": "ImageDecodeAcceleratorCapability"
27637
- }
27638
27512
  }
27639
27513
  ]
27640
27514
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1532728",
3
+ "version": "0.0.1537100",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -1929,50 +1929,6 @@ domain Network
1929
1929
  # Fired once security policy has been updated.
1930
1930
  experimental event policyUpdated
1931
1931
 
1932
- # Fired once when parsing the .wbn file has succeeded.
1933
- # The event contains the information about the web bundle contents.
1934
- experimental event subresourceWebBundleMetadataReceived
1935
- parameters
1936
- # Request identifier. Used to match this information to another event.
1937
- RequestId requestId
1938
- # A list of URLs of resources in the subresource Web Bundle.
1939
- array of string urls
1940
-
1941
- # Fired once when parsing the .wbn file has failed.
1942
- experimental event subresourceWebBundleMetadataError
1943
- parameters
1944
- # Request identifier. Used to match this information to another event.
1945
- RequestId requestId
1946
- # Error message
1947
- string errorMessage
1948
-
1949
- # Fired when handling requests for resources within a .wbn file.
1950
- # Note: this will only be fired for resources that are requested by the webpage.
1951
- experimental event subresourceWebBundleInnerResponseParsed
1952
- parameters
1953
- # Request identifier of the subresource request
1954
- RequestId innerRequestId
1955
- # URL of the subresource resource.
1956
- string innerRequestURL
1957
- # Bundle request identifier. Used to match this information to another event.
1958
- # This made be absent in case when the instrumentation was enabled only
1959
- # after webbundle was parsed.
1960
- optional RequestId bundleRequestId
1961
-
1962
- # Fired when request for resources within a .wbn file failed.
1963
- experimental event subresourceWebBundleInnerResponseError
1964
- parameters
1965
- # Request identifier of the subresource request
1966
- RequestId innerRequestId
1967
- # URL of the subresource resource.
1968
- string innerRequestURL
1969
- # Error message
1970
- string errorMessage
1971
- # Bundle request identifier. Used to match this information to another event.
1972
- # This made be absent in case when the instrumentation was enabled only
1973
- # after webbundle was parsed.
1974
- optional RequestId bundleRequestId
1975
-
1976
1932
  experimental type CrossOriginOpenerPolicyValue extends string
1977
1933
  enum
1978
1934
  SameOrigin
@@ -74,19 +74,6 @@ experimental domain SystemInfo
74
74
  webp
75
75
  unknown
76
76
 
77
- # Describes a supported image decoding profile with its associated minimum and
78
- # maximum resolutions and subsampling.
79
- type ImageDecodeAcceleratorCapability extends object
80
- properties
81
- # Image coded, e.g. Jpeg.
82
- ImageType imageType
83
- # Maximum supported dimensions of the image in pixels.
84
- Size maxDimensions
85
- # Minimum supported dimensions of the image in pixels.
86
- Size minDimensions
87
- # Optional array of supported subsampling formats, e.g. 4:2:0, if known.
88
- array of SubsamplingFormat subsamplings
89
-
90
77
  # Provides information about the GPU(s) on the system.
91
78
  type GPUInfo extends object
92
79
  properties
@@ -102,8 +89,6 @@ experimental domain SystemInfo
102
89
  array of VideoDecodeAcceleratorCapability videoDecoding
103
90
  # Supported accelerated video encoding capabilities.
104
91
  array of VideoEncodeAcceleratorCapability videoEncoding
105
- # Supported accelerated image decoding capabilities.
106
- array of ImageDecodeAcceleratorCapability imageDecoding
107
92
 
108
93
  # Represents process info.
109
94
  type ProcessInfo extends object
@@ -555,28 +555,6 @@ export namespace ProtocolMapping {
555
555
  * @experimental
556
556
  */
557
557
  'Network.policyUpdated': [];
558
- /**
559
- * Fired once when parsing the .wbn file has succeeded.
560
- * The event contains the information about the web bundle contents.
561
- * @experimental
562
- */
563
- 'Network.subresourceWebBundleMetadataReceived': [Protocol.Network.SubresourceWebBundleMetadataReceivedEvent];
564
- /**
565
- * Fired once when parsing the .wbn file has failed.
566
- * @experimental
567
- */
568
- 'Network.subresourceWebBundleMetadataError': [Protocol.Network.SubresourceWebBundleMetadataErrorEvent];
569
- /**
570
- * Fired when handling requests for resources within a .wbn file.
571
- * Note: this will only be fired for resources that are requested by the webpage.
572
- * @experimental
573
- */
574
- 'Network.subresourceWebBundleInnerResponseParsed': [Protocol.Network.SubresourceWebBundleInnerResponseParsedEvent];
575
- /**
576
- * Fired when request for resources within a .wbn file failed.
577
- * @experimental
578
- */
579
- 'Network.subresourceWebBundleInnerResponseError': [Protocol.Network.SubresourceWebBundleInnerResponseErrorEvent];
580
558
  /**
581
559
  * Is sent whenever a new report is added.
582
560
  * And after 'enableReportingApi' for all existing reports.
@@ -3423,32 +3423,6 @@ export namespace ProtocolProxyApi {
3423
3423
  */
3424
3424
  on(event: 'policyUpdated', listener: () => void): void;
3425
3425
 
3426
- /**
3427
- * Fired once when parsing the .wbn file has succeeded.
3428
- * The event contains the information about the web bundle contents.
3429
- * @experimental
3430
- */
3431
- on(event: 'subresourceWebBundleMetadataReceived', listener: (params: Protocol.Network.SubresourceWebBundleMetadataReceivedEvent) => void): void;
3432
-
3433
- /**
3434
- * Fired once when parsing the .wbn file has failed.
3435
- * @experimental
3436
- */
3437
- on(event: 'subresourceWebBundleMetadataError', listener: (params: Protocol.Network.SubresourceWebBundleMetadataErrorEvent) => void): void;
3438
-
3439
- /**
3440
- * Fired when handling requests for resources within a .wbn file.
3441
- * Note: this will only be fired for resources that are requested by the webpage.
3442
- * @experimental
3443
- */
3444
- on(event: 'subresourceWebBundleInnerResponseParsed', listener: (params: Protocol.Network.SubresourceWebBundleInnerResponseParsedEvent) => void): void;
3445
-
3446
- /**
3447
- * Fired when request for resources within a .wbn file failed.
3448
- * @experimental
3449
- */
3450
- on(event: 'subresourceWebBundleInnerResponseError', listener: (params: Protocol.Network.SubresourceWebBundleInnerResponseErrorEvent) => void): void;
3451
-
3452
3426
  /**
3453
3427
  * Is sent whenever a new report is added.
3454
3428
  * And after 'enableReportingApi' for all existing reports.
@@ -3667,40 +3667,6 @@ export namespace ProtocolTestsProxyApi {
3667
3667
  offPolicyUpdated(listener: () => void): void;
3668
3668
  oncePolicyUpdated(eventMatcher?: () => boolean): Promise<void>;
3669
3669
 
3670
- /**
3671
- * Fired once when parsing the .wbn file has succeeded.
3672
- * The event contains the information about the web bundle contents.
3673
- * @experimental
3674
- */
3675
- onSubresourceWebBundleMetadataReceived(listener: (event: { params: Protocol.Network.SubresourceWebBundleMetadataReceivedEvent }) => void): void;
3676
- offSubresourceWebBundleMetadataReceived(listener: (event: { params: Protocol.Network.SubresourceWebBundleMetadataReceivedEvent }) => void): void;
3677
- onceSubresourceWebBundleMetadataReceived(eventMatcher?: (event: { params: Protocol.Network.SubresourceWebBundleMetadataReceivedEvent }) => boolean): Promise<{ params: Protocol.Network.SubresourceWebBundleMetadataReceivedEvent }>;
3678
-
3679
- /**
3680
- * Fired once when parsing the .wbn file has failed.
3681
- * @experimental
3682
- */
3683
- onSubresourceWebBundleMetadataError(listener: (event: { params: Protocol.Network.SubresourceWebBundleMetadataErrorEvent }) => void): void;
3684
- offSubresourceWebBundleMetadataError(listener: (event: { params: Protocol.Network.SubresourceWebBundleMetadataErrorEvent }) => void): void;
3685
- onceSubresourceWebBundleMetadataError(eventMatcher?: (event: { params: Protocol.Network.SubresourceWebBundleMetadataErrorEvent }) => boolean): Promise<{ params: Protocol.Network.SubresourceWebBundleMetadataErrorEvent }>;
3686
-
3687
- /**
3688
- * Fired when handling requests for resources within a .wbn file.
3689
- * Note: this will only be fired for resources that are requested by the webpage.
3690
- * @experimental
3691
- */
3692
- onSubresourceWebBundleInnerResponseParsed(listener: (event: { params: Protocol.Network.SubresourceWebBundleInnerResponseParsedEvent }) => void): void;
3693
- offSubresourceWebBundleInnerResponseParsed(listener: (event: { params: Protocol.Network.SubresourceWebBundleInnerResponseParsedEvent }) => void): void;
3694
- onceSubresourceWebBundleInnerResponseParsed(eventMatcher?: (event: { params: Protocol.Network.SubresourceWebBundleInnerResponseParsedEvent }) => boolean): Promise<{ params: Protocol.Network.SubresourceWebBundleInnerResponseParsedEvent }>;
3695
-
3696
- /**
3697
- * Fired when request for resources within a .wbn file failed.
3698
- * @experimental
3699
- */
3700
- onSubresourceWebBundleInnerResponseError(listener: (event: { params: Protocol.Network.SubresourceWebBundleInnerResponseErrorEvent }) => void): void;
3701
- offSubresourceWebBundleInnerResponseError(listener: (event: { params: Protocol.Network.SubresourceWebBundleInnerResponseErrorEvent }) => void): void;
3702
- onceSubresourceWebBundleInnerResponseError(eventMatcher?: (event: { params: Protocol.Network.SubresourceWebBundleInnerResponseErrorEvent }) => boolean): Promise<{ params: Protocol.Network.SubresourceWebBundleInnerResponseErrorEvent }>;
3703
-
3704
3670
  /**
3705
3671
  * Is sent whenever a new report is added.
3706
3672
  * And after 'enableReportingApi' for all existing reports.
@@ -14837,84 +14837,6 @@ export namespace Protocol {
14837
14837
  issuedTokenCount?: integer;
14838
14838
  }
14839
14839
 
14840
- /**
14841
- * Fired once when parsing the .wbn file has succeeded.
14842
- * The event contains the information about the web bundle contents.
14843
- * @experimental
14844
- */
14845
- export interface SubresourceWebBundleMetadataReceivedEvent {
14846
- /**
14847
- * Request identifier. Used to match this information to another event.
14848
- */
14849
- requestId: RequestId;
14850
- /**
14851
- * A list of URLs of resources in the subresource Web Bundle.
14852
- */
14853
- urls: string[];
14854
- }
14855
-
14856
- /**
14857
- * Fired once when parsing the .wbn file has failed.
14858
- * @experimental
14859
- */
14860
- export interface SubresourceWebBundleMetadataErrorEvent {
14861
- /**
14862
- * Request identifier. Used to match this information to another event.
14863
- */
14864
- requestId: RequestId;
14865
- /**
14866
- * Error message
14867
- */
14868
- errorMessage: string;
14869
- }
14870
-
14871
- /**
14872
- * Fired when handling requests for resources within a .wbn file.
14873
- * Note: this will only be fired for resources that are requested by the webpage.
14874
- * @experimental
14875
- */
14876
- export interface SubresourceWebBundleInnerResponseParsedEvent {
14877
- /**
14878
- * Request identifier of the subresource request
14879
- */
14880
- innerRequestId: RequestId;
14881
- /**
14882
- * URL of the subresource resource.
14883
- */
14884
- innerRequestURL: string;
14885
- /**
14886
- * Bundle request identifier. Used to match this information to another event.
14887
- * This made be absent in case when the instrumentation was enabled only
14888
- * after webbundle was parsed.
14889
- */
14890
- bundleRequestId?: RequestId;
14891
- }
14892
-
14893
- /**
14894
- * Fired when request for resources within a .wbn file failed.
14895
- * @experimental
14896
- */
14897
- export interface SubresourceWebBundleInnerResponseErrorEvent {
14898
- /**
14899
- * Request identifier of the subresource request
14900
- */
14901
- innerRequestId: RequestId;
14902
- /**
14903
- * URL of the subresource resource.
14904
- */
14905
- innerRequestURL: string;
14906
- /**
14907
- * Error message
14908
- */
14909
- errorMessage: string;
14910
- /**
14911
- * Bundle request identifier. Used to match this information to another event.
14912
- * This made be absent in case when the instrumentation was enabled only
14913
- * after webbundle was parsed.
14914
- */
14915
- bundleRequestId?: RequestId;
14916
- }
14917
-
14918
14840
  /**
14919
14841
  * Is sent whenever a new report is added.
14920
14842
  * And after 'enableReportingApi' for all existing reports.
@@ -19956,29 +19878,6 @@ export namespace Protocol {
19956
19878
  */
19957
19879
  export type ImageType = ('jpeg' | 'webp' | 'unknown');
19958
19880
 
19959
- /**
19960
- * Describes a supported image decoding profile with its associated minimum and
19961
- * maximum resolutions and subsampling.
19962
- */
19963
- export interface ImageDecodeAcceleratorCapability {
19964
- /**
19965
- * Image coded, e.g. Jpeg.
19966
- */
19967
- imageType: ImageType;
19968
- /**
19969
- * Maximum supported dimensions of the image in pixels.
19970
- */
19971
- maxDimensions: Size;
19972
- /**
19973
- * Minimum supported dimensions of the image in pixels.
19974
- */
19975
- minDimensions: Size;
19976
- /**
19977
- * Optional array of supported subsampling formats, e.g. 4:2:0, if known.
19978
- */
19979
- subsamplings: SubsamplingFormat[];
19980
- }
19981
-
19982
19881
  /**
19983
19882
  * Provides information about the GPU(s) on the system.
19984
19883
  */
@@ -20007,10 +19906,6 @@ export namespace Protocol {
20007
19906
  * Supported accelerated video encoding capabilities.
20008
19907
  */
20009
19908
  videoEncoding: VideoEncodeAcceleratorCapability[];
20010
- /**
20011
- * Supported accelerated image decoding capabilities.
20012
- */
20013
- imageDecoding: ImageDecodeAcceleratorCapability[];
20014
19909
  }
20015
19910
 
20016
19911
  /**