1 /* Any copyright is dedicated to the Public Domain.
2 http://creativecommons.org/publicdomain/zero/1.0/ */
5 * Tests that setting MOZ_LEGACY_PROFILES disables dedicated profiles.
9 enableLegacyProfiles();
11 let service = getProfileService();
12 let { profile, didCreate } = selectStartupProfile();
13 checkStartupReason("firstrun-created-default");
15 Assert.ok(didCreate, "Should have created a new profile.");
19 "Should have used the normal name."
21 if (AppConstants.MOZ_DEV_EDITION) {
22 Assert.equal(service.profileCount, 2, "Should be two profiles.");
24 Assert.equal(service.profileCount, 1, "Should be only one profile.");
27 checkProfileService();