[webkit-changes] [WebKit/WebKit] 970f62: Unreviewed, use previous length checking in JSON.s...

Yusuke Suzuki noreply at github.com
Mon May 8 16:03:00 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 970f62aaf87cb70349d806f1455253f7767bb571
      https://github.com/WebKit/WebKit/commit/970f62aaf87cb70349d806f1455253f7767bb571
  Author: Yusuke Suzuki <ysuzuki at apple.com>
  Date:   2023-05-08 (Mon, 08 May 2023)

  Changed paths:
    M Source/JavaScriptCore/runtime/JSONObject.cpp

  Log Message:
  -----------
  Unreviewed, use previous length checking in JSON.stringify
https://bugs.webkit.org/show_bug.cgi?id=256494
rdar://109053647

FastStringifier is not using m_buffer entirely. So it is separately tracking m_capacity right now.
This design looks very strange, but let's stick with it.

* Source/JavaScriptCore/runtime/JSONObject.cpp:
(JSC::FastStringifier::append):

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




More information about the webkit-changes mailing list