mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-15 08:53:07 +09:00
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:
parent
ed8a17ae7d
commit
49ceae702e
16 changed files with 5 additions and 179 deletions
|
|
@ -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 };
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue