NEW256507
Error.stackTraceLimit can not be updated correctly in LLInt
https://bugs.webkit.org/show_bug.cgi?id=256507
Summary Error.stackTraceLimit can not be updated correctly in LLInt
vettalyray
Reported 2023-05-08 20:35:50 PDT
==================test.js============= function f(a1) { try{ Error.stackTraceLimit = a1; throw Error() } catch(e) { return e.stack; } } for (let i = 0; i < 2; i++) { print(f(i)); } ===================================== Run args: ./jsc test.js JSC prints two "undefined". V8 prints "undefined" and a stacktrace. The same problem is in Safari console. Error.statckTraceLimit can not be modified correctly in LLInt.
Attachments
Alexey Proskuryakov
Comment 1 2023-05-09 09:09:57 PDT
Dupe of bug 255508?
Radar WebKit Bug Importer
Comment 2 2023-05-15 20:36:20 PDT
Note You need to log in before you can comment on or make changes to this bug.