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 <alexrudenko@chromium.org>
Commit-Queue: Jan Scheffler <janscheffler@chromium.org>
Reviewed-by: Jan Scheffler <janscheffler@chromium.org>
This commit is contained in:
Alex Rudenko
2021-05-03 09:30:48 +00:00
committed by Commit Bot
parent 006e20c422
commit 71bf2e1ede
5 changed files with 33 additions and 12 deletions
@@ -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', [], []);
+10 -4
View File
@@ -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;
/**
@@ -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",
@@ -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
+1 -1
View File
@@ -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