[Webkit-unassigned] [Bug 256507] New: Error.stackTraceLimit can not be updated correctly in LLInt

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 8 20:35:50 PDT 2023


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

            Bug ID: 256507
           Summary: Error.stackTraceLimit can not be updated correctly in
                    LLInt
           Product: WebKit
           Version: WebKit Local Build
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: vettalyray at gmail.com

==================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.

-- 
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/20230509/8420b6fd/attachment.htm>


More information about the webkit-unassigned mailing list