fix(firefox): disable fetch keep-alive for now before a proper fix (#34530)
This commit is contained in:
parent
931b9f28cd
commit
b419527aab
|
|
@ -435,4 +435,6 @@ function toJugglerProxyOptions(proxy: types.ProxySettings) {
|
||||||
|
|
||||||
// Prefs for quick fixes that didn't make it to the build.
|
// Prefs for quick fixes that didn't make it to the build.
|
||||||
// Should all be moved to `playwright.cfg`.
|
// Should all be moved to `playwright.cfg`.
|
||||||
const kBandaidFirefoxUserPrefs = {};
|
const kBandaidFirefoxUserPrefs = {
|
||||||
|
'dom.fetchKeepalive.enabled': false,
|
||||||
|
};
|
||||||
|
|
|
||||||
|
|
@ -47,7 +47,6 @@ it('should fire for fetches with keepalive: true', {
|
||||||
description: 'https://github.com/microsoft/playwright/issues/34497'
|
description: 'https://github.com/microsoft/playwright/issues/34497'
|
||||||
}
|
}
|
||||||
}, async ({ page, server, browserName }) => {
|
}, async ({ page, server, browserName }) => {
|
||||||
it.fixme(browserName === 'firefox');
|
|
||||||
const requests = [];
|
const requests = [];
|
||||||
page.on('request', request => requests.push(request));
|
page.on('request', request => requests.push(request));
|
||||||
await page.goto(server.EMPTY_PAGE);
|
await page.goto(server.EMPTY_PAGE);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue