Bug 225743 - console.table results in a Maximum Call Stack Size Exceeded.
Summary: console.table results in a Maximum Call Stack Size Exceeded.
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: InRadar
Depends on:
Blocks:
 
Reported: 2021-05-13 04:23 PDT by zyscoder@gmail.com
Modified: 2021-05-20 04:24 PDT (History)
2 users (show)

See Also:


Attachments
The bevavior in safari (541.67 KB, image/jpeg)
2021-05-13 04:23 PDT, zyscoder@gmail.com
no flags Details

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