Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 09c07d2796ab7091c475e3c4efb6e1718d73c1d6
      
https://github.com/WebKit/WebKit/commit/09c07d2796ab7091c475e3c4efb6e1718d73c1d6
  Author: Kai Tamkun <[email protected]>
  Date:   2026-05-26 (Tue, 26 May 2026)

  Changed paths:
    A JSTests/stress/regress-171780137.js
    M Source/JavaScriptCore/runtime/LiteralParser.cpp

  Log Message:
  -----------
  [JSC] Skip transitions with symbol names in LiteralParser
rdar://171780137
https://bugs.webkit.org/show_bug.cgi?id=309841

Reviewed by Yusuke Suzuki and Darin Adler.

This PR causes LiteralParser::equalIdentifier to return false when
given a symbol. This prevents following property addition transitions
when the added property name is a symbol. The literal parser doesn't
deal with symbol property names.

Test: JSTests/stress/regress-171780137.js

* JSTests/stress/regress-171780137.js: Added.
(assert):
* Source/JavaScriptCore/runtime/LiteralParser.cpp:
(JSC::reviverMode>::equalIdentifier): Add a check for symbols

Originally-landed-as: 305413.528@rapid/safari-7624.2.5.110-branch 
(f2bc8d9a2369). rdar://176062079
Canonical link: https://commits.webkit.org/313944@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to