Skip to content

Commit d16a8af

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/8729516643097474561 [email protected] Bug: none Change-Id: Ifb152816006d684ce315dd9c9188f708d65ec700 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6069506 Reviewed-by: Simon Zünd <[email protected]> Commit-Queue: Alex Rudenko <[email protected]> Reviewed-by: Alex Rudenko <[email protected]>
1 parent 877668b commit d16a8af

File tree

231 files changed

+2925
-1412
lines changed

Some content is hidden

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

231 files changed

+2925
-1412
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: 23.9.0
4+
Version: 23.10.0
55
License: Apache-2.0
66
License File: LICENSE
7-
Revision: ba33db8d1f731b07691f627e998ae637026e3cd1
7+
Revision: 0c2e549a07f1e712dedd71a41409aac8a5bb9dbd
88
Security Critical: no
99
Shipped: yes
1010

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

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
import type { ChildProcess } from 'child_process';
88
import type { Protocol } from 'devtools-protocol';
99
import type { ProtocolType } from '../common/ConnectOptions.js';
10+
import type { Cookie } from '../common/Cookie.js';
1011
import type { DownloadBehavior } from '../common/DownloadBehavior.js';
1112
import { EventEmitter, type EventType } from '../common/EventEmitter.js';
1213
import { asyncDisposeSymbol, disposeSymbol } from '../util/disposable.js';
@@ -310,6 +311,33 @@ export declare abstract class Browser extends EventEmitter<BrowserEvents> {
310311
* process running.
311312
*/
312313
abstract disconnect(): Promise<void>;
314+
/**
315+
* Returns all cookies in the default {@link BrowserContext}.
316+
*
317+
* @remarks
318+
*
319+
* Shortcut for
320+
* {@link BrowserContext.cookies | browser.defaultBrowserContext().cookies()}.
321+
*/
322+
cookies(): Promise<Cookie[]>;
323+
/**
324+
* Sets cookies in the default {@link BrowserContext}.
325+
*
326+
* @remarks
327+
*
328+
* Shortcut for
329+
* {@link BrowserContext.setCookie | browser.defaultBrowserContext().setCookie()}.
330+
*/
331+
setCookie(...cookies: Cookie[]): Promise<void>;
332+
/**
333+
* Removes cookies from the default {@link BrowserContext}.
334+
*
335+
* @remarks
336+
*
337+
* Shortcut for
338+
* {@link BrowserContext.deleteCookie | browser.defaultBrowserContext().deleteCookie()}.
339+
*/
340+
deleteCookie(...cookies: Cookie[]): Promise<void>;
313341
/**
314342
* Whether Puppeteer is connected to this {@link Browser | browser}.
315343
*

front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Browser.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/Browser.js

Lines changed: 33 additions & 0 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/Browser.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/api/BrowserContext.d.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* Copyright 2017 Google Inc.
44
* SPDX-License-Identifier: Apache-2.0
55
*/
6+
import type { Cookie, CookieData } from '../common/Cookie.js';
67
import { EventEmitter, type EventType } from '../common/EventEmitter.js';
78
import { asyncDisposeSymbol, disposeSymbol } from '../util/disposable.js';
89
import { Mutex } from '../util/Mutex.js';
@@ -176,6 +177,19 @@ export declare abstract class BrowserContext extends EventEmitter<BrowserContext
176177
* closed.
177178
*/
178179
abstract close(): Promise<void>;
180+
/**
181+
* Gets all cookies in the browser context.
182+
*/
183+
abstract cookies(): Promise<Cookie[]>;
184+
/**
185+
* Sets a cookie in the browser context.
186+
*/
187+
abstract setCookie(...cookies: CookieData[]): Promise<void>;
188+
/**
189+
* Removes cookie in the browser context
190+
* @param cookies - {@link Cookie | cookie} to remove
191+
*/
192+
deleteCookie(...cookies: Cookie[]): Promise<void>;
179193
/**
180194
* Whether this {@link BrowserContext | browser context} is closed.
181195
*/

front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/BrowserContext.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)