From 6abdabb99cf875ed06947274d44af2302a9d1a3f Mon Sep 17 00:00:00 2001 From: DevTools Bot <24444246+devtools-bot@users.noreply.github.com> Date: Tue, 24 Dec 2024 04:29:08 +0000 Subject: [PATCH] Roll protocol to r1399977 --- changelog.md | 19 ++++++++++++++++++- json/browser_protocol.json | 2 +- package.json | 2 +- pdl/browser_protocol.pdl | 4 ++-- types/protocol.d.ts | 4 ++-- 5 files changed, 24 insertions(+), 7 deletions(-) diff --git a/changelog.md b/changelog.md index 41bb5e1330..c9061b8b49 100644 --- a/changelog.md +++ b/changelog.md @@ -1,7 +1,24 @@ +## Roll protocol to r1399977 — _2024-12-24T04:29:08.000Z_ +###### Diff: [`17f0c33...23441e6`](https://github.com/ChromeDevTools/devtools-protocol/compare/17f0c33...23441e6) + +```diff +@@ browser_protocol.pdl:499 @@ experimental domain Audits + type AffectedRequest extends object + properties + # The unique request id. +- Network.RequestId requestId +- optional string url ++ optional Network.RequestId requestId ++ string url + + # Information about the frame affected by an inspector issue. + type AffectedFrame extends object +``` + ## Roll protocol to r1396320 — _2024-12-14T04:29:52.000Z_ -###### Diff: [`e61f211...8337043`](https://github.com/ChromeDevTools/devtools-protocol/compare/e61f211...8337043) +###### Diff: [`e61f211...17f0c33`](https://github.com/ChromeDevTools/devtools-protocol/compare/e61f211...17f0c33) ```diff @@ browser_protocol.pdl:2255 @@ experimental domain CSS diff --git a/json/browser_protocol.json b/json/browser_protocol.json index 9023f9679e..fa5c94fea3 100644 --- a/json/browser_protocol.json +++ b/json/browser_protocol.json @@ -1017,11 +1017,11 @@ { "name": "requestId", "description": "The unique request id.", + "optional": true, "$ref": "Network.RequestId" }, { "name": "url", - "optional": true, "type": "string" } ] diff --git a/package.json b/package.json index 70c00ed041..fa33598e2f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "devtools-protocol", - "version": "0.0.1396320", + "version": "0.0.1399977", "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 6254565377..06a4381a41 100644 --- a/pdl/browser_protocol.pdl +++ b/pdl/browser_protocol.pdl @@ -499,8 +499,8 @@ experimental domain Audits type AffectedRequest extends object properties # The unique request id. - Network.RequestId requestId - optional string url + optional Network.RequestId requestId + string url # Information about the frame affected by an inspector issue. type AffectedFrame extends object diff --git a/types/protocol.d.ts b/types/protocol.d.ts index d5c3f2705a..f19b965990 100644 --- a/types/protocol.d.ts +++ b/types/protocol.d.ts @@ -3314,8 +3314,8 @@ export namespace Protocol { /** * The unique request id. */ - requestId: Network.RequestId; - url?: string; + requestId?: Network.RequestId; + url: string; } /**