[webkit-changes] [WebKit/WebKit] a519a8: [JSC] parseObjectLiteral() should always create th...

Commit Queue noreply at github.com
Wed Jan 24 15:41:44 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a519a84a2f962828d3ad7182ef8739badc066161
      https://github.com/WebKit/WebKit/commit/a519a84a2f962828d3ad7182ef8739badc066161
  Author: Alexey Shvayka <ashvayka at apple.com>
  Date:   2024-01-24 (Wed, 24 Jan 2024)

  Changed paths:
    M Source/JavaScriptCore/parser/Parser.cpp

  Log Message:
  -----------
  [JSC] parseObjectLiteral() should always create the node with expression start location
https://bugs.webkit.org/show_bug.cgi?id=268036
<rdar://problem/121555797>

Reviewed by Justin Michaud.

This was the idea of https://bugs.webkit.org/show_bug.cgi?id=267728,
yet unfortunately the case of ObjectLiteral containing a comma was missed.

* Source/JavaScriptCore/parser/Parser.cpp:
(JSC::Parser<LexerType>::parseObjectLiteral):

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




More information about the webkit-changes mailing list