Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1625d084a7f47cc70ff6bba2ad08b4fe7c29c3dc
      
https://github.com/WebKit/WebKit/commit/1625d084a7f47cc70ff6bba2ad08b4fe7c29c3dc
  Author: Yusuke Suzuki <[email protected]>
  Date:   2026-02-16 (Mon, 16 Feb 2026)

  Changed paths:
    M LayoutTests/js/dom/JSON-parse-complex-expected.txt
    M LayoutTests/js/dom/JSON-parse-expected.txt
    M Source/JavaScriptCore/runtime/LiteralParser.cpp
    M Source/JavaScriptCore/runtime/LiteralParser.h
    M Source/WTF/wtf/FastFloat.cpp
    M Source/WTF/wtf/FastFloat.h

  Log Message:
  -----------
  [JSC] Let fast_float parse numbers in JSON
https://bugs.webkit.org/show_bug.cgi?id=307476
rdar://170092076

Reviewed by Keith Miller.

Let fast_float parse complex numbers directly. It is supporting JSON
format strictly so we do not need to parse the same format twice.

* LayoutTests/js/dom/JSON-parse-complex-expected.txt:
* LayoutTests/js/dom/JSON-parse-expected.txt:
* Source/JavaScriptCore/runtime/LiteralParser.cpp:
(JSC::reviverMode>::Lexer::lexNumber):
(JSC::reviverMode>::Lexer::lexNumberError):
* Source/JavaScriptCore/runtime/LiteralParser.h:
* Source/WTF/wtf/FastFloat.cpp:
(WTF::parseJSONDouble):
* Source/WTF/wtf/FastFloat.h:

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



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

Reply via email to