Closed Bug 1510067 Opened 3 years ago Closed 3 years ago
.log objects are not very useful in their current form
Bug 1510067 - change structure of console log messages reporting, create preview of objects and arrays
47 bytes, text/x-phabricator-request
|Details | Review|
When working on https://github.com/webcompat/webcompat.com/issues/2659 I discovered that the logs for objects were not very useful. when devtools are reporting an object it creates a line giving the name of the object that we can expand in multiple sub-structures. Currently the reporter just sends back [object Object] which is not that useful. There will be a choice to make, because expanding all substructures can trigger quite a big (infinite? circular?) expansion. But we should probably improve what we currently have if possible.
Summary: [reporter] objects are not very useful → [reporter] console.log objects are not very useful in their current form
Assignee: nobody → kberezina
Status: NEW → ASSIGNED
Flags: needinfo?(kdubost) → needinfo?(nchevobbe)
You need to log in before you can comment on or make changes to this bug.