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",
"revision": "1282",
"revision": "1283",
"installByDefault": true
},
{
"name": "firefox-beta",
"revision": "1276",
"revision": "1277",
"installByDefault": false
},
{

View File

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

View File

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