Closed
Bug 1169146
Opened 10 years ago
Closed 10 years ago
Pressing the 'Clear' button while recording makes it impossible to start another recording without reopening the toolbox
Categories
(DevTools :: Performance Tools (Profiler/Timeline), defect)
DevTools
Performance Tools (Profiler/Timeline)
Tracking
(firefox41 verified)
VERIFIED
FIXED
Firefox 41
Tracking | Status | |
---|---|---|
firefox41 | --- | verified |
People
(Reporter: sjakthol, Assigned: jsantell)
References
Details
(Whiteboard: [testday-20150821])
Attachments
(1 file, 1 obsolete file)
12.62 KB,
patch
|
jsantell
:
review+
|
Details | Diff | Splinter Review |
STR:
1. Open performance tool.
2. Start recording.
3. Press 'Clear' button. The active recording stops.
4. Press the 'Start Recording Performance' button again.
Expected: A new recording starts.
Actual: The button is disabled but a recording is never started. The toolbox needs to be reopened before another recording can start.
Assignee | ||
Updated•10 years ago
|
Blocks: perf-tool-papercuts
Assignee | ||
Comment 2•10 years ago
|
||
Comment 3•10 years ago
|
||
Comment on attachment 8617695 [details] [diff] [review]
1169146-recordingbutton-clear.patch
Review of attachment 8617695 [details] [diff] [review]:
-----------------------------------------------------------------
oops
::: browser/devtools/performance/performance-view.js
@@ +182,5 @@
> + * on `shouldLock`.
> + *
> + * @param {boolean} shouldLock
> + */
> + _lockRecordButtons: function (shouldLock) {
"lock" vs. "shouldLock" is confusing.
_setRecordingButtonsLockedState is a mouthful but much clearer.
@@ +201,2 @@
> */
> + _activateRecordButtons: function (shouldActivate) {
Ditto. Activate and then you ask me "shouldActivate". wut.
::: browser/devtools/performance/test/head.js
@@ +345,5 @@
>
> click(win, button);
> yield clicked;
>
> + yield willStart;
Maybe make these checks before and after just to be sure.
Attachment #8617695 -
Flags: review?(vporof) → review+
Assignee | ||
Comment 4•10 years ago
|
||
Fixed the parameter names. Can't add a after click button-state check, there's no guarantee there what state it'll be between click and the will start/stop events (events should resolve sync, but the click yield will be async and will almost always be the same state as after the will start/stop event, but can't guarantee that)
Attachment #8617695 -
Attachment is obsolete: true
Attachment #8617716 -
Flags: review+
Assignee | ||
Comment 5•10 years ago
|
||
Whiteboard: [fixed-in-fx-team]
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
status-firefox41:
--- → fixed
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 41
Updated•10 years ago
|
QA Whiteboard: [good first verify]
Comment 7•10 years ago
|
||
I found this issue in Nightly 41.0a1 (2015-05-27) (Build ID: 20150527030204) on Linux x64
This Bug is now Verified as fixed on Latest Firefox Beta 41.0b3
Build ID : 20150820142145
User Agent : Mozilla/5.0 (X11; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0
QA Whiteboard: [good first verify] → [good first verify] [testday-20150821]
Whiteboard: [testday-20150821]
Comment 8•10 years ago
|
||
I have reproduced this bug in Nightly 41.0a1 (2015-05-27)(Build ID: 20150527030204) with Comment 0's instruction on Windows 10 64bit.
Bug is fixed now on latest Beta 41.0b3 (Build ID:20150820142145)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:41.0) Gecko/20100101 Firefox/41.0
[testday-20150821]
Comment 9•10 years ago
|
||
Status: RESOLVED → VERIFIED
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•