Bug 217574

Summary: [JSC] arguments.callee should become ThrowTypeError if function has non simple parameter list
Product: WebKit Reporter: Yusuke Suzuki <ysuzuki>
Component: New BugsAssignee: Yusuke Suzuki <ysuzuki>
Status: RESOLVED FIXED    
Severity: Normal CC: claude.pache, darin, ews-watchlist, keith_miller, mark.lam, msaboff, saam, tzagallo, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Yusuke Suzuki 2020-10-11 02:57:40 PDT
[JSC] arguments.callee should become ThrowTypeError if function has non simple parameter list
Comment 1 Yusuke Suzuki 2020-10-11 02:59:03 PDT
Created attachment 411043 [details]
Patch
Comment 2 Darin Adler 2020-10-11 11:00:53 PDT
Comment on attachment 411043 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=411043&action=review

> Source/JavaScriptCore/parser/ParserModes.h:307
>  typedef uint16_t CodeFeatures;

OptionSet would make this a lot nicer.
Comment 3 EWS 2020-10-11 11:21:14 PDT
Committed r268323: <https://trac.webkit.org/changeset/268323>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 411043 [details].
Comment 4 Radar WebKit Bug Importer 2020-10-11 11:22:16 PDT
<rdar://problem/70184308>
Comment 5 Alexey Shvayka 2020-12-11 22:24:53 PST
*** Bug 148681 has been marked as a duplicate of this bug. ***