From 71bf2e1ede9c7b1045448fee460345fc04a96e5f Mon Sep 17 00:00:00 2001 From: Alex Rudenko Date: Mon, 3 May 2021 08:23:19 +0000 Subject: [PATCH] Roll deps and update CDP Bug: chromium:1200705 Change-Id: Ib56c560c1a9e0427b18e5c3cadbefa6451446f7e Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2866389 Auto-Submit: Alex Rudenko Commit-Queue: Jan Scheffler Reviewed-by: Jan Scheffler --- front_end/generated/InspectorBackendCommands.js | 4 +++- front_end/generated/protocol.d.ts | 14 ++++++++++---- .../public/devtools_protocol/browser_protocol.json | 13 +++++++++++-- .../public/devtools_protocol/browser_protocol.pdl | 12 ++++++++---- v8/include/js_protocol.pdl | 2 +- 5 files changed, 33 insertions(+), 12 deletions(-) diff --git a/front_end/generated/InspectorBackendCommands.js b/front_end/generated/InspectorBackendCommands.js index dc6b468368..a449e83011 100644 --- a/front_end/generated/InspectorBackendCommands.js +++ b/front_end/generated/InspectorBackendCommands.js @@ -1925,6 +1925,7 @@ export function registerCommands(inspectorBackend) { PublickeyCredentialsGet: 'publickey-credentials-get', ScreenWakeLock: 'screen-wake-lock', Serial: 'serial', + SharedAutofill: 'shared-autofill', StorageAccessAPI: 'storage-access-api', SyncXhr: 'sync-xhr', TrustTokenRedemption: 'trust-token-redemption', @@ -2016,7 +2017,8 @@ export function registerCommands(inspectorBackend) { 'Page.addScriptToEvaluateOnNewDocument', [ {'name': 'source', 'type': 'string', 'optional': false}, - {'name': 'worldName', 'type': 'string', 'optional': true} + {'name': 'worldName', 'type': 'string', 'optional': true}, + {'name': 'includeCommandLineAPI', 'type': 'boolean', 'optional': true} ], ['identifier']); inspectorBackend.registerCommand('Page.bringToFront', [], []); diff --git a/front_end/generated/protocol.d.ts b/front_end/generated/protocol.d.ts index acdd2d0b74..1b927be115 100644 --- a/front_end/generated/protocol.d.ts +++ b/front_end/generated/protocol.d.ts @@ -7509,8 +7509,8 @@ declare namespace Protocol { */ export interface RequestPattern { /** - * Wildcards ('*' -> zero or more, '?' -> exactly one) are allowed. Escape character is - * backslash. Omitting is equivalent to "*". + * Wildcards (`'*'` -> zero or more, `'?'` -> exactly one) are allowed. Escape character is + * backslash. Omitting is equivalent to `"*"`. */ urlPattern?: string; /** @@ -9479,6 +9479,7 @@ declare namespace Protocol { PublickeyCredentialsGet = 'publickey-credentials-get', ScreenWakeLock = 'screen-wake-lock', Serial = 'serial', + SharedAutofill = 'shared-autofill', StorageAccessAPI = 'storage-access-api', SyncXhr = 'sync-xhr', TrustTokenRedemption = 'trust-token-redemption', @@ -9997,6 +9998,11 @@ declare namespace Protocol { * event is emitted. */ worldName?: string; + /** + * Specifies whether command line API should be available to the script, defaults + * to false. + */ + includeCommandLineAPI?: boolean; } export interface AddScriptToEvaluateOnNewDocumentResponse extends ProtocolResponseWithError { @@ -12639,8 +12645,8 @@ declare namespace Protocol { export interface RequestPattern { /** - * Wildcards ('*' -> zero or more, '?' -> exactly one) are allowed. Escape character is - * backslash. Omitting is equivalent to "*". + * Wildcards (`'*'` -> zero or more, `'?'` -> exactly one) are allowed. Escape character is + * backslash. Omitting is equivalent to `"*"`. */ urlPattern?: string; /** diff --git a/third_party/blink/public/devtools_protocol/browser_protocol.json b/third_party/blink/public/devtools_protocol/browser_protocol.json index fe4812025f..56deabb8e7 100644 --- a/third_party/blink/public/devtools_protocol/browser_protocol.json +++ b/third_party/blink/public/devtools_protocol/browser_protocol.json @@ -11087,7 +11087,7 @@ "properties": [ { "name": "urlPattern", - "description": "Wildcards ('*' -> zero or more, '?' -> exactly one) are allowed. Escape character is\nbackslash. Omitting is equivalent to \"*\".", + "description": "Wildcards (`'*'` -> zero or more, `'?'` -> exactly one) are allowed. Escape character is\nbackslash. Omitting is equivalent to `\"*\"`.", "optional": true, "type": "string" }, @@ -13933,6 +13933,7 @@ "publickey-credentials-get", "screen-wake-lock", "serial", + "shared-autofill", "storage-access-api", "sync-xhr", "trust-token-redemption", @@ -14650,6 +14651,13 @@ "experimental": true, "optional": true, "type": "string" + }, + { + "name": "includeCommandLineAPI", + "description": "Specifies whether command line API should be available to the script, defaults\nto false.", + "experimental": true, + "optional": true, + "type": "boolean" } ], "returns": [ @@ -18698,7 +18706,7 @@ "properties": [ { "name": "urlPattern", - "description": "Wildcards ('*' -> zero or more, '?' -> exactly one) are allowed. Escape character is\nbackslash. Omitting is equivalent to \"*\".", + "description": "Wildcards (`'*'` -> zero or more, `'?'` -> exactly one) are allowed. Escape character is\nbackslash. Omitting is equivalent to `\"*\"`.", "optional": true, "type": "string" }, @@ -20576,6 +20584,7 @@ { "name": "restartFrame", "description": "Restarts particular call frame from the beginning.", + "deprecated": true, "parameters": [ { "name": "callFrameId", diff --git a/third_party/blink/public/devtools_protocol/browser_protocol.pdl b/third_party/blink/public/devtools_protocol/browser_protocol.pdl index 2220ff7e5f..81a56714f7 100644 --- a/third_party/blink/public/devtools_protocol/browser_protocol.pdl +++ b/third_party/blink/public/devtools_protocol/browser_protocol.pdl @@ -5144,8 +5144,8 @@ domain Network # Request pattern for interception. experimental type RequestPattern extends object properties - # Wildcards ('*' -> zero or more, '?' -> exactly one) are allowed. Escape character is - # backslash. Omitting is equivalent to "*". + # Wildcards (`'*'` -> zero or more, `'?'` -> exactly one) are allowed. Escape character is + # backslash. Omitting is equivalent to `"*"`. optional string urlPattern # If set, only requests for matching resource types will be intercepted. optional ResourceType resourceType @@ -6466,6 +6466,7 @@ domain Page publickey-credentials-get screen-wake-lock serial + shared-autofill storage-access-api sync-xhr trust-token-redemption @@ -6784,6 +6785,9 @@ domain Page # This world name will be used as the ExecutionContextDescription::name when the corresponding # event is emitted. experimental optional string worldName + # Specifies whether command line API should be available to the script, defaults + # to false. + experimental optional boolean includeCommandLineAPI returns # Identifier of the added script. ScriptIdentifier identifier @@ -8674,8 +8678,8 @@ domain Fetch type RequestPattern extends object properties - # Wildcards ('*' -> zero or more, '?' -> exactly one) are allowed. Escape character is - # backslash. Omitting is equivalent to "*". + # Wildcards (`'*'` -> zero or more, `'?'` -> exactly one) are allowed. Escape character is + # backslash. Omitting is equivalent to `"*"`. optional string urlPattern # If set, only requests for matching resource types will be intercepted. optional Network.ResourceType resourceType diff --git a/v8/include/js_protocol.pdl b/v8/include/js_protocol.pdl index a6c426e8b7..9c0483ae70 100644 --- a/v8/include/js_protocol.pdl +++ b/v8/include/js_protocol.pdl @@ -267,7 +267,7 @@ domain Debugger BreakpointId breakpointId # Restarts particular call frame from the beginning. - command restartFrame + deprecated command restartFrame parameters # Call frame identifier to evaluate on. CallFrameId callFrameId