[Webkit-unassigned] [Bug 161446] New: Web Inspector: copied text from console.assert message has bad formatting when console message is collapsed
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Aug 31 11:41:19 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=161446
Bug ID: 161446
Summary: Web Inspector: copied text from console.assert message
has bad formatting when console message is collapsed
Classification: Unclassified
Product: WebKit
Version: WebKit Nightly Build
Hardware: All
OS: All
Status: NEW
Severity: Normal
Priority: P2
Component: Web Inspector
Assignee: webkit-unassigned at lists.webkit.org
Reporter: bburg at apple.com
CC: bburg at apple.com, joepeck at webkit.org,
mattbaker at apple.com, nvasilyev at apple.com,
timothy at apple.com, webkit-bug-importer at group.apple.com
(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)
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160831/7f2e36a6/attachment.html>
More information about the webkit-unassigned
mailing list