Remove testing-only UI components for e10s

This removes front-end tools only applicable for testing e10s (open non-e10s window, etc.)
This resolves #37
This commit is contained in:
wolfbeast 2018-03-03 21:26:56 +01:00 committed by Roy Tam
commit 49ceae702e
16 changed files with 5 additions and 179 deletions

View file

@ -527,11 +527,10 @@ var PerformanceController = {
if (flags.testing) {
return { supported: true, enabled: true };
}
let supported = system.constants.E10S_TESTING_ONLY;
// This is only checked on tool startup -- requires a restart if
// e10s subsequently enabled.
let enabled = this._e10s;
return { supported, enabled };
return { supported: false, enabled };
},
/**

View file

@ -41,8 +41,8 @@ add_task(function* () {
enabled = true;
PerformanceController._setMultiprocessAttributes();
ok($("#performance-view").getAttribute("e10s"), "",
"When e10s is enabled, but not supported, this probably means we no longer have " +
"E10S_TESTING_ONLY, and we have no e10s attribute.");
"When e10s is enabled, but not supported, this probably means we " +
"have no e10s attribute.");
supported = true;
enabled = true;