[Webkit-unassigned] [Bug 199252] New: Web Inspector: throw an error if console.count/console.countReset is called with an object that throws an error from toString

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 26 17:49:37 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=199252

            Bug ID: 199252
           Summary: Web Inspector: throw an error if
                    console.count/console.countReset is called with an
                    object that throws an error from toString
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: drousso at apple.com
                CC: inspector-bugzilla-changes at group.apple.com

This should throw an error, but doesn't :(

```
    console.count({ toString() { throw new Error('conversion error'); } })
```

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190627/faa9517f/attachment.html>


More information about the webkit-unassigned mailing list