Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4298267945e80b52ddbc50a483b30740f08a164e
      
https://github.com/WebKit/WebKit/commit/4298267945e80b52ddbc50a483b30740f08a164e
  Author: Yusuke Suzuki <[email protected]>
  Date:   2025-01-15 (Wed, 15 Jan 2025)

  Changed paths:
    A JSTests/stress/parser-stack-overflow.js
    M Source/JavaScriptCore/parser/Parser.cpp

  Log Message:
  -----------
  [JSC] Gracefully handle stack overflow error from JS parser in class 
initializer syntax
https://bugs.webkit.org/show_bug.cgi?id=285800
rdar://142737633

Reviewed by Mark Lam.

parseExpression can fail when soft stack overflow check fails. We should
fail gracefully in that condition.

* JSTests/stress/parser-stack-overflow.js: Added.
(__c_1):
* Source/JavaScriptCore/parser/Parser.cpp:
(JSC::Parser<LexerType>::parseClassFieldInitializerSourceElements):

Canonical link: https://commits.webkit.org/288919@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to