Closed Bug 1165504 Opened 4 years ago Closed 4 years ago

Clean up marker details


(DevTools :: Performance Tools (Profiler/Timeline), defect)

41 Branch
Not set


(firefox40 fixed, firefox41 fixed)

Firefox 41
Tracking Status
firefox40 --- fixed
firefox41 --- fixed


(Reporter: jsantell, Assigned: jsantell)


(Blocks 1 open bug)



(1 file)

Make this more declaritive, easier to extend.
Assignee: nobody → jsantell
This will make adding custom detail views, and easily change labels for anyone doing marker things.
Attachment #8606544 - Flags: review?(vporof)
No longer blocks: 1162662
Comment on attachment 8606544 [details] [diff] [review]

Review of attachment 8606544 [details] [diff] [review]:

oh my god i love this patch so much

::: browser/devtools/performance/modules/recording-utils.js
@@ +208,5 @@
>   * @return object
>   *         The filtered timeline blueprint.
>   */
>  exports.RecordingUtils.getFilteredBlueprint = function({ blueprint, hiddenMarkers }) {
> +  // Clone functions here just to prevent an error; we don't need them here.

A bit more details about the error por favor.

::: browser/devtools/shared/timeline/global.js
@@ +20,5 @@
>   *   - group: the row index in the timeline overview graph; multiple markers
>   *            can be added on the same row. @see <overview.js/buildGraphImage>
> + *   - label: the label used in the waterfall to identify the marker. Can be a
> + *           string or just a function that accepts the marker and returns a string,
> + *           if you want to use a dynamic property for the main label.

Need one more space of indentation here for the last two lines.

@@ +101,3 @@
>    },
> +
> +  /* Group 2 - User Controlled? */

No "?"
Attachment #8606544 - Flags: review?(vporof) → review+
Addressed comments, landed:
Whiteboard: [fixed-in-fx-team]
Closed: 4 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 41
Flags: qe-verify-
Comment on attachment 8606544 [details] [diff] [review]

Approval Request Comment
[Feature/regressing bug #]: 1167252, the new performance tool
[User impact if declined]: Won't ship the performance tool
[Describe test coverage new/current, TreeHerder]: There are try pushes in Bug 1167252 with all patches needing uplift
[Risks and why]: Requesting uplift for the accumulated changes in the performance tool since the 40 merge date, so these changes haven't had the full 6 weeks to bake.  Risks are generally contained within devtools, specifically within the performance panel.
[String/UUID change made/needed]: None
Attachment #8606544 - Flags: approval-mozilla-aurora?
Note: I had verbal confirmation for these uplifts from Sylvestre even before he's flagged them as a+.  See
Comment on attachment 8606544 [details] [diff] [review]

Change approved to skip one train as part of the spring campaign.
Attachment #8606544 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.