Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test gets skipped with pattern: os == 'android'
- Manifest: toolkit/profile/test/xpcshell/xpcshell.toml
/* Any copyright is dedicated to the Public Domain.
/*
* Tests that if profiles.ini is set to not start with the last profile then
* we show the profile manager in preference to assigning the old default.
*/
add_task(async () => {
let defaultProfile = makeRandomProfileDir("default");
writeCompatibilityIni(defaultProfile);
writeProfilesIni({
options: {
startWithLastProfile: false,
},
profiles: [
{
name: PROFILE_DEFAULT,
path: defaultProfile.leafName,
default: true,
},
],
});
testStartsProfileManager();
});