(from 161445) STEPS TO REPRODUCE: 1. Trigger a console.assert with an object passed as an argument. You can use repro steps from 161445 to get this in Inspector^2. 2. Select the console message 3. Right-click and "Copy Selected" ([a] <-- copied text) 4. Expand the console message 5. Right-click and "Copy Selected" ([b] <-- copied text) => [a] and [b] differ, a has poor object formatting EXPECTED: They should have the same formatting, or at least [a] should have better spacing between array elements / object properties and look more like JSON. NOTES: [a] [Error] Assertion Failed: Selected record not within visible graph duration. – RenderingFrameTimelineRecord RenderingFrameTimelineRecord__displayData: {frameDuration: 0.0010277777777777776, segments: Array, graphHeightSeconds: 0.037}Object_callFrames: null_children: [ScriptTimelineRecord]Array (1)_durationByTaskType: Map {"rendering-frame-timeline-record-script" => 0.000051897979574278, "rendering-frame-timeline-record-layout" => 0, "rendering-frame-timeline-record-paint" => 0, "rendering-frame-timeline-record-other" => 0.00010197202209383249}Map (4)_endTime: 51.396495502005564_frameIndex: 1078_listeners: null_parent: null_sourceCodeLocation: null_startTime: 51.396341632003896_type: "timeline-record-type-rendering-frame"Symbol(rendering-frame-overview-graph-record-was-filtered): falseRenderingFrameTimelineRecord Prototype _updateFrameMarker (RenderingFrameTimelineOverviewGraph.js:239) layout (RenderingFrameTimelineOverviewGraph.js:139) _layoutSubtree (View.js:250) _layoutSubtree (View.js:254) _layoutSubtree (View.js:254) _visitViewTreeForLayout (View.js:327) [b] [Error] Assertion Failed: Selected record not within visible graph duration. RenderingFrameTimelineRecord __displayData: {frameDuration: 0.0010277777777777776, segments: Array, graphHeightSeconds: 0.037} _callFrames: null _children: [ScriptTimelineRecord] (1) _durationByTaskType: Map {"rendering-frame-timeline-record-script" => 0.000051897979574278, "rendering-frame-timeline-record-layout" => 0, "rendering-frame-timeline-record-paint" => 0, "rendering-frame-timeline-record-other" => 0.00010197202209383249} (4) _endTime: 51.396495502005564 _frameIndex: 1078 _listeners: null _parent: null _sourceCodeLocation: null _startTime: 51.396341632003896 _type: "timeline-record-type-rendering-frame" Symbol(rendering-frame-overview-graph-record-was-filtered): false RenderingFrameTimelineRecord Prototype _updateFrameMarker (RenderingFrameTimelineOverviewGraph.js:239) layout (RenderingFrameTimelineOverviewGraph.js:139) _layoutSubtree (View.js:250) _layoutSubtree (View.js:254) _layoutSubtree (View.js:254) _visitViewTreeForLayout (View.js:327)
<rdar://problem/28213453>