Skip to content

Commit

Permalink
fix: disable IsolateSandboxedIframes trial to prevent flakiness (#12381)
Browse files Browse the repository at this point in the history
  • Loading branch information
OrKoN committed May 2, 2024
1 parent f7e44b9 commit 461a8ff
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
13 changes: 9 additions & 4 deletions packages/puppeteer-core/src/node/ChromeLauncher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,10 +176,15 @@ export class ChromeLauncher extends ProductLauncher {
'AcceptCHFrame',
'MediaRouter',
'OptimizationHints',
// https://crbug.com/1492053
turnOnExperimentalFeaturesForTesting
? ''
: 'ProcessPerSiteUpToMainFrameThreshold',

...(turnOnExperimentalFeaturesForTesting
? []
: [
// https://crbug.com/1492053
'ProcessPerSiteUpToMainFrameThreshold',
// https://github.com/puppeteer/puppeteer/issues/10715
'IsolateSandboxedIframes',
]),
...userDisabledFeatures,
].filter(feature => {
return feature !== '';
Expand Down
7 changes: 0 additions & 7 deletions test/TestExpectations.json
Original file line number Diff line number Diff line change
Expand Up @@ -1442,13 +1442,6 @@
"expectations": ["FAIL"],
"comment": "TODO: add a comment explaining why this expectation is required (include links to issues)"
},
{
"testIdPattern": "[elementhandle.spec] ElementHandle specs ElementHandle.clickablePoint should work for iframes",
"platforms": ["linux", "win32", "win32"],
"parameters": ["cdp", "chrome"],
"expectations": ["FAIL", "PASS"],
"comment": "Flaky with fieldtrial testing config"
},
{
"testIdPattern": "[elementhandle.spec] ElementHandle specs ElementHandle.isIntersectingViewport should work",
"platforms": ["darwin", "linux", "win32"],
Expand Down

0 comments on commit 461a8ff

Please sign in to comment.