Bug 141740

Summary: Web Inspector: Object previews differs for objects logged before the Inspector was opened
Product: WebKit Reporter: Nikita Vasilyev <nvasilyev>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Normal CC: graouts, joepeck, jonowells, mattbaker, nvasilyev, timothy, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Animated GIF of the problem
none
Reduction none

Description Nikita Vasilyev 2015-02-17 19:35:25 PST
Created attachment 246789 [details]
Animated GIF of the problem

Expected output:

    {x: 12, y: 53, z: 29}
    <body>...</body>

Actual, logged while the inspector was closed:

    Object
    <body>...</body>

Actual, logged while the inspector was opened:

    {x: 12, y: 53, z: 29}
    ► body
Comment 1 Radar WebKit Bug Importer 2015-02-17 19:35:41 PST
<rdar://problem/19870758>
Comment 2 Nikita Vasilyev 2015-02-17 19:37:19 PST
Created attachment 246790 [details]
Reduction
Comment 3 Joseph Pecoraro 2015-03-02 13:42:11 PST
This is expected. We don't snapshot/preview logged objects unless the inspector is open, to reduce the memory cost of non-debugging browsing.