Skip to content

Commit

Permalink
Roll protocol to r1202299
Browse files Browse the repository at this point in the history
  • Loading branch information
devtools-bot committed Sep 28, 2023
1 parent 89ab493 commit e3feaa6
Show file tree
Hide file tree
Showing 5 changed files with 78 additions and 68 deletions.
68 changes: 67 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,73 @@


## Roll protocol to r1202299 — _2023-09-28T04:26:18.000Z_
###### Diff: [`89ab493...dc4eea0`](https://github.com/ChromeDevTools/devtools-protocol/compare/`89ab493...dc4eea0`)

```diff
@@ js_protocol.pdl:1014 @@ domain Runtime
# Unique script identifier.
type ScriptId extends string

- # Represents options for serialization. Overrides `generatePreview` and `returnByValue`.
+ # Represents options for serialization. Overrides `generatePreview`, `returnByValue` and
+ # `generateWebDriverValue`.
type SerializationOptions extends object
properties
enum serialization
@@ -1026,7 +1027,8 @@ domain Runtime
# `returnByValue: true`. Overrides `returnByValue`.
json
# Only remote object id is put in the result. Same bahaviour as if no
- # `serializationOptions`, `generatePreview` nor `returnByValue` are provided.
+ # `serializationOptions`, `generatePreview`, `returnByValue` nor `generateWebDriverValue`
+ # are provided.
idOnly

# Deep serialization depth. Default is full depth. Respected only in `deep` serialization mode.
@@ -1124,6 +1126,8 @@ domain Runtime
optional UnserializableValue unserializableValue
# String representation of the object.
optional string description
+ # Deprecated. Use `deepSerializedValue` instead. WebDriver BiDi representation of the value.
+ deprecated optional DeepSerializedValue webDriverValue
# Deep serialized value.
experimental optional DeepSerializedValue deepSerializedValue
# Unique object identifier (for non-primitive values).
@@ -1439,8 +1443,13 @@ domain Runtime
# boundaries).
# This is mutually exclusive with `executionContextId`.
experimental optional string uniqueContextId
+ # Deprecated. Use `serializationOptions: {serialization:"deep"}` instead.
+ # Whether the result should contain `webDriverValue`, serialized according to
+ # https://w3c.github.io/webdriver-bidi. This is mutually exclusive with `returnByValue`, but
+ # resulting `objectId` is still provided.
+ deprecated optional boolean generateWebDriverValue
# Specifies the result serialization. If provided, overrides
- # `generatePreview` and `returnByValue`.
+ # `generatePreview`, `returnByValue` and `generateWebDriverValue`.
experimental optional SerializationOptions serializationOptions

returns
@@ -1528,8 +1537,14 @@ domain Runtime
# boundaries).
# This is mutually exclusive with `contextId`.
experimental optional string uniqueContextId
+ # Deprecated. Use `serializationOptions: {serialization:"deep"}` instead.
+ # Whether the result should contain `webDriverValue`, serialized
+ # according to
+ # https://w3c.github.io/webdriver-bidi. This is mutually exclusive with `returnByValue`, but
+ # resulting `objectId` is still provided.
+ deprecated optional boolean generateWebDriverValue
# Specifies the result serialization. If provided, overrides
- # `generatePreview` and `returnByValue`.
+ # `generatePreview`, `returnByValue` and `generateWebDriverValue`.
experimental optional SerializationOptions serializationOptions
returns
# Evaluation result.
```

## Roll protocol to r1200039 — _2023-09-22T04:26:23.000Z_
###### Diff: [`bef1c5e...e7ef1c9`](https://github.com/ChromeDevTools/devtools-protocol/compare/`bef1c5e...e7ef1c9`)
###### Diff: [`bef1c5e...89ab493`](https://github.com/ChromeDevTools/devtools-protocol/compare/`bef1c5e...89ab493`)

```diff
@@ browser_protocol.pdl:874 @@ experimental domain Audits
Expand Down
27 changes: 3 additions & 24 deletions json/js_protocol.json
Original file line number Diff line number Diff line change
Expand Up @@ -2163,7 +2163,7 @@
},
{
"id": "SerializationOptions",
"description": "Represents options for serialization. Overrides `generatePreview`, `returnByValue` and\n`generateWebDriverValue`.",
"description": "Represents options for serialization. Overrides `generatePreview` and `returnByValue`.",
"type": "object",
"properties": [
{
Expand Down Expand Up @@ -2323,13 +2323,6 @@
"optional": true,
"type": "string"
},
{
"name": "webDriverValue",
"description": "Deprecated. Use `deepSerializedValue` instead. WebDriver BiDi representation of the value.",
"deprecated": true,
"optional": true,
"$ref": "DeepSerializedValue"
},
{
"name": "deepSerializedValue",
"description": "Deep serialized value.",
Expand Down Expand Up @@ -2998,16 +2991,9 @@
"optional": true,
"type": "string"
},
{
"name": "generateWebDriverValue",
"description": "Deprecated. Use `serializationOptions: {serialization:\"deep\"}` instead.\nWhether the result should contain `webDriverValue`, serialized according to\nhttps://w3c.github.io/webdriver-bidi. This is mutually exclusive with `returnByValue`, but\nresulting `objectId` is still provided.",
"deprecated": true,
"optional": true,
"type": "boolean"
},
{
"name": "serializationOptions",
"description": "Specifies the result serialization. If provided, overrides\n`generatePreview`, `returnByValue` and `generateWebDriverValue`.",
"description": "Specifies the result serialization. If provided, overrides\n`generatePreview` and `returnByValue`.",
"experimental": true,
"optional": true,
"$ref": "SerializationOptions"
Expand Down Expand Up @@ -3180,16 +3166,9 @@
"optional": true,
"type": "string"
},
{
"name": "generateWebDriverValue",
"description": "Deprecated. Use `serializationOptions: {serialization:\"deep\"}` instead.\nWhether the result should contain `webDriverValue`, serialized\naccording to\nhttps://w3c.github.io/webdriver-bidi. This is mutually exclusive with `returnByValue`, but\nresulting `objectId` is still provided.",
"deprecated": true,
"optional": true,
"type": "boolean"
},
{
"name": "serializationOptions",
"description": "Specifies the result serialization. If provided, overrides\n`generatePreview`, `returnByValue` and `generateWebDriverValue`.",
"description": "Specifies the result serialization. If provided, overrides\n`generatePreview` and `returnByValue`.",
"experimental": true,
"optional": true,
"$ref": "SerializationOptions"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "devtools-protocol",
"version": "0.0.1200039",
"version": "0.0.1202299",
"description": "The Chrome DevTools Protocol JSON",
"repository": "https://github.com/ChromeDevTools/devtools-protocol",
"author": "The Chromium Authors",
Expand Down
23 changes: 4 additions & 19 deletions pdl/js_protocol.pdl
Original file line number Diff line number Diff line change
Expand Up @@ -1014,8 +1014,7 @@ domain Runtime
# Unique script identifier.
type ScriptId extends string

# Represents options for serialization. Overrides `generatePreview`, `returnByValue` and
# `generateWebDriverValue`.
# Represents options for serialization. Overrides `generatePreview` and `returnByValue`.
type SerializationOptions extends object
properties
enum serialization
Expand All @@ -1027,8 +1026,7 @@ domain Runtime
# `returnByValue: true`. Overrides `returnByValue`.
json
# Only remote object id is put in the result. Same bahaviour as if no
# `serializationOptions`, `generatePreview`, `returnByValue` nor `generateWebDriverValue`
# are provided.
# `serializationOptions`, `generatePreview` nor `returnByValue` are provided.
idOnly

# Deep serialization depth. Default is full depth. Respected only in `deep` serialization mode.
Expand Down Expand Up @@ -1126,8 +1124,6 @@ domain Runtime
optional UnserializableValue unserializableValue
# String representation of the object.
optional string description
# Deprecated. Use `deepSerializedValue` instead. WebDriver BiDi representation of the value.
deprecated optional DeepSerializedValue webDriverValue
# Deep serialized value.
experimental optional DeepSerializedValue deepSerializedValue
# Unique object identifier (for non-primitive values).
Expand Down Expand Up @@ -1443,13 +1439,8 @@ domain Runtime
# boundaries).
# This is mutually exclusive with `executionContextId`.
experimental optional string uniqueContextId
# Deprecated. Use `serializationOptions: {serialization:"deep"}` instead.
# Whether the result should contain `webDriverValue`, serialized according to
# https://w3c.github.io/webdriver-bidi. This is mutually exclusive with `returnByValue`, but
# resulting `objectId` is still provided.
deprecated optional boolean generateWebDriverValue
# Specifies the result serialization. If provided, overrides
# `generatePreview`, `returnByValue` and `generateWebDriverValue`.
# `generatePreview` and `returnByValue`.
experimental optional SerializationOptions serializationOptions

returns
Expand Down Expand Up @@ -1537,14 +1528,8 @@ domain Runtime
# boundaries).
# This is mutually exclusive with `contextId`.
experimental optional string uniqueContextId
# Deprecated. Use `serializationOptions: {serialization:"deep"}` instead.
# Whether the result should contain `webDriverValue`, serialized
# according to
# https://w3c.github.io/webdriver-bidi. This is mutually exclusive with `returnByValue`, but
# resulting `objectId` is still provided.
deprecated optional boolean generateWebDriverValue
# Specifies the result serialization. If provided, overrides
# `generatePreview`, `returnByValue` and `generateWebDriverValue`.
# `generatePreview` and `returnByValue`.
experimental optional SerializationOptions serializationOptions
returns
# Evaluation result.
Expand Down
26 changes: 3 additions & 23 deletions types/protocol.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1497,8 +1497,7 @@ export namespace Protocol {
}

/**
* Represents options for serialization. Overrides `generatePreview`, `returnByValue` and
* `generateWebDriverValue`.
* Represents options for serialization. Overrides `generatePreview` and `returnByValue`.
*/
export interface SerializationOptions {
/**
Expand Down Expand Up @@ -1637,10 +1636,6 @@ export namespace Protocol {
* String representation of the object.
*/
description?: string;
/**
* Deprecated. Use `deepSerializedValue` instead. WebDriver BiDi representation of the value.
*/
webDriverValue?: DeepSerializedValue;
/**
* Deep serialized value.
*/
Expand Down Expand Up @@ -2151,16 +2146,9 @@ export namespace Protocol {
* This is mutually exclusive with `executionContextId`.
*/
uniqueContextId?: string;
/**
* Deprecated. Use `serializationOptions: {serialization:"deep"}` instead.
* Whether the result should contain `webDriverValue`, serialized according to
* https://w3c.github.io/webdriver-bidi. This is mutually exclusive with `returnByValue`, but
* resulting `objectId` is still provided.
*/
generateWebDriverValue?: boolean;
/**
* Specifies the result serialization. If provided, overrides
* `generatePreview`, `returnByValue` and `generateWebDriverValue`.
* `generatePreview` and `returnByValue`.
*/
serializationOptions?: SerializationOptions;
}
Expand Down Expand Up @@ -2285,17 +2273,9 @@ export namespace Protocol {
* This is mutually exclusive with `contextId`.
*/
uniqueContextId?: string;
/**
* Deprecated. Use `serializationOptions: {serialization:"deep"}` instead.
* Whether the result should contain `webDriverValue`, serialized
* according to
* https://w3c.github.io/webdriver-bidi. This is mutually exclusive with `returnByValue`, but
* resulting `objectId` is still provided.
*/
generateWebDriverValue?: boolean;
/**
* Specifies the result serialization. If provided, overrides
* `generatePreview`, `returnByValue` and `generateWebDriverValue`.
* `generatePreview` and `returnByValue`.
*/
serializationOptions?: SerializationOptions;
}
Expand Down

0 comments on commit e3feaa6

Please sign in to comment.