Changes

Jump to: navigation, search

Project Fission/Enabling Tests with Fission

1 byte added, 12:14, 17 September 2019
Enabling Tests with Fission: Fixed typo
==General Tips==
* To run a mochitest with Fission enabled, use '--fissionenable-enabled' fission’ with 'mach test'.
* SpecialPowers.useRemoteSubframes can be used to check if Fission is enabled from a mochitest.
* [https://searchfox.org/mozilla-central/rev/ec806131cb7bcd1c26c254d25cd5ab8a61b2aeb6/testing/specialpowers/content/SpecialPowersAPI.jsm#1366 SpecialPowers.spawn()] is typically used when you have a cross-process iframe and you need to interact with it in some way that is not supported cross-process. In such a case, one can use SpecialPowers.spawn() to send a script over to the process of the iframe to assert and/or return a value.
Confirm
30
edits

Navigation menu