Bug 145952 - Web Inspector: console.table() with a list of objects no longer works
Summary: Web Inspector: console.table() with a list of objects no longer works
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Joseph Pecoraro
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-06-12 17:41 PDT by Joseph Pecoraro
Modified: 2015-06-15 12:17 PDT (History)
8 users (show)

See Also:


Attachments
[PATCH] Proposed Fix (21.33 KB, patch)
2015-06-12 17:45 PDT, Joseph Pecoraro
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.