Checkpoint web parity through Chromium input tasks
This commit is contained in:
@@ -135,8 +135,8 @@ export class StorageClient {
|
||||
return this.request({ type: "readSnapshot", projectId, revision }) as Promise<StorageSnapshotReadResult>;
|
||||
}
|
||||
|
||||
putAsset(projectId: string, data: ArrayBuffer, mimeType: string, sourcePath?: string): Promise<StorageAssetPutResult> {
|
||||
return this.request({ type: "putAsset", projectId, data, mimeType, sourcePath }, [data]) as Promise<StorageAssetPutResult>;
|
||||
putAsset(projectId: string, data: ArrayBuffer, mimeType: string, sourcePath?: string, faultAt?: "quota"): Promise<StorageAssetPutResult> {
|
||||
return this.request({ type: "putAsset", projectId, data, mimeType, sourcePath, faultAt }, [data]) as Promise<StorageAssetPutResult>;
|
||||
}
|
||||
|
||||
readAsset(projectId: string, sha256: string): Promise<StorageAssetReadResult> {
|
||||
|
||||
Reference in New Issue
Block a user