devtools-protocol 0.0.861447 → 0.0.863986

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/changelog.md CHANGED
@@ -1,5 +1,31 @@
1
1
 
2
2
 
3
+ ## Roll protocol to r862770
4
+ ###### _2021-03-15 04:16:04_ | Diff: [c5bd6c3...576a381](https://github.com/ChromeDevTools/devtools-protocol/compare/c5bd6c3...576a381)
5
+ #### `Tracing`: modified command
6
+ * [`Tracing.start`](https://chromedevtools.github.io/devtools-protocol/tot/Tracing/#method-start) - The parameters's `tracingBackend` _added_.
7
+ #### `Tracing`: new type
8
+ * [`Tracing.TracingBackend`](https://chromedevtools.github.io/devtools-protocol/tot/Tracing/#type-TracingBackend)
9
+
10
+
11
+ ## Roll protocol to r862653
12
+ ###### _2021-03-12 20:16:21 -0800_ | Diff: [3704a77...c5bd6c3](https://github.com/ChromeDevTools/devtools-protocol/compare/3704a77...c5bd6c3)
13
+ #### `Network`: modified type
14
+ * [`Network.BlockedReason`](https://chromedevtools.github.io/devtools-protocol/tot/Network/#type-BlockedReason) - The enum's `corp-not-same-site` _removed_. The enum's `collapsed-by-client` _updated_. The enum's `coep-frame-resource-needs-coep-header` _updated_. The enum's `coop-sandboxed-iframe-cannot-navigate-to-coop-page` _updated_. The enum's `corp-not-same-origin` _updated_. The enum's `corp-not-same-origin-after-defaulted-to-same-origin-by-coep` _updated_.
15
+
16
+
17
+ ## Roll protocol to r861504
18
+ ###### _2021-03-10 02:16:14 -0800_ | Diff: [7622144...3704a77](https://github.com/ChromeDevTools/devtools-protocol/compare/7622144...3704a77)
19
+ #### `Target`: modified command
20
+ * [`Target.createTarget`](https://chromedevtools.github.io/devtools-protocol/tot/Target/#method-createTarget) - The `url` in the parameters had `description` _updated_.
21
+
22
+
23
+ ## Roll protocol to r861447
24
+ ###### _2021-03-09 22:16:12 -0800_ | Diff: [b434e14...7622144](https://github.com/ChromeDevTools/devtools-protocol/compare/b434e14...7622144)
25
+ #### `Page`: removed event
26
+ * [`Page.historyNavigationOutcomeReported`](https://chromedevtools.github.io/devtools-protocol/tot/Page/#event-historyNavigationOutcomeReported)
27
+
28
+
3
29
  ## Roll protocol to r861373
4
30
  ###### _2021-03-09 17:16:11 -0800_ | Diff: [1cdf17e...b434e14](https://github.com/ChromeDevTools/devtools-protocol/compare/1cdf17e...b434e14)
5
31
  #### `Page`: new event
@@ -10089,7 +10089,6 @@
10089
10089
  "inspector",
10090
10090
  "subresource-filter",
10091
10091
  "content-type",
10092
- "collapsed-by-client",
10093
10092
  "coep-frame-resource-needs-coep-header",
10094
10093
  "coop-sandboxed-iframe-cannot-navigate-to-coop-page",
10095
10094
  "corp-not-same-origin",
@@ -14540,19 +14539,19 @@
14540
14539
  "returns": [
14541
14540
  {
14542
14541
  "name": "layoutViewport",
14543
- "description": "Deprecated metrics relating to the layout viewport. Can be in DP or in CSS pixels depending on the `enable-use-zoom-for-dsf` flag. Use `normalisedLayoutViewport` instead.",
14542
+ "description": "Deprecated metrics relating to the layout viewport. Can be in DP or in CSS pixels depending on the `enable-use-zoom-for-dsf` flag. Use `cssLayoutViewport` instead.",
14544
14543
  "deprecated": true,
14545
14544
  "$ref": "LayoutViewport"
14546
14545
  },
14547
14546
  {
14548
14547
  "name": "visualViewport",
14549
- "description": "Deprecated metrics relating to the visual viewport. Can be in DP or in CSS pixels depending on the `enable-use-zoom-for-dsf` flag. Use `normalisedVisualViewport` instead.",
14548
+ "description": "Deprecated metrics relating to the visual viewport. Can be in DP or in CSS pixels depending on the `enable-use-zoom-for-dsf` flag. Use `cssVisualViewport` instead.",
14550
14549
  "deprecated": true,
14551
14550
  "$ref": "VisualViewport"
14552
14551
  },
14553
14552
  {
14554
14553
  "name": "contentSize",
14555
- "description": "Deprecated size of scrollable area. Can be in DP or in CSS pixels depending on the `enable-use-zoom-for-dsf` flag. Use `normalisedContentSize` instead.",
14554
+ "description": "Deprecated size of scrollable area. Can be in DP or in CSS pixels depending on the `enable-use-zoom-for-dsf` flag. Use `cssContentSize` instead.",
14556
14555
  "deprecated": true,
14557
14556
  "$ref": "DOM.Rect"
14558
14557
  },
@@ -17624,7 +17623,7 @@
17624
17623
  "parameters": [
17625
17624
  {
17626
17625
  "name": "url",
17627
- "description": "The initial URL the page will be navigated to.",
17626
+ "description": "The initial URL the page will be navigated to. An empty string indicates about:blank.",
17628
17627
  "type": "string"
17629
17628
  },
17630
17629
  {
@@ -18078,6 +18077,16 @@
18078
18077
  "light",
18079
18078
  "detailed"
18080
18079
  ]
18080
+ },
18081
+ {
18082
+ "id": "TracingBackend",
18083
+ "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`.",
18084
+ "type": "string",
18085
+ "enum": [
18086
+ "auto",
18087
+ "chrome",
18088
+ "system"
18089
+ ]
18081
18090
  }
18082
18091
  ],
18083
18092
  "commands": [
@@ -18196,6 +18205,12 @@
18196
18205
  "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)",
18197
18206
  "optional": true,
18198
18207
  "type": "string"
18208
+ },
18209
+ {
18210
+ "name": "tracingBackend",
18211
+ "description": "Backend type (defaults to `auto`)",
18212
+ "optional": true,
18213
+ "$ref": "TracingBackend"
18199
18214
  }
18200
18215
  ]
18201
18216
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.861447",
3
+ "version": "0.0.863986",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -4605,7 +4605,6 @@ domain Network
4605
4605
  inspector
4606
4606
  subresource-filter
4607
4607
  content-type
4608
- collapsed-by-client
4609
4608
  coep-frame-resource-needs-coep-header
4610
4609
  coop-sandboxed-iframe-cannot-navigate-to-coop-page
4611
4610
  corp-not-same-origin
@@ -6746,11 +6745,11 @@ domain Page
6746
6745
  # Returns metrics relating to the layouting of the page, such as viewport bounds/scale.
6747
6746
  command getLayoutMetrics
6748
6747
  returns
6749
- # Deprecated metrics relating to the layout viewport. Can be in DP or in CSS pixels depending on the `enable-use-zoom-for-dsf` flag. Use `normalisedLayoutViewport` instead.
6748
+ # Deprecated metrics relating to the layout viewport. Can be in DP or in CSS pixels depending on the `enable-use-zoom-for-dsf` flag. Use `cssLayoutViewport` instead.
6750
6749
  deprecated LayoutViewport layoutViewport
6751
- # Deprecated metrics relating to the visual viewport. Can be in DP or in CSS pixels depending on the `enable-use-zoom-for-dsf` flag. Use `normalisedVisualViewport` instead.
6750
+ # Deprecated metrics relating to the visual viewport. Can be in DP or in CSS pixels depending on the `enable-use-zoom-for-dsf` flag. Use `cssVisualViewport` instead.
6752
6751
  deprecated VisualViewport visualViewport
6753
- # Deprecated size of scrollable area. Can be in DP or in CSS pixels depending on the `enable-use-zoom-for-dsf` flag. Use `normalisedContentSize` instead.
6752
+ # Deprecated size of scrollable area. Can be in DP or in CSS pixels depending on the `enable-use-zoom-for-dsf` flag. Use `cssContentSize` instead.
6754
6753
  deprecated DOM.Rect contentSize
6755
6754
  # Metrics relating to the layout viewport in CSS pixels.
6756
6755
  LayoutViewport cssLayoutViewport
@@ -8168,7 +8167,7 @@ domain Target
8168
8167
  # Creates a new page.
8169
8168
  command createTarget
8170
8169
  parameters
8171
- # The initial URL the page will be navigated to.
8170
+ # The initial URL the page will be navigated to. An empty string indicates about:blank.
8172
8171
  string url
8173
8172
  # Frame width in DIP (headless chrome only).
8174
8173
  optional integer width
@@ -8381,6 +8380,17 @@ experimental domain Tracing
8381
8380
  light
8382
8381
  detailed
8383
8382
 
8383
+ # Backend type to use for tracing. `chrome` uses the Chrome-integrated
8384
+ # tracing service and is supported on all platforms. `system` is only
8385
+ # supported on Chrome OS and uses the Perfetto system tracing service.
8386
+ # `auto` chooses `system` when the perfettoConfig provided to Tracing.start
8387
+ # specifies at least one non-Chrome data source; otherwise uses `chrome`.
8388
+ type TracingBackend extends string
8389
+ enum
8390
+ auto
8391
+ chrome
8392
+ system
8393
+
8384
8394
  # Stop trace events collection.
8385
8395
  command end
8386
8396
 
@@ -8434,6 +8444,8 @@ experimental domain Tracing
8434
8444
  # When specified, the parameters `categories`, `options`, `traceConfig`
8435
8445
  # are ignored.
8436
8446
  optional binary perfettoConfig
8447
+ # Backend type (defaults to `auto`)
8448
+ optional TracingBackend tracingBackend
8437
8449
 
8438
8450
  event bufferUsage
8439
8451
  parameters
@@ -8900,7 +8900,7 @@ export namespace Protocol {
8900
8900
  /**
8901
8901
  * The reason why request was blocked.
8902
8902
  */
8903
- export type BlockedReason = ('other' | 'csp' | 'mixed-content' | 'origin' | 'inspector' | 'subresource-filter' | 'content-type' | 'collapsed-by-client' | 'coep-frame-resource-needs-coep-header' | 'coop-sandboxed-iframe-cannot-navigate-to-coop-page' | 'corp-not-same-origin' | 'corp-not-same-origin-after-defaulted-to-same-origin-by-coep' | 'corp-not-same-site');
8903
+ export type BlockedReason = ('other' | 'csp' | 'mixed-content' | 'origin' | 'inspector' | 'subresource-filter' | 'content-type' | 'coep-frame-resource-needs-coep-header' | 'coop-sandboxed-iframe-cannot-navigate-to-coop-page' | 'corp-not-same-origin' | 'corp-not-same-origin-after-defaulted-to-same-origin-by-coep' | 'corp-not-same-site');
8904
8904
 
8905
8905
  /**
8906
8906
  * The reason why request was blocked.
@@ -11807,15 +11807,15 @@ export namespace Protocol {
11807
11807
 
11808
11808
  export interface GetLayoutMetricsResponse {
11809
11809
  /**
11810
- * Deprecated metrics relating to the layout viewport. Can be in DP or in CSS pixels depending on the `enable-use-zoom-for-dsf` flag. Use `normalisedLayoutViewport` instead.
11810
+ * Deprecated metrics relating to the layout viewport. Can be in DP or in CSS pixels depending on the `enable-use-zoom-for-dsf` flag. Use `cssLayoutViewport` instead.
11811
11811
  */
11812
11812
  layoutViewport: LayoutViewport;
11813
11813
  /**
11814
- * Deprecated metrics relating to the visual viewport. Can be in DP or in CSS pixels depending on the `enable-use-zoom-for-dsf` flag. Use `normalisedVisualViewport` instead.
11814
+ * Deprecated metrics relating to the visual viewport. Can be in DP or in CSS pixels depending on the `enable-use-zoom-for-dsf` flag. Use `cssVisualViewport` instead.
11815
11815
  */
11816
11816
  visualViewport: VisualViewport;
11817
11817
  /**
11818
- * Deprecated size of scrollable area. Can be in DP or in CSS pixels depending on the `enable-use-zoom-for-dsf` flag. Use `normalisedContentSize` instead.
11818
+ * Deprecated size of scrollable area. Can be in DP or in CSS pixels depending on the `enable-use-zoom-for-dsf` flag. Use `cssContentSize` instead.
11819
11819
  */
11820
11820
  contentSize: DOM.Rect;
11821
11821
  /**
@@ -13774,7 +13774,7 @@ export namespace Protocol {
13774
13774
 
13775
13775
  export interface CreateTargetRequest {
13776
13776
  /**
13777
- * The initial URL the page will be navigated to.
13777
+ * The initial URL the page will be navigated to. An empty string indicates about:blank.
13778
13778
  */
13779
13779
  url: string;
13780
13780
  /**
@@ -14070,6 +14070,15 @@ export namespace Protocol {
14070
14070
  */
14071
14071
  export type MemoryDumpLevelOfDetail = ('background' | 'light' | 'detailed');
14072
14072
 
14073
+ /**
14074
+ * Backend type to use for tracing. `chrome` uses the Chrome-integrated
14075
+ * tracing service and is supported on all platforms. `system` is only
14076
+ * supported on Chrome OS and uses the Perfetto system tracing service.
14077
+ * `auto` chooses `system` when the perfettoConfig provided to Tracing.start
14078
+ * specifies at least one non-Chrome data source; otherwise uses `chrome`.
14079
+ */
14080
+ export type TracingBackend = ('auto' | 'chrome' | 'system');
14081
+
14073
14082
  export interface GetCategoriesResponse {
14074
14083
  /**
14075
14084
  * A list of supported tracing categories.
@@ -14146,6 +14155,10 @@ export namespace Protocol {
14146
14155
  * are ignored. (Encoded as a base64 string when passed over JSON)
14147
14156
  */
14148
14157
  perfettoConfig?: string;
14158
+ /**
14159
+ * Backend type (defaults to `auto`)
14160
+ */
14161
+ tracingBackend?: TracingBackend;
14149
14162
  }
14150
14163
 
14151
14164
  export interface BufferUsageEvent {