feat(firefox): bump firefox to 1283, firefox-beta to 1277 (#8184)

This commit is contained in:
Dmitry Gozman 2021-08-13 08:29:25 -07:00 committed by GitHub
parent ec418e1706
commit 5327b8ca6d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 7 deletions

View file

@ -13,12 +13,12 @@
}, },
{ {
"name": "firefox", "name": "firefox",
"revision": "1282", "revision": "1283",
"installByDefault": true "installByDefault": true
}, },
{ {
"name": "firefox-beta", "name": "firefox-beta",
"revision": "1276", "revision": "1277",
"installByDefault": false "installByDefault": false
}, },
{ {

View file

@ -207,8 +207,10 @@ export class FFBrowserContext extends BrowserContext {
promises.push(this._ensureVideosPath().then(() => { promises.push(this._ensureVideosPath().then(() => {
return this._browser._connection.send('Browser.setVideoRecordingOptions', { return this._browser._connection.send('Browser.setVideoRecordingOptions', {
// validateBrowserContextOptions ensures correct video size. // validateBrowserContextOptions ensures correct video size.
options: {
...this._options.recordVideo!.size!, ...this._options.recordVideo!.size!,
dir: this._options.recordVideo!.dir, dir: this._options.recordVideo!.dir,
},
browserContextId: this._browserContextId browserContextId: this._browserContextId
}); });
})); }));

View file

@ -283,10 +283,12 @@ export module Protocol {
export type setForcedColorsReturnValue = void; export type setForcedColorsReturnValue = void;
export type setVideoRecordingOptionsParameters = { export type setVideoRecordingOptionsParameters = {
browserContextId?: string; browserContextId?: string;
options?: {
dir: string; dir: string;
width: number; width: number;
height: number; height: number;
}; };
};
export type setVideoRecordingOptionsReturnValue = void; export type setVideoRecordingOptionsReturnValue = void;
export type cancelDownloadParameters = { export type cancelDownloadParameters = {
uuid?: string; uuid?: string;