Skip to content

Commit 722717c

Browse files
devtools-ci-autoroll-builderDevtools-frontend LUCI CQ
authored andcommitted
Roll puppeteer-core
This roll requires a manual review. See http://go/reviewed-rolls for guidance. In case of failures or errors, reach out to someone from config/owner/RECORDER_OWNERS. Roll created at https://cr-buildbucket.appspot.com/build/8718792226657037041 [email protected] Bug: none Change-Id: I0ba7c997f93b941d6ba6a61dd28dfc2ac5941182 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6420418 Commit-Queue: Devtools Autoroller <devtools-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com> Commit-Queue: Alex Rudenko <[email protected]> Reviewed-by: Eric Leese <[email protected]> Reviewed-by: Alex Rudenko <[email protected]>
1 parent 180a3b5 commit 722717c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+642
-180
lines changed

front_end/third_party/puppeteer/README.chromium

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
Name: Puppeteer Core
22
Short Name: Puppeteer Core
33
URL: https://github.com/puppeteer/puppeteer/tree/main/packages/puppeteer-core
4-
Version: 24.4.0
4+
Version: 24.5.0
55
License: Apache-2.0
66
License File: LICENSE
7-
Revision: 842075f7dafd8853d73552436dcf9130845d80ca
7+
Revision: db9c7bb5df84e9c5702fc285824ac554d861b7f9
88
Security Critical: no
99
Shipped: yes
1010

front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Page.d.ts

Lines changed: 50 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,10 @@ export interface ScreenshotOptions {
225225
*/
226226
captureBeyondViewport?: boolean;
227227
}
228+
/**
229+
* @public
230+
*/
231+
export type FileFormat = 'gif' | 'webm' | 'mp4';
228232
/**
229233
* @public
230234
* @experimental
@@ -233,7 +237,13 @@ export interface ScreencastOptions {
233237
/**
234238
* File path to save the screencast to.
235239
*/
236-
path?: `${string}.webm`;
240+
path?: `${string}.${FileFormat}`;
241+
/**
242+
* Specifies the output file format.
243+
*
244+
* @defaultValue `webm`
245+
*/
246+
format?: FileFormat;
237247
/**
238248
* Specifies the region of the viewport to crop.
239249
*/
@@ -256,6 +266,43 @@ export interface ScreencastOptions {
256266
* @defaultValue `1`
257267
*/
258268
speed?: number;
269+
/**
270+
* Specifies the frame rate in frames per second.
271+
*
272+
* @defaultValue `30` (`20` for GIF)
273+
*/
274+
fps?: number;
275+
/**
276+
* Specifies the number of times to loop playback, from `0` to `Infinity`.
277+
* A value of `0` or `undefined` will disable looping.
278+
*
279+
* @defaultValue `undefined`
280+
*/
281+
loop?: number;
282+
/**
283+
* Specifies the delay between iterations of a loop, in ms.
284+
* `-1` is a special value to re-use the previous delay.
285+
*
286+
* @defaultValue `-1`
287+
*/
288+
delay?: number;
289+
/**
290+
* Specifies the recording
291+
* {@link https://trac.ffmpeg.org/wiki/Encode/VP9#constantq | quality}
292+
* Constant Rate Factor between `0`–`63`. Lower values mean better quality.
293+
*
294+
* @defaultValue `30`
295+
*/
296+
quality?: number;
297+
/**
298+
* Specifies the maximum number of
299+
* {@link https://ffmpeg.org/ffmpeg-filters.html#palettegen | palette}
300+
* colors to quantize, with GIF limited to `256`.
301+
* Restrict the palette to only necessary colors to reduce output file size.
302+
*
303+
* @defaultValue `256`
304+
*/
305+
colors?: number;
259306
/**
260307
* Path to the {@link https://ffmpeg.org/ | ffmpeg}.
261308
*
@@ -1845,8 +1892,8 @@ export declare abstract class Page extends EventEmitter<PageEvents> {
18451892
*
18461893
* @remarks
18471894
*
1848-
* All recordings will be {@link https://www.webmproject.org/ | WebM} format using
1849-
* the {@link https://www.webmproject.org/vp9/ | VP9} video codec. The FPS is 30.
1895+
* By default, all recordings will be {@link https://www.webmproject.org/ | WebM} format using
1896+
* the {@link https://www.webmproject.org/vp9/ | VP9} video codec, with a frame rate of 30 FPS.
18501897
*
18511898
* You must have {@link https://ffmpeg.org/ | ffmpeg} installed on your system.
18521899
*/

front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Page.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Page.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Page.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Realm.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Realm.js

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)