[Webkit-unassigned] [Bug 256941] Function.prototype.caller gives different values

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 20 02:06:43 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=256941

--- Comment #2 from YuHao Hu <q602706150 at gmail.com> ---
This issue still exists, and here is a more detailed explanation of this issue.
The `opt` function is called twice in the same way by the for loop, but the problem is `opt.caller` in these two times is different. The first time is `null`, and the second time is the `opt` function. This behavior could be confusing, even though `Function.prototype.caller` is not in the standard.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240820/ba5077ba/attachment.htm>


More information about the webkit-unassigned mailing list