Bug 216467

Summary: Make a few built-in methods throw if called as top-level functions
Product: WebKit Reporter: Alexey Shvayka <shvaikalesh>
Component: JavaScriptCoreAssignee: Alexey Shvayka <shvaikalesh>
Status: RESOLVED FIXED    
Severity: Trivial CC: darin, ews-watchlist, keith_miller, mark.lam, msaboff, sbarati, tzagallo, webkit-bug-importer
Priority: P2 Keywords: InRadar, WebExposed
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch none

Description Alexey Shvayka 2020-09-13 16:48:13 PDT
Make a few built-in methods throw if called as top-level functions
Comment 1 Alexey Shvayka 2020-09-13 17:59:20 PDT
Created attachment 408669 [details]
Patch
Comment 2 Alexey Shvayka 2020-09-14 12:44:41 PDT
Comment on attachment 408669 [details]
Patch

Thanks for review!
Comment 3 EWS 2020-09-14 12:49:05 PDT
Committed r267029: <https://trac.webkit.org/changeset/267029>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 408669 [details].
Comment 4 Radar WebKit Bug Importer 2020-09-14 12:50:21 PDT
<rdar://problem/68872710>