From 06fb977f76e64ece9c1999a1acb95baf432aa138 Mon Sep 17 00:00:00 2001 From: DevTools Bot <24444246+devtools-bot@users.noreply.github.com> Date: Wed, 21 Feb 2024 04:25:55 +0000 Subject: [PATCH] Roll protocol to r1263133 --- changelog.md | 59 ++++++++++++++++++++++---------------- json/browser_protocol.json | 6 ++-- package.json | 2 +- pdl/browser_protocol.pdl | 6 ++-- types/protocol.d.ts | 6 ++-- 5 files changed, 45 insertions(+), 34 deletions(-) diff --git a/changelog.md b/changelog.md index ac9f7ecb6e..bdc8659161 100644 --- a/changelog.md +++ b/changelog.md @@ -1,7 +1,41 @@ +## Roll protocol to r1263133 — _2024-02-21T04:25:55.000Z_ +###### Diff: [`1291a1c...64eb495`](https://github.com/ChromeDevTools/devtools-protocol/compare/1291a1c...64eb495) + +```diff +@@ browser_protocol.pdl:8872 @@ domain Page + string message + # Dialog type. + DialogType type +- # True if browser is capable showing or acting on the given dialog. When browser has no ++ # True iff browser is capable showing or acting on the given dialog. When browser has no + # dialog handler for given target, calling alert while Page domain is engaged will stall + # the page execution. Execution can be resumed via calling Page.handleJavaScriptDialog. + boolean hasBrowserHandler +@@ -10449,8 +10449,8 @@ domain Target + type TargetInfo extends object + properties + TargetID targetId +- string type + # List of types: https://source.chromium.org/chromium/chromium/src/+/main:content/browser/devtools/devtools_agent_host_impl.cc?ss=chromium&q=f:devtools%20-f:out%20%22::kTypeTab%5B%5D%22 ++ string type + string title + string url + # Whether the target has an attached client. +@@ -11718,7 +11718,7 @@ experimental domain Preload + optional string url + optional Network.RequestId requestId + # Error information +- # `errorMessage` is null if `errorType` is null. ++ # `errorMessage` is null iff `errorType` is null. + optional RuleSetErrorType errorType + # TODO(https://crbug.com/1425354): Replace this property with structured error. + deprecated optional string errorMessage +``` + ## Roll protocol to r1262535 — _2024-02-20T04:27:19.000Z_ -###### Diff: [`dda659f...1a2c6bc`](https://github.com/ChromeDevTools/devtools-protocol/compare/dda659f...1a2c6bc) +###### Diff: [`dda659f...1291a1c`](https://github.com/ChromeDevTools/devtools-protocol/compare/dda659f...1291a1c) ```diff @@ browser_protocol.pdl:217 @@ experimental domain Accessibility @@ -11411,29 +11445,6 @@ index 09c420e..bd277eb 100644 + optional Runtime.RemoteObjectId objectId + returns + array of AXNode nodes -+ - # Fetches a particular accessibility node by AXNodeId. - # Requires `enable()` to have been called previously. - experimental command getChildAXNodes -``` - -## Roll protocol to r939404 — _2021-11-08T17:15:45.000Z_ -###### Diff: [`8ae67d9...ec485f2`](https://github.com/ChromeDevTools/devtools-protocol/compare/8ae67d9...ec485f2) - -```diff -@@ browser_protocol.pdl:222 @@ experimental domain Accessibility - returns - array of AXNode nodes - -+ # Fetches the root node. -+ # Requires `enable()` to have been called previously. -+ experimental command getRootAXNode -+ parameters -+ # The frame in whose document the node resides. -+ # If omitted, the root frame is used. -+ optional Page.FrameId frameId -+ returns -+ AXNode node + # Fetches a particular accessibility node by AXNodeId. # Requires `enable()` to have been called previously. diff --git a/json/browser_protocol.json b/json/browser_protocol.json index 784a7e373f..bc074d2157 100644 --- a/json/browser_protocol.json +++ b/json/browser_protocol.json @@ -19105,7 +19105,7 @@ }, { "name": "hasBrowserHandler", - "description": "True if browser is capable showing or acting on the given dialog. When browser has no\ndialog handler for given target, calling alert while Page domain is engaged will stall\nthe page execution. Execution can be resumed via calling Page.handleJavaScriptDialog.", + "description": "True iff browser is capable showing or acting on the given dialog. When browser has no\ndialog handler for given target, calling alert while Page domain is engaged will stall\nthe page execution. Execution can be resumed via calling Page.handleJavaScriptDialog.", "type": "boolean" }, { @@ -22236,11 +22236,11 @@ }, { "name": "type", + "description": "List of types: https://source.chromium.org/chromium/chromium/src/+/main:content/browser/devtools/devtools_agent_host_impl.cc?ss=chromium&q=f:devtools%20-f:out%20%22::kTypeTab%5B%5D%22", "type": "string" }, { "name": "title", - "description": "List of types: https://source.chromium.org/chromium/chromium/src/+/main:content/browser/devtools/devtools_agent_host_impl.cc?ss=chromium&q=f:devtools%20-f:out%20%22::kTypeTab%5B%5D%22", "type": "string" }, { @@ -24877,7 +24877,7 @@ }, { "name": "errorType", - "description": "Error information\n`errorMessage` is null if `errorType` is null.", + "description": "Error information\n`errorMessage` is null iff `errorType` is null.", "optional": true, "$ref": "RuleSetErrorType" }, diff --git a/package.json b/package.json index 78587dd341..dc9e021511 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "devtools-protocol", - "version": "0.0.1262535", + "version": "0.0.1263133", "description": "The Chrome DevTools Protocol JSON", "repository": "https://github.com/ChromeDevTools/devtools-protocol", "author": "The Chromium Authors", diff --git a/pdl/browser_protocol.pdl b/pdl/browser_protocol.pdl index f65087e3ef..e88bf6b6fd 100644 --- a/pdl/browser_protocol.pdl +++ b/pdl/browser_protocol.pdl @@ -8872,7 +8872,7 @@ domain Page string message # Dialog type. DialogType type - # True if browser is capable showing or acting on the given dialog. When browser has no + # True iff browser is capable showing or acting on the given dialog. When browser has no # dialog handler for given target, calling alert while Page domain is engaged will stall # the page execution. Execution can be resumed via calling Page.handleJavaScriptDialog. boolean hasBrowserHandler @@ -10449,8 +10449,8 @@ domain Target type TargetInfo extends object properties TargetID targetId - string type # List of types: https://source.chromium.org/chromium/chromium/src/+/main:content/browser/devtools/devtools_agent_host_impl.cc?ss=chromium&q=f:devtools%20-f:out%20%22::kTypeTab%5B%5D%22 + string type string title string url # Whether the target has an attached client. @@ -11718,7 +11718,7 @@ experimental domain Preload optional string url optional Network.RequestId requestId # Error information - # `errorMessage` is null if `errorType` is null. + # `errorMessage` is null iff `errorType` is null. optional RuleSetErrorType errorType # TODO(https://crbug.com/1425354): Replace this property with structured error. deprecated optional string errorMessage diff --git a/types/protocol.d.ts b/types/protocol.d.ts index 762d9709a2..f5b686fba3 100644 --- a/types/protocol.d.ts +++ b/types/protocol.d.ts @@ -14585,7 +14585,7 @@ export namespace Protocol { */ type: DialogType; /** - * True if browser is capable showing or acting on the given dialog. When browser has no + * True iff browser is capable showing or acting on the given dialog. When browser has no * dialog handler for given target, calling alert while Page domain is engaged will stall * the page execution. Execution can be resumed via calling Page.handleJavaScriptDialog. */ @@ -16306,10 +16306,10 @@ export namespace Protocol { export interface TargetInfo { targetId: TargetID; - type: string; /** * List of types: https://source.chromium.org/chromium/chromium/src/+/main:content/browser/devtools/devtools_agent_host_impl.cc?ss=chromium&q=f:devtools%20-f:out%20%22::kTypeTab%5B%5D%22 */ + type: string; title: string; url: string; /** @@ -17950,7 +17950,7 @@ export namespace Protocol { requestId?: Network.RequestId; /** * Error information - * `errorMessage` is null if `errorType` is null. + * `errorMessage` is null iff `errorType` is null. */ errorType?: RuleSetErrorType; /**