Bug 182754 - console.group and console.groupCollapsed should log all arguments
Summary: console.group and console.groupCollapsed should log all arguments
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-13 16:44 PST by webkitbugzilla
Modified: 2018-02-13 17:08 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description webkitbugzilla 2018-02-13 16:44:17 PST
Reproduction steps:

1. Visit https://chemical-willow.glitch.me in Safari Technology Preview (Release 49 (Safari 11.2, WebKit 13606.1.3.3))
2. Open the console and look at the logs

Expected behavior:

The logs should contain all args passed into the console functions, resulting in the following logs for each console function(group and groupCollapsed).

```
1
{key: "1"}
1 2
1 {key: "2"}
demo
demo 2
demo {key: "2"}
```

Actual Behavior:

Safari seems to only log the first input.


```
1
Object
1
1
demo
demo
demo
```

Find screenshots of Chrome, Firefox and Safari console groups: https://imgur.com/a/h9MC7