[remote:debugging][performance]: Performance tab isn't displayed by enabling the the checkbox from Inspect->Settings
Categories
(DevTools :: about:debugging, defect)
Tracking
(firefox66 unaffected, firefox67 unaffected, firefox68 affected)
Tracking | Status | |
---|---|---|
firefox66 | --- | unaffected |
firefox67 | --- | unaffected |
firefox68 | --- | affected |
People
(Reporter: liviu.seplecan, Unassigned)
References
Details
Attachments
(1 file, 2 obsolete files)
(deleted),
image/png
|
Details |
[Affected versions]:
Nightly 68.0a1 (as client-profile) <-> Nighlty 68.0a1 (as server-profile)
[Affected platforms]:
Ubuntu 16.04
Windows 10
Mac 10.14
[Steps to reproduce]:
- Open a Nighlty as a client profile then using the Terminal commands to open as well a Nightly server profile.
- On Server profile, go to Inspect Elements -> Settings-> scroll down until the "Advanced settings" section -> check the last two boxes(specially the last one - "Enable new performance recorder...").
- Go to client profile -> about:debugging page and make a localhost connection.
- Then form Tabs or Extensions click on any INSPECT button.
Expected results: In the about:devtools-toolbox page, among the others tabs should be the PERFORMANCE one.
Actual results: The PERFORMANCE tab doesn't appear on about:devtools-toolbox page. - see attached video link: https://streamable.com/3d6h9
- In case that we have enabled on both side (CLIENT & SERVER)->the new-performance checkbox, the issue will occur.
Note:
- It is a quite confusing situation because if the checkbox, the one explained at step 2, will not be enabled => the issue won't occur.
Reporter | ||
Updated•6 years ago
|
Reporter | ||
Updated•6 years ago
|
Reporter | ||
Updated•6 years ago
|
Reporter | ||
Comment 1•6 years ago
|
||
@Julien, Due the scenario from the description, which is the correct/intended behavior? => To have on the CLIENT & SERVER side the checkbox with "new performance recorder" unchecked? Which will be the scenarios for testing - to have checked this box on Client or on Server?
Reporter | ||
Updated•6 years ago
|
Comment 2•6 years ago
|
||
(the screencast is just showing a desktop?)
This setting only affects the client, changing DevTools settings on the server instance has no impact. The display of the performance tab is only impacted by the settings on the client firefox (the one where you start about:debugging).
If you have "Enable new performance recorder" checked on the client Firefox, then the performance tab is not displayed for remote debugging. But you need to close and reopen about:devtools-toolbox to see the change ("then re-open DevTools").
which is the correct/intended behavior? => To have on the CLIENT & SERVER side the checkbox with "new performance recorder" unchecked? Which will be the scenarios for testing - to have checked this box on Client or on Server?
This checkbox is only displayed on Nightly (and is not riding the trains), so for remote debugging testing you should always test with the checkbox unchecked, it's what users will experience on Beta/DevEdition/Release.
I guess we could always force the old performance panel when doing remote debugging, but again this issue is Nightly channel only, so low priority in my opinion.
Reporter | ||
Comment 3•6 years ago
|
||
Hi @Julien, what I'm trying to say is that, no matter the place (CLIENT or SERVER) where I do the change (checking the option "new performance recorder") the effect/impact is the same => the issue can be reproduced.
Comment 4•6 years ago
|
||
(In reply to Liviu Seplecan from comment #3)
Hi @Julien, what I'm trying to say is that, no matter the place (CLIENT or SERVER) where I do the change (checking the option "new performance recorder") the effect/impact is the same => the issue can be reproduced.
Happy to go through this on vidyo, please ping me on slack.
Comment 5•6 years ago
|
||
Ok discussed a bit with Hani, and the scenario I have to reproduce your issue is:
- open SERVER firefox
- in SERVER open a tab TAB1
- in TAB1 open devtools settings
- in TAB1 enable new performance recorder
- close TAB1
- in SERVER open a tab TAB2
- open client firefox
- in CLIENT open about:debugging
- connect to TAB2
Then the performance panel will be disabled.
Comment 6•6 years ago
|
||
I think the reason for this particular issue is that we are not starting the performance actor on the server side the new performance panel is enabled:
if ("nsIProfiler" in Ci &&
!Services.prefs.getBoolPref("devtools.performance.new-panel-enabled", false)) {
this.registerModule("devtools/server/actors/performance", {
prefix: "performance",
constructor: "PerformanceActor",
type: { target: true },
});
}
Julien: In theory devtools.performance.new-panel-enabled is a client-side preference (and it's not available on Android for instance), so I don't think it should drive registering the performance actor on the server. If the client is not using the performance actor because it only uses the new panel, there shouldn't be any overhead in having the actor registered and ready to go? Is there another reason why we absolutely want to avoid registering the actor here?
Comment 7•6 years ago
|
||
I filed bug 1507459 some months ago, so I completely agree with you :-)
Comment 8•6 years ago
|
||
Ah thanks, will submit a patch for the other bug then. Can't think of a good way to test this for now though.
Comment 9•6 years ago
|
||
After Bug 1507459 landed, the display of the performance tab should no longer be influenced by the value of the preference on the server side. Should we close this bug?
Reporter | ||
Comment 10•6 years ago
|
||
Reporter | ||
Comment 11•6 years ago
|
||
Reporter | ||
Comment 12•6 years ago
|
||
Hi @Julian Descottes, I've tried to re-test the scenarios from comment 5 attempting to verify if the Performance tab appears. Doing that, I cannot saw the connection message approval("OK" or "Cancel"). I will attach two screenshots to see how it looks.
Comment 13•6 years ago
|
||
You wrote "locvalhost" instead of "localhost" :)
Reporter | ||
Comment 14•6 years ago
|
||
Reporter | ||
Comment 15•6 years ago
|
||
Sorry for previously attachments
Reporter | ||
Comment 16•6 years ago
|
||
I will check some scenario and return with the details
Comment 17•6 years ago
|
||
Hmmm, local network debugging still work I have used it on latest central.Did you check the port was the good one?
I can help you debug your issue, but Bugzilla's not the place to do that, please contact me on slack?
Reporter | ||
Comment 18•6 years ago
|
||
Finally, I could re-test the scenario - on my end the Performance tab appears properly by enabling the new performance recorder option from devtools inspector.
Comment 19•6 years ago
|
||
The priority flag is not set for this bug.
:jdescottes, could you have a look please?
For more information, please visit auto_nag documentation.
Updated•6 years ago
|
Description
•