Bug 145952

Summary: Web Inspector: console.table() with a list of objects no longer works
Product: WebKit Reporter: Joseph Pecoraro <joepeck>
Component: Web InspectorAssignee: Joseph Pecoraro <joepeck>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, graouts, joepeck, jonowells, mattbaker, nvasilyev, timothy, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
[PATCH] Proposed Fix none

Description Joseph Pecoraro 2015-06-12 17:41:54 PDT
* SUMMARY
console.table() with a list of objects no longer works.

* TEST
<script>
function Person(firstName, lastName) {
    this.firstName = firstName;
    this.lastName = lastName;
}
var john = new Person("John", "Smith");
var jane = new Person("Jane", "Doe");
var emily = new Person("Emily", "Jones");
console.table([john, jane, emily]);
</script>

* STEPS TO REPRODUCE
1. Load test
2. Show console
  => expected table with Index, firstName, lastName and 3 rows
Comment 1 Radar WebKit Bug Importer 2015-06-12 17:42:25 PDT
<rdar://problem/21368856>
Comment 2 Joseph Pecoraro 2015-06-12 17:45:30 PDT
Created attachment 254841 [details]
[PATCH] Proposed Fix
Comment 3 WebKit Commit Bot 2015-06-13 13:42:41 PDT
Comment on attachment 254841 [details]
[PATCH] Proposed Fix

Clearing flags on attachment: 254841

Committed r185540: <http://trac.webkit.org/changeset/185540>
Comment 4 WebKit Commit Bot 2015-06-13 13:42:44 PDT
All reviewed patches have been landed.  Closing bug.
Comment 5 Alexey Proskuryakov 2015-06-14 22:26:59 PDT
inspector/console/console-table.html times out every time on Windows and Gtk.
Comment 6 Joseph Pecoraro 2015-06-15 12:17:37 PDT
Skipped on Windows like the other console test in r185559.
https://trac.webkit.org/changeset/185559

I did not see this test failing on GTK.