feat(webkit): roll to r1677 (#15500)

This commit is contained in:
Yury Semikhatsky 2022-07-08 13:15:57 -07:00 committed by GitHub
parent 6dc4a51c92
commit b9d1a5ad69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 32 additions and 1 deletions

View File

@ -33,7 +33,7 @@
}, },
{ {
"name": "webkit", "name": "webkit",
"revision": "1674", "revision": "1677",
"installByDefault": true, "installByDefault": true,
"revisionOverrides": { "revisionOverrides": {
"mac10.14": "1446", "mac10.14": "1446",

View File

@ -7858,6 +7858,23 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the
*/ */
context: ExecutionContextDescription; context: ExecutionContextDescription;
} }
/**
* Issued when new execution context is created.
*/
export type bindingCalledPayload = {
/**
* Id of the execution context where the binding was called.
*/
contextId: ExecutionContextId;
/**
* Name of the bound function.
*/
name: string;
/**
* String argument passed to the function.
*/
argument: string;
}
/** /**
* Parses JavaScript source code for errors. * Parses JavaScript source code for errors.
@ -8019,6 +8036,17 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the
*/ */
wasThrown?: boolean; wasThrown?: boolean;
} }
/**
* Adds binding with the given name on the global objects of all inspected contexts. Each binding function call produces Runtime.bindingCalled event.
*/
export type addBindingParameters = {
/**
* Name of the bound function.
*/
name: string;
}
export type addBindingReturnValue = {
}
/** /**
* Returns a preview for the given object. * Returns a preview for the given object.
*/ */
@ -8870,6 +8898,7 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the
"Playwright.downloadFinished": Playwright.downloadFinishedPayload; "Playwright.downloadFinished": Playwright.downloadFinishedPayload;
"Playwright.screencastFinished": Playwright.screencastFinishedPayload; "Playwright.screencastFinished": Playwright.screencastFinishedPayload;
"Runtime.executionContextCreated": Runtime.executionContextCreatedPayload; "Runtime.executionContextCreated": Runtime.executionContextCreatedPayload;
"Runtime.bindingCalled": Runtime.bindingCalledPayload;
"Screencast.screencastFrame": Screencast.screencastFramePayload; "Screencast.screencastFrame": Screencast.screencastFramePayload;
"ScriptProfiler.trackingStart": ScriptProfiler.trackingStartPayload; "ScriptProfiler.trackingStart": ScriptProfiler.trackingStartPayload;
"ScriptProfiler.trackingUpdate": ScriptProfiler.trackingUpdatePayload; "ScriptProfiler.trackingUpdate": ScriptProfiler.trackingUpdatePayload;
@ -9148,6 +9177,7 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the
"Runtime.evaluate": Runtime.evaluateParameters; "Runtime.evaluate": Runtime.evaluateParameters;
"Runtime.awaitPromise": Runtime.awaitPromiseParameters; "Runtime.awaitPromise": Runtime.awaitPromiseParameters;
"Runtime.callFunctionOn": Runtime.callFunctionOnParameters; "Runtime.callFunctionOn": Runtime.callFunctionOnParameters;
"Runtime.addBinding": Runtime.addBindingParameters;
"Runtime.getPreview": Runtime.getPreviewParameters; "Runtime.getPreview": Runtime.getPreviewParameters;
"Runtime.getProperties": Runtime.getPropertiesParameters; "Runtime.getProperties": Runtime.getPropertiesParameters;
"Runtime.getDisplayableProperties": Runtime.getDisplayablePropertiesParameters; "Runtime.getDisplayableProperties": Runtime.getDisplayablePropertiesParameters;
@ -9450,6 +9480,7 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the
"Runtime.evaluate": Runtime.evaluateReturnValue; "Runtime.evaluate": Runtime.evaluateReturnValue;
"Runtime.awaitPromise": Runtime.awaitPromiseReturnValue; "Runtime.awaitPromise": Runtime.awaitPromiseReturnValue;
"Runtime.callFunctionOn": Runtime.callFunctionOnReturnValue; "Runtime.callFunctionOn": Runtime.callFunctionOnReturnValue;
"Runtime.addBinding": Runtime.addBindingReturnValue;
"Runtime.getPreview": Runtime.getPreviewReturnValue; "Runtime.getPreview": Runtime.getPreviewReturnValue;
"Runtime.getProperties": Runtime.getPropertiesReturnValue; "Runtime.getProperties": Runtime.getPropertiesReturnValue;
"Runtime.getDisplayableProperties": Runtime.getDisplayablePropertiesReturnValue; "Runtime.getDisplayableProperties": Runtime.getDisplayablePropertiesReturnValue;