Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: housekeeping after the last firefox roll #35116

Merged
merged 1 commit into from
Mar 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion packages/playwright-core/src/server/firefox/ffBrowser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
7 changes: 7 additions & 0 deletions tests/library/browsercontext-basic.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
]);
});