mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
fix: remove the flag disabling bfcache (#11047)
This commit is contained in:
parent
30bd030078
commit
b0d7375519
@ -177,7 +177,6 @@ export class ChromeLauncher extends ProductLauncher {
|
|||||||
|
|
||||||
if (!USE_TAB_TARGET) {
|
if (!USE_TAB_TARGET) {
|
||||||
disabledFeatures.push('Prerender2');
|
disabledFeatures.push('Prerender2');
|
||||||
disabledFeatures.push('BackForwardCache');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const chromeArguments = [
|
const chromeArguments = [
|
||||||
|
@ -1019,6 +1019,12 @@
|
|||||||
"parameters": ["webDriverBiDi"],
|
"parameters": ["webDriverBiDi"],
|
||||||
"expectations": ["PASS"]
|
"expectations": ["PASS"]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"testIdPattern": "[page.spec] Page Page.select should not throw when select causes navigation",
|
||||||
|
"platforms": ["darwin", "linux", "win32"],
|
||||||
|
"parameters": ["webDriverBiDi"],
|
||||||
|
"expectations": ["PASS"]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"testIdPattern": "[page.spec] Page Page.select should respect event bubbling",
|
"testIdPattern": "[page.spec] Page Page.select should respect event bubbling",
|
||||||
"platforms": ["darwin", "linux", "win32"],
|
"platforms": ["darwin", "linux", "win32"],
|
||||||
@ -3173,12 +3179,6 @@
|
|||||||
"parameters": ["cdp", "firefox"],
|
"parameters": ["cdp", "firefox"],
|
||||||
"expectations": ["FAIL"]
|
"expectations": ["FAIL"]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"testIdPattern": "[page.spec] Page Page.select should not throw when select causes navigation",
|
|
||||||
"platforms": ["darwin", "linux", "win32"],
|
|
||||||
"parameters": ["webDriverBiDi"],
|
|
||||||
"expectations": ["PASS"]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"testIdPattern": "[page.spec] Page Page.select should work when re-defining top-level Event class",
|
"testIdPattern": "[page.spec] Page Page.select should work when re-defining top-level Event class",
|
||||||
"platforms": ["darwin", "linux", "win32"],
|
"platforms": ["darwin", "linux", "win32"],
|
||||||
@ -3862,11 +3862,5 @@
|
|||||||
"platforms": ["darwin", "linux", "win32"],
|
"platforms": ["darwin", "linux", "win32"],
|
||||||
"parameters": ["cdp", "chrome", "headless"],
|
"parameters": ["cdp", "chrome", "headless"],
|
||||||
"expectations": ["FAIL", "PASS"]
|
"expectations": ["FAIL", "PASS"]
|
||||||
},
|
|
||||||
{
|
|
||||||
"testIdPattern": "[coverage.spec] Coverage specs JSCoverage resetOnNavigation should report scripts across navigations when disabled",
|
|
||||||
"platforms": ["darwin", "linux", "win32"],
|
|
||||||
"parameters": ["cdp", "chrome", "new-headless", "tabTarget"],
|
|
||||||
"expectations": ["FAIL"]
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -165,6 +165,8 @@ describe('Coverage specs', function () {
|
|||||||
|
|
||||||
await page.coverage.startJSCoverage({resetOnNavigation: false});
|
await page.coverage.startJSCoverage({resetOnNavigation: false});
|
||||||
await page.goto(server.PREFIX + '/jscoverage/multiple.html');
|
await page.goto(server.PREFIX + '/jscoverage/multiple.html');
|
||||||
|
// TODO: navigating too fast might loose JS coverage data in the browser.
|
||||||
|
await page.waitForNetworkIdle();
|
||||||
await page.goto(server.EMPTY_PAGE);
|
await page.goto(server.EMPTY_PAGE);
|
||||||
const coverage = await page.coverage.stopJSCoverage();
|
const coverage = await page.coverage.stopJSCoverage();
|
||||||
expect(coverage).toHaveLength(2);
|
expect(coverage).toHaveLength(2);
|
||||||
|
Loading…
Reference in New Issue
Block a user