feat(webkit): bump to 1530 (#7991)

This commit is contained in:
Yury Semikhatsky 2021-08-11 08:56:35 -07:00 committed by GitHub
parent 75d77a82cc
commit 252238f25c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 8 deletions

View file

@ -23,7 +23,7 @@
},
{
"name": "webkit",
"revision": "1522",
"revision": "1530",
"installByDefault": true,
"revisionOverrides": {
"mac10.14": "1446"

View file

@ -1199,7 +1199,7 @@ export module Protocol {
/**
* The type of rendering context backing the canvas element.
*/
export type ContextType = "canvas-2d"|"bitmaprenderer"|"webgl"|"webgl2"|"webgpu";
export type ContextType = "canvas-2d"|"bitmaprenderer"|"webgl"|"webgl2";
export type ProgramType = "compute"|"render";
export type ShaderType = "compute"|"fragment"|"vertex";
/**
@ -1235,7 +1235,7 @@ export module Protocol {
*/
failIfMajorPerformanceCaveat?: boolean;
/**
* WebGL, WebGL2, WebGPU
* WebGL, WebGL2
*/
powerPreference?: string;
}
@ -1273,16 +1273,12 @@ export module Protocol {
backtrace?: Console.CallFrame[];
}
/**
* Information about a WebGL/WebGL2 shader program or WebGPU shader pipeline.
* Information about a WebGL/WebGL2 shader program.
*/
export interface ShaderProgram {
programId: ProgramId;
programType: ProgramType;
canvasId: CanvasId;
/**
* Indicates whether the vertex and fragment shader modules are the same object for a render shader pipleine for a WebGPU device.
*/
sharesVertexFragmentShader?: boolean;
}
export type canvasAddedPayload = {
@ -5923,6 +5919,21 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the
}
export type interceptWithResponseReturnValue = {
}
/**
* Fail response with given error type.
*/
export type interceptResponseWithErrorParameters = {
/**
* Identifier for the intercepted Network response to fail.
*/
requestId: RequestId;
/**
* Deliver error reason for the request failure.
*/
errorType: ResourceErrorType;
}
export type interceptResponseWithErrorReturnValue = {
}
/**
* Provide response for an intercepted request. Request completely bypasses the network in this case and is immediately fulfilled with the provided data.
*/
@ -8967,6 +8978,7 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the
"Network.interceptContinue": Network.interceptContinueParameters;
"Network.interceptWithRequest": Network.interceptWithRequestParameters;
"Network.interceptWithResponse": Network.interceptWithResponseParameters;
"Network.interceptResponseWithError": Network.interceptResponseWithErrorParameters;
"Network.interceptRequestWithResponse": Network.interceptRequestWithResponseParameters;
"Network.interceptRequestWithError": Network.interceptRequestWithErrorParameters;
"Network.setEmulateOfflineState": Network.setEmulateOfflineStateParameters;
@ -9264,6 +9276,7 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the
"Network.interceptContinue": Network.interceptContinueReturnValue;
"Network.interceptWithRequest": Network.interceptWithRequestReturnValue;
"Network.interceptWithResponse": Network.interceptWithResponseReturnValue;
"Network.interceptResponseWithError": Network.interceptResponseWithErrorReturnValue;
"Network.interceptRequestWithResponse": Network.interceptRequestWithResponseReturnValue;
"Network.interceptRequestWithError": Network.interceptRequestWithErrorReturnValue;
"Network.setEmulateOfflineState": Network.setEmulateOfflineStateReturnValue;