Bug 217574 - [JSC] arguments.callee should become ThrowTypeError if function has non simple parameter list
Summary: [JSC] arguments.callee should become ThrowTypeError if function has non simpl...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Yusuke Suzuki
URL:
Keywords: InRadar
: 148681 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-10-11 02:57 PDT by Yusuke Suzuki
Modified: 2020-12-11 22:24 PST (History)
9 users (show)

See Also:


Attachments
Patch (15.89 KB, patch)
2020-10-11 02:59 PDT, Yusuke Suzuki
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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. ***