[webkit-changes] [WebKit/WebKit] 4c1d07: [JSC] Bound function name should be resolved
Yusuke Suzuki
noreply at github.com
Mon Mar 27 01:51:48 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 4c1d077ec985eb840a20e5ffb65eb2b73fb89d31
https://github.com/WebKit/WebKit/commit/4c1d077ec985eb840a20e5ffb65eb2b73fb89d31
Author: Yusuke Suzuki <ysuzuki at apple.com>
Date: 2023-03-27 (Mon, 27 Mar 2023)
Changed paths:
A JSTests/stress/bound-function-name-rope.js
M Source/JavaScriptCore/runtime/JSBoundFunction.cpp
Log Message:
-----------
[JSC] Bound function name should be resolved
https://bugs.webkit.org/show_bug.cgi?id=254499
rdar://107243150
Reviewed by Ross Kirsling.
JSBoundFunction's name needs to be resolved string.
This patch fixes the case which sets JSRopeString to the name's field.
* JSTests/stress/bound-function-name-rope.js: Added.
(shouldBe):
(test):
* Source/JavaScriptCore/runtime/JSBoundFunction.cpp:
(JSC::JSBoundFunction::nameSlow):
Canonical link: https://commits.webkit.org/262139@main
More information about the webkit-changes
mailing list