WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
298843
[JSC] Add JSValueConvertible concept to constrain callWithArguments template parameters
https://bugs.webkit.org/show_bug.cgi?id=298843
Summary
[JSC] Add JSValueConvertible concept to constrain callWithArguments template ...
Sosuke Suzuki
Reported
2025-09-14 19:54:18 PDT
CachedCall::callWithArguments and Interpreter::tryCallWithArguments currently accept arbitrary template parameter types, but in practice all arguments must be JSValue or JSValue-convertible types. This patch introduces a JSValueConvertible concept to explicitly constrain these template parameters.
Attachments
Add attachment
proposed patch, testcase, etc.
Sosuke Suzuki
Comment 1
2025-09-14 19:55:12 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/50726
EWS
Comment 2
2025-09-17 01:18:56 PDT
Committed
300072@main
(0887ce7bb6fc): <
https://commits.webkit.org/300072@main
> Reviewed commits have been landed. Closing PR #50726 and removing active labels.
Radar WebKit Bug Importer
Comment 3
2025-09-17 01:20:11 PDT
<
rdar://problem/160757481
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug