chore: housekeeping after the last firefox roll (#35116)

This commit is contained in:
Dmitry Gozman 2025-03-10 11:26:24 +00:00 committed by GitHub
parent 4767845f20
commit 49f03c87fc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 1 deletions

View File

@ -444,5 +444,4 @@ function toJugglerProxyOptions(proxy: types.ProxySettings) {
// Prefs for quick fixes that didn't make it to the build.
// Should all be moved to `playwright.cfg`.
const kBandaidFirefoxUserPrefs = {
'dom.fetchKeepalive.enabled': false,
};

View File

@ -342,3 +342,10 @@ it('default user agent', async ({ launchPersistent, browser, page, mode }) => {
const { userAgent } = await (browser as any)._channel.defaultUserAgentForTest();
expect(await page.evaluate(() => navigator.userAgent)).toBe(userAgent);
});
it('should create two pages in parallel', async ({ context }) => {
await Promise.all([
context.newPage(),
context.newPage(),
]);
});