[webkit-changes] [WebKit/WebKit] aa30fa: [JSC] String#toWellFormed should return stringifie...
Yusuke Suzuki
noreply at github.com
Wed Feb 8 17:42:27 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: aa30fafbe181103163e4268fe7d1a2ea4a356f26
https://github.com/WebKit/WebKit/commit/aa30fafbe181103163e4268fe7d1a2ea4a356f26
Author: Yusuke Suzuki <ysuzuki at apple.com>
Date: 2023-02-08 (Wed, 08 Feb 2023)
Changed paths:
A JSTests/stress/string-to-well-formed-number.js
M Source/JavaScriptCore/runtime/StringPrototype.cpp
Log Message:
-----------
[JSC] String#toWellFormed should return stringified value
https://bugs.webkit.org/show_bug.cgi?id=251757
rdar://problem/105104668
Reviewed by Justin Michaud and Mark Lam.
We should return stringified value instead of original thisValue for the fast path.
* JSTests/stress/string-to-well-formed-number.js: Added.
(shouldBe):
* Source/JavaScriptCore/runtime/StringPrototype.cpp:
(JSC::JSC_DEFINE_HOST_FUNCTION):
Canonical link: https://commits.webkit.org/260043@main
More information about the webkit-changes
mailing list