devtools-protocol 0.0.1528500 → 0.0.1534754

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.
@@ -13804,6 +13804,11 @@
13804
13804
  {
13805
13805
  "name": "targetReloadedAfterCrash",
13806
13806
  "description": "Fired when debugging target has reloaded after crash"
13807
+ },
13808
+ {
13809
+ "name": "workerScriptLoaded",
13810
+ "description": "Fired on worker targets when main worker script and any imported scripts have been evaluated.",
13811
+ "experimental": true
13807
13812
  }
13808
13813
  ]
13809
13814
  },
@@ -18953,94 +18958,6 @@
18953
18958
  "description": "Fired once security policy has been updated.",
18954
18959
  "experimental": true
18955
18960
  },
18956
- {
18957
- "name": "subresourceWebBundleMetadataReceived",
18958
- "description": "Fired once when parsing the .wbn file has succeeded.\nThe event contains the information about the web bundle contents.",
18959
- "experimental": true,
18960
- "parameters": [
18961
- {
18962
- "name": "requestId",
18963
- "description": "Request identifier. Used to match this information to another event.",
18964
- "$ref": "RequestId"
18965
- },
18966
- {
18967
- "name": "urls",
18968
- "description": "A list of URLs of resources in the subresource Web Bundle.",
18969
- "type": "array",
18970
- "items": {
18971
- "type": "string"
18972
- }
18973
- }
18974
- ]
18975
- },
18976
- {
18977
- "name": "subresourceWebBundleMetadataError",
18978
- "description": "Fired once when parsing the .wbn file has failed.",
18979
- "experimental": true,
18980
- "parameters": [
18981
- {
18982
- "name": "requestId",
18983
- "description": "Request identifier. Used to match this information to another event.",
18984
- "$ref": "RequestId"
18985
- },
18986
- {
18987
- "name": "errorMessage",
18988
- "description": "Error message",
18989
- "type": "string"
18990
- }
18991
- ]
18992
- },
18993
- {
18994
- "name": "subresourceWebBundleInnerResponseParsed",
18995
- "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.",
18996
- "experimental": true,
18997
- "parameters": [
18998
- {
18999
- "name": "innerRequestId",
19000
- "description": "Request identifier of the subresource request",
19001
- "$ref": "RequestId"
19002
- },
19003
- {
19004
- "name": "innerRequestURL",
19005
- "description": "URL of the subresource resource.",
19006
- "type": "string"
19007
- },
19008
- {
19009
- "name": "bundleRequestId",
19010
- "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.",
19011
- "optional": true,
19012
- "$ref": "RequestId"
19013
- }
19014
- ]
19015
- },
19016
- {
19017
- "name": "subresourceWebBundleInnerResponseError",
19018
- "description": "Fired when request for resources within a .wbn file failed.",
19019
- "experimental": true,
19020
- "parameters": [
19021
- {
19022
- "name": "innerRequestId",
19023
- "description": "Request identifier of the subresource request",
19024
- "$ref": "RequestId"
19025
- },
19026
- {
19027
- "name": "innerRequestURL",
19028
- "description": "URL of the subresource resource.",
19029
- "type": "string"
19030
- },
19031
- {
19032
- "name": "errorMessage",
19033
- "description": "Error message",
19034
- "type": "string"
19035
- },
19036
- {
19037
- "name": "bundleRequestId",
19038
- "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.",
19039
- "optional": true,
19040
- "$ref": "RequestId"
19041
- }
19042
- ]
19043
- },
19044
18961
  {
19045
18962
  "name": "reportingApiReportAdded",
19046
18963
  "description": "Is sent whenever a new report is added.\nAnd after 'enableReportingApi' for all existing reports.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1528500",
3
+ "version": "0.0.1534754",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -23,3 +23,6 @@ experimental domain Inspector
23
23
 
24
24
  # Fired when debugging target has reloaded after crash
25
25
  event targetReloadedAfterCrash
26
+
27
+ # Fired on worker targets when main worker script and any imported scripts have been evaluated.
28
+ experimental event workerScriptLoaded
@@ -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
@@ -339,6 +339,11 @@ export namespace ProtocolMapping {
339
339
  * Fired when debugging target has reloaded after crash
340
340
  */
341
341
  'Inspector.targetReloadedAfterCrash': [];
342
+ /**
343
+ * Fired on worker targets when main worker script and any imported scripts have been evaluated.
344
+ * @experimental
345
+ */
346
+ 'Inspector.workerScriptLoaded': [];
342
347
  'LayerTree.layerPainted': [Protocol.LayerTree.LayerPaintedEvent];
343
348
  'LayerTree.layerTreeDidChange': [Protocol.LayerTree.LayerTreeDidChangeEvent];
344
349
  /**
@@ -550,28 +555,6 @@ export namespace ProtocolMapping {
550
555
  * @experimental
551
556
  */
552
557
  'Network.policyUpdated': [];
553
- /**
554
- * Fired once when parsing the .wbn file has succeeded.
555
- * The event contains the information about the web bundle contents.
556
- * @experimental
557
- */
558
- 'Network.subresourceWebBundleMetadataReceived': [Protocol.Network.SubresourceWebBundleMetadataReceivedEvent];
559
- /**
560
- * Fired once when parsing the .wbn file has failed.
561
- * @experimental
562
- */
563
- 'Network.subresourceWebBundleMetadataError': [Protocol.Network.SubresourceWebBundleMetadataErrorEvent];
564
- /**
565
- * Fired when handling requests for resources within a .wbn file.
566
- * Note: this will only be fired for resources that are requested by the webpage.
567
- * @experimental
568
- */
569
- 'Network.subresourceWebBundleInnerResponseParsed': [Protocol.Network.SubresourceWebBundleInnerResponseParsedEvent];
570
- /**
571
- * Fired when request for resources within a .wbn file failed.
572
- * @experimental
573
- */
574
- 'Network.subresourceWebBundleInnerResponseError': [Protocol.Network.SubresourceWebBundleInnerResponseErrorEvent];
575
558
  /**
576
559
  * Is sent whenever a new report is added.
577
560
  * And after 'enableReportingApi' for all existing reports.
@@ -2767,6 +2767,12 @@ export namespace ProtocolProxyApi {
2767
2767
  */
2768
2768
  on(event: 'targetReloadedAfterCrash', listener: () => void): void;
2769
2769
 
2770
+ /**
2771
+ * Fired on worker targets when main worker script and any imported scripts have been evaluated.
2772
+ * @experimental
2773
+ */
2774
+ on(event: 'workerScriptLoaded', listener: () => void): void;
2775
+
2770
2776
  }
2771
2777
 
2772
2778
  export interface LayerTreeApi {
@@ -3417,32 +3423,6 @@ export namespace ProtocolProxyApi {
3417
3423
  */
3418
3424
  on(event: 'policyUpdated', listener: () => void): void;
3419
3425
 
3420
- /**
3421
- * Fired once when parsing the .wbn file has succeeded.
3422
- * The event contains the information about the web bundle contents.
3423
- * @experimental
3424
- */
3425
- on(event: 'subresourceWebBundleMetadataReceived', listener: (params: Protocol.Network.SubresourceWebBundleMetadataReceivedEvent) => void): void;
3426
-
3427
- /**
3428
- * Fired once when parsing the .wbn file has failed.
3429
- * @experimental
3430
- */
3431
- on(event: 'subresourceWebBundleMetadataError', listener: (params: Protocol.Network.SubresourceWebBundleMetadataErrorEvent) => void): void;
3432
-
3433
- /**
3434
- * Fired when handling requests for resources within a .wbn file.
3435
- * Note: this will only be fired for resources that are requested by the webpage.
3436
- * @experimental
3437
- */
3438
- on(event: 'subresourceWebBundleInnerResponseParsed', listener: (params: Protocol.Network.SubresourceWebBundleInnerResponseParsedEvent) => void): void;
3439
-
3440
- /**
3441
- * Fired when request for resources within a .wbn file failed.
3442
- * @experimental
3443
- */
3444
- on(event: 'subresourceWebBundleInnerResponseError', listener: (params: Protocol.Network.SubresourceWebBundleInnerResponseErrorEvent) => void): void;
3445
-
3446
3426
  /**
3447
3427
  * Is sent whenever a new report is added.
3448
3428
  * And after 'enableReportingApi' for all existing reports.
@@ -2919,6 +2919,14 @@ export namespace ProtocolTestsProxyApi {
2919
2919
  offTargetReloadedAfterCrash(listener: () => void): void;
2920
2920
  onceTargetReloadedAfterCrash(eventMatcher?: () => boolean): Promise<void>;
2921
2921
 
2922
+ /**
2923
+ * Fired on worker targets when main worker script and any imported scripts have been evaluated.
2924
+ * @experimental
2925
+ */
2926
+ onWorkerScriptLoaded(listener: () => void): void;
2927
+ offWorkerScriptLoaded(listener: () => void): void;
2928
+ onceWorkerScriptLoaded(eventMatcher?: () => boolean): Promise<void>;
2929
+
2922
2930
  }
2923
2931
 
2924
2932
  export interface LayerTreeApi {
@@ -3659,40 +3667,6 @@ export namespace ProtocolTestsProxyApi {
3659
3667
  offPolicyUpdated(listener: () => void): void;
3660
3668
  oncePolicyUpdated(eventMatcher?: () => boolean): Promise<void>;
3661
3669
 
3662
- /**
3663
- * Fired once when parsing the .wbn file has succeeded.
3664
- * The event contains the information about the web bundle contents.
3665
- * @experimental
3666
- */
3667
- onSubresourceWebBundleMetadataReceived(listener: (event: { params: Protocol.Network.SubresourceWebBundleMetadataReceivedEvent }) => void): void;
3668
- offSubresourceWebBundleMetadataReceived(listener: (event: { params: Protocol.Network.SubresourceWebBundleMetadataReceivedEvent }) => void): void;
3669
- onceSubresourceWebBundleMetadataReceived(eventMatcher?: (event: { params: Protocol.Network.SubresourceWebBundleMetadataReceivedEvent }) => boolean): Promise<{ params: Protocol.Network.SubresourceWebBundleMetadataReceivedEvent }>;
3670
-
3671
- /**
3672
- * Fired once when parsing the .wbn file has failed.
3673
- * @experimental
3674
- */
3675
- onSubresourceWebBundleMetadataError(listener: (event: { params: Protocol.Network.SubresourceWebBundleMetadataErrorEvent }) => void): void;
3676
- offSubresourceWebBundleMetadataError(listener: (event: { params: Protocol.Network.SubresourceWebBundleMetadataErrorEvent }) => void): void;
3677
- onceSubresourceWebBundleMetadataError(eventMatcher?: (event: { params: Protocol.Network.SubresourceWebBundleMetadataErrorEvent }) => boolean): Promise<{ params: Protocol.Network.SubresourceWebBundleMetadataErrorEvent }>;
3678
-
3679
- /**
3680
- * Fired when handling requests for resources within a .wbn file.
3681
- * Note: this will only be fired for resources that are requested by the webpage.
3682
- * @experimental
3683
- */
3684
- onSubresourceWebBundleInnerResponseParsed(listener: (event: { params: Protocol.Network.SubresourceWebBundleInnerResponseParsedEvent }) => void): void;
3685
- offSubresourceWebBundleInnerResponseParsed(listener: (event: { params: Protocol.Network.SubresourceWebBundleInnerResponseParsedEvent }) => void): void;
3686
- onceSubresourceWebBundleInnerResponseParsed(eventMatcher?: (event: { params: Protocol.Network.SubresourceWebBundleInnerResponseParsedEvent }) => boolean): Promise<{ params: Protocol.Network.SubresourceWebBundleInnerResponseParsedEvent }>;
3687
-
3688
- /**
3689
- * Fired when request for resources within a .wbn file failed.
3690
- * @experimental
3691
- */
3692
- onSubresourceWebBundleInnerResponseError(listener: (event: { params: Protocol.Network.SubresourceWebBundleInnerResponseErrorEvent }) => void): void;
3693
- offSubresourceWebBundleInnerResponseError(listener: (event: { params: Protocol.Network.SubresourceWebBundleInnerResponseErrorEvent }) => void): void;
3694
- onceSubresourceWebBundleInnerResponseError(eventMatcher?: (event: { params: Protocol.Network.SubresourceWebBundleInnerResponseErrorEvent }) => boolean): Promise<{ params: Protocol.Network.SubresourceWebBundleInnerResponseErrorEvent }>;
3695
-
3696
3670
  /**
3697
3671
  * Is sent whenever a new report is added.
3698
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.