Profiler should not cancel gathering asynchronous profiles when stopped
Categories
(Core :: Gecko Profiler, defect)
Tracking
()
People
(Reporter: mconley, Unassigned)
References
Details
The API has changed quite a bit. And I didn't see a way to type in the Browser Console, and the devtools console doesn't have Services
.
Also the profile-gathering function has an improved handling of non-responsive processes, it should give up after a few seconds.
So I'll tentatively mark this as fixed. Please reopen if you can reproduce something similar now.
Comment 2•3 years ago
|
||
(In reply to Gerald Squelart [:gerald] (he/him) from comment #1)
The API has changed quite a bit. And I didn't see a way to type in the Browser Console, and the devtools console doesn't have
Services
.
I can type at the bottom of the Browser Console, can't you?
(In reply to Julien Wajsberg [:julienw] from comment #2)
I can type at the bottom of the Browser Console, can't you?
Strange, no I cannot type in my regular Nightly's browser console, it's only showing the log.
But in a local build I get the js prompt and can type.
I tried the original STR, and as I suspected, there's a delay of about 5s after which the promise is resolved with a profile (missing the frozen process).
I think it's a better outcome than the promise being rejected, as it preserves whatever data could be extracted. The downside is that currently there is no mention of the missing process in the profile -- There are future plans to expose such issues (no bug yet).
Having a doorhanger to stop the infinite script would be nice too, but out of scope for the profiler.
So I'll keep this bug fixed.
Comment 4•3 years ago
|
||
thankyou |
The browser console's text box is unlocked with the devtools.chrome.enabled pref.
Description
•