Bug 216467 - Make a few built-in methods throw if called as top-level functions
Summary: Make a few built-in methods throw if called as top-level functions
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Trivial
Assignee: Alexey Shvayka
URL:
Keywords: InRadar, WebExposed
Depends on:
Blocks:
 
Reported: 2020-09-13 16:48 PDT by Alexey Shvayka
Modified: 2020-09-14 12:50 PDT (History)
8 users (show)

See Also:


Attachments
Patch (8.42 KB, patch)
2020-09-13 17:59 PDT, Alexey Shvayka
no flags Details | Formatted Diff | Diff

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