Skip to content

Commit

Permalink
chore: set webContentIsolationStrategy for all protocols
Browse files Browse the repository at this point in the history
  • Loading branch information
OrKoN committed Dec 5, 2023
1 parent 8388612 commit 1491a2f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
8 changes: 5 additions & 3 deletions packages/puppeteer-core/src/node/FirefoxLauncher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,11 +119,13 @@ export class FirefoxLauncher extends ProductLauncher {
? {
// Temporarily force disable BFCache in parent (https://bit.ly/bug-1732263)
'fission.bfcacheInParent': false,

// Force all web content to use a single content process
'fission.webContentIsolationStrategy': 0,
}
: {}),
// Force all web content to use a single content process. TODO: remove
// this once Firefox supports mouse event dispatch from the main frame
// context. Once this happens, webContentIsolationStrategy should only
// be set for CDP.
'fission.webContentIsolationStrategy': 0,
},
});

Expand Down
10 changes: 5 additions & 5 deletions test/TestExpectations.json
Original file line number Diff line number Diff line change
Expand Up @@ -1497,7 +1497,7 @@
"testIdPattern": "[click.spec] Page.click should click the button with fixed position inside an iframe",
"platforms": ["darwin", "linux", "win32"],
"parameters": ["firefox", "webDriverBiDi"],
"expectations": ["FAIL"]
"expectations": ["PASS"]
},
{
"testIdPattern": "[click.spec] Page.click should click the button with fixed position inside an iframe",
Expand Down Expand Up @@ -1893,7 +1893,7 @@
"testIdPattern": "[frame.spec] Frame specs Frame Management should report different frame instance when frame re-attaches",
"platforms": ["darwin", "linux", "win32"],
"parameters": ["firefox", "webDriverBiDi"],
"expectations": ["FAIL"]
"expectations": ["PASS"]
},
{
"testIdPattern": "[frame.spec] Frame specs Frame Management should report frame from-inside shadow DOM",
Expand Down Expand Up @@ -1959,7 +1959,7 @@
"testIdPattern": "[frame.spec] Frame specs Frame.evaluate should throw for detached frames",
"platforms": ["darwin", "linux", "win32"],
"parameters": ["firefox", "webDriverBiDi"],
"expectations": ["FAIL"]
"expectations": ["PASS"]
},
{
"testIdPattern": "[frame.spec] Frame specs Frame.executionContext should work",
Expand Down Expand Up @@ -2769,7 +2769,7 @@
"testIdPattern": "[oopif.spec] OOPIF clickablePoint, boundingBox, boxModel should work for elements inside OOPIFs",
"platforms": ["darwin", "linux", "win32"],
"parameters": ["firefox", "webDriverBiDi"],
"expectations": ["FAIL"]
"expectations": ["PASS"]
},
{
"testIdPattern": "[oopif.spec] OOPIF should keep track of a frames OOP state",
Expand All @@ -2781,7 +2781,7 @@
"testIdPattern": "[oopif.spec] OOPIF should provide access to elements",
"platforms": ["darwin", "linux", "win32"],
"parameters": ["firefox", "webDriverBiDi"],
"expectations": ["FAIL"]
"expectations": ["PASS"]
},
{
"testIdPattern": "[oopif.spec] OOPIF should support lazy OOP frames",
Expand Down

0 comments on commit 1491a2f

Please sign in to comment.