Skip to content

Commit

Permalink
Bug 1743714 - Set fission defaults in each test's profile settings, r…
Browse files Browse the repository at this point in the history
…=ahal,perftest-reviewers,sparky

This excludes web-platform-tests which will be handled later in the commit series.
Not using the base profile for everything allows us to migrate the suite-specific
fission handling one suite at a time.

Differential Revision: https://phabricator.services.mozilla.com/D132767
  • Loading branch information
jgraham committed Dec 3, 2021
1 parent 65ad33e commit 23c9c0a
Show file tree
Hide file tree
Showing 8 changed files with 32 additions and 5 deletions.
5 changes: 0 additions & 5 deletions testing/profiles/base/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,3 @@

// This is useful for testing a pref on try.
/* globals user_pref */

// Explicitly turn off fission so we don't accidentally use the wrong default
// value. This can be removed once harnesses and tasks assume fission by
// default.
user_pref("fission.autostart", false);
5 changes: 5 additions & 0 deletions testing/profiles/geckoview-junit/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,8 @@

// Always run in e10s
user_pref("browser.tabs.remote.autostart", true);

// Explicitly turn off fission so we don't accidentally use the wrong default
// value. This can be removed once harnesses and tasks assume fission by
// default.
user_pref("fission.autostart", false);
5 changes: 5 additions & 0 deletions testing/profiles/mochitest/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,8 @@ user_pref("browser.sessionstore.resume_from_crash", false);
// is suppressed, synthetic click events and co. go to the old page, which can
// be confusing for tests that send click events before the first paint.
user_pref("nglayout.initialpaint.unsuppress_with_no_background", true);

// Explicitly turn off fission so we don't accidentally use the wrong default
// value. This can be removed once harnesses and tasks assume fission by
// default.
user_pref("fission.autostart", false);
4 changes: 4 additions & 0 deletions testing/profiles/perf/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,3 +95,7 @@ user_pref("startup.homepage_welcome_url.additional", "");
// tests (bug 1725270). Can be removed once non-about:blank intermediate pages
// are used instead (bug 1724261).
user_pref("browser.tabs.remote.systemTriggeredAboutBlankAnywhere", true);
// Explicitly turn off fission so we don't accidentally use the wrong default
// value. This can be removed once harnesses and tasks assume fission by
// default.
user_pref("fission.autostart", false);
5 changes: 5 additions & 0 deletions testing/profiles/profileserver/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,8 @@
/* globals user_pref */
// Turn off budget throttling for the profile server
user_pref("dom.timeout.enable_budget_timer_throttling", false);

// Explicitly turn off fission so we don't accidentally use the wrong default
// value. This can be removed once harnesses and tasks assume fission by
// default.
user_pref("fission.autostart", false);
5 changes: 5 additions & 0 deletions testing/profiles/raptor/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ user_pref('datareporting.healthreport.uploadEnabled', false);
// https://bugzilla.mozilla.org/show_bug.cgi?id=1706180
user_pref('toolkit.telemetry.initDelay', 99999999);

// Explicitly turn off fission so we don't accidentally use the wrong default
// value. This can be removed once harnesses and tasks assume fission by
// default.
user_pref("fission.autostart", false);

// disable autoplay for raptor tests
user_pref('media.autoplay.default', 5);
user_pref('media.autoplay.ask-permission', true);
Expand Down
4 changes: 4 additions & 0 deletions testing/profiles/reftest/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,3 +100,7 @@ user_pref("toolkit.telemetry.initDelay", 99999999);
user_pref("toolkit.legacyUserProfileCustomizations.stylesheets", true);
// Use a light color-scheme unless explicitly overriden.
user_pref("layout.css.prefers-color-scheme.content-override", 1);
// Explicitly turn off fission so we don't accidentally use the wrong default
// value. This can be removed once harnesses and tasks assume fission by
// default.
user_pref("fission.autostart", false);
4 changes: 4 additions & 0 deletions testing/profiles/xpcshell/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,7 @@ user_pref("gfx.color_management.force_srgb", true);
user_pref("gfx.color_management.mode", 1);
// Don't enable remote tiles on new-tab pages in xpcshell
user_pref("browser.topsites.contile.enabled", false);
// Explicitly turn off fission so we don't accidentally use the wrong default
// value. This can be removed once harnesses and tasks assume fission by
// default.
user_pref("fission.autostart", false);

0 comments on commit 23c9c0a

Please sign in to comment.