WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
241953
[JSC] Generic iterator protocol function should be invisible to Function's caller getter
https://bugs.webkit.org/show_bug.cgi?id=241953
Summary
[JSC] Generic iterator protocol function should be invisible to Function's ca...
tuanit96
Reported
2022-06-23 18:58:51 PDT
This code should have returned function foo instead of null function foo(arr) { return [...arr]; } let obj = {}; obj[Symbol.iterator] = function bar () { alert(arguments.callee.caller); return { next() { return { done: true }; } }; }; foo(obj);
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2022-06-30 16:25:41 PDT
<
rdar://problem/96253786
>
Yusuke Suzuki
Comment 2
2022-07-17 17:37:55 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/2498
EWS
Comment 3
2022-07-18 14:10:36 PDT
Committed
252578@main
(1a1af3bd846d): <
https://commits.webkit.org/252578@main
> Reviewed commits have been landed. Closing PR #2498 and removing active labels.
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