Closed Bug 1557064 Opened 6 years ago Closed 5 years ago

Stop using devtools.testing during debugger performance test

Categories

(DevTools :: Debugger, task, P3)

task

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1581525

People

(Reporter: jdescottes, Unassigned)

References

Details

Follow up to Bug 1556395

The debugger is relying on the isTesting() helper to make preview popups testable. This method relies on the devtools.testing preference.

The debugger custom DAMP test is now setting devtools.testing to true in order to test preview popups:
https://searchfox.org/mozilla-central/source/testing/talos/talos/tests/devtools/addon/content/tests/debugger/custom.js#25

Unfortunately this preference is also used in a lot of codepaths in devtools in order to log additional information. So it slows down the test significantly without any correlation to what users will experience when using the panel.

We should introduce another preference that would still allow to test popups, without having any performance impact.

Priority: -- → P3
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.