Bug 225743

Summary: console.table results in a Maximum Call Stack Size Exceeded.
Product: WebKit Reporter: zyscoder <zyscoder>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: inspector-bugzilla-changes, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
The bevavior in safari none

Description zyscoder@gmail.com 2021-05-13 04:23:40 PDT
Created attachment 428487 [details]
The bevavior in safari

* Version: Safari Technology Preview 
* OS: OSX 10.15.7 (19H1030)
* Step:
(1) Open Safari Technology Preview and navigate to the URL: https://vk.com
(2) Open the JavaScript Console and run the following JavaScript code:
```
_1 = new Range()
_2 = _1.extractContents()
console.table(_2)
```
(3) Wait for a while and then the tab would occur a "Maximum call stack size exceeded".
Noticed that running the same test code in chrome/firefox cannot trigger any problem. Maybe some improvement for the "console" module should be applied to make JavaScriptCore as strong as V8/SpiderMonkey.
Comment 1 Radar WebKit Bug Importer 2021-05-20 04:24:21 PDT
<rdar://problem/78252905>