forked from mozilla/gecko-dev
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1746154 - [cdp] Add error message and documentation about the req…
…uired fission preferences r=webdriver-reviewers,whimboo Differential Revision: https://phabricator.services.mozilla.com/D134328
- Loading branch information
1 parent
5c16e42
commit 4da968b
Showing
3 changed files
with
33 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Required Preferences for Fission | ||
================================ | ||
|
||
Fission (site isolation for Firefox) introduced some architectural changes that are incompatible with our CDP implementation. To keep using CDP for Firefox, make sure the following preferences are set in the profile before starting Firefox with `--remote-debugging-port`: | ||
|
||
* `fission.bfcacheInParent` should be set to `false`. | ||
|
||
* `fission.webContentIsolationStrategy` should be set to `0`. | ||
|
||
Without those preferences, expect issues related to navigation in several domains (Page, Runtime, ...). | ||
|
||
Third party tools relying on CDP such as Puppeteer ensure that those preferences are correctly set before starting Firefox. | ||
|
||
The work to lift those restrictions is tracked in [Bug 1732263](https://bugzilla.mozilla.org/show_bug.cgi?id=1732263) and [Bug 1706353](https://bugzilla.mozilla.org/show_bug.cgi?id=1706353). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters