Skip to content

Commit 79db863

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/8714296352926643889 R=devtools-waterfall-sheriff-onduty@rotations.google.com Bug: none Change-Id: I7aade83a19d7f79ec6ea5a3a2ace62d0a6408406 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6572634 Reviewed-by: Kim-Anh Tran <kimanh@chromium.org> Reviewed-by: Alex Rudenko <alexrudenko@chromium.org> Commit-Queue: Alex Rudenko <alexrudenko@chromium.org>
1 parent 0aab8ce commit 79db863

File tree

78 files changed

+279
-175
lines changed

Some content is hidden

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

78 files changed

+279
-175
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.8.2
4+
Version: 24.9.0
55
License: Apache-2.0
66
License File: LICENSE
7-
Revision: 9e4619daea05d1990209157107eed68d54ab611d
7+
Revision: efc1343e24247225428e0602471c57396ac31857
88
Security Critical: no
99
Shipped: yes
1010

front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Frame.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.d.ts

Lines changed: 22 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,14 @@ export interface ScreenshotClip extends BoundingBox {
167167
*/
168168
scale?: number;
169169
}
170+
/**
171+
* @public
172+
*/
173+
export type ImageFormat = 'png' | 'jpeg' | 'webp';
174+
/**
175+
* @public
176+
*/
177+
export type VideoFormat = 'webm' | 'gif' | 'mp4';
170178
/**
171179
* @public
172180
*/
@@ -178,7 +186,7 @@ export interface ScreenshotOptions {
178186
/**
179187
* @defaultValue `'png'`
180188
*/
181-
type?: 'png' | 'jpeg' | 'webp';
189+
type?: ImageFormat;
182190
/**
183191
* Quality of the image, between 0-100. Not applicable to `png` images.
184192
*/
@@ -207,7 +215,7 @@ export interface ScreenshotOptions {
207215
* relative to current working directory. If no path is provided, the image
208216
* won't be saved to the disk.
209217
*/
210-
path?: string;
218+
path?: `${string}.${ImageFormat}`;
211219
/**
212220
* Specifies the region of the page/element to clip.
213221
*/
@@ -225,10 +233,6 @@ export interface ScreenshotOptions {
225233
*/
226234
captureBeyondViewport?: boolean;
227235
}
228-
/**
229-
* @public
230-
*/
231-
export type FileFormat = 'gif' | 'webm' | 'mp4';
232236
/**
233237
* @public
234238
* @experimental
@@ -237,13 +241,20 @@ export interface ScreencastOptions {
237241
/**
238242
* File path to save the screencast to.
239243
*/
240-
path?: `${string}.${FileFormat}`;
244+
path?: `${string}.${VideoFormat}`;
245+
/**
246+
* Specifies whether to overwrite output file,
247+
* or exit immediately if it already exists.
248+
*
249+
* @defaultValue `true`
250+
*/
251+
overwrite?: boolean;
241252
/**
242253
* Specifies the output file format.
243254
*
244-
* @defaultValue `webm`
255+
* @defaultValue `'webm'`
245256
*/
246-
format?: FileFormat;
257+
format?: VideoFormat;
247258
/**
248259
* Specifies the region of the viewport to crop.
249260
*/
@@ -307,6 +318,8 @@ export interface ScreencastOptions {
307318
* Path to the {@link https://ffmpeg.org/ | ffmpeg}.
308319
*
309320
* Required if `ffmpeg` is not in your PATH.
321+
*
322+
* @defaultValue `'ffmpeg'`
310323
*/
311324
ffmpegPath?: string;
312325
}

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: 0 additions & 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.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/cdp/AriaQueryHandler.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/common/CSSQueryHandler.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.

0 commit comments

Comments
 (0)