Bug 143923 - Make Builtin functions non constructible
Summary: Make Builtin functions non constructible
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Yusuke Suzuki
URL:
Keywords:
Depends on:
Blocks: 143889
  Show dependency treegraph
 
Reported: 2015-04-18 13:17 PDT by Yusuke Suzuki
Modified: 2015-04-20 11:43 PDT (History)
5 users (show)

See Also:


Attachments
Patch (5.91 KB, patch)
2015-04-18 14:54 PDT, Yusuke Suzuki
no flags Details | Formatted Diff | Diff
Patch (6.45 KB, patch)
2015-04-18 15:44 PDT, Yusuke Suzuki
no flags Details | Formatted Diff | Diff
Patch (5.95 KB, patch)
2015-04-18 15:49 PDT, Yusuke Suzuki
no flags Details | Formatted Diff | Diff
Patch (7.72 KB, patch)
2015-04-18 15: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 2015-04-18 13:17:40 PDT
Host function is set as non-constructible.
However, now, builtin function is not set as non-constructible.
In ES6, these builtin functions which are not specified as a constructor is non-constructible.
Comment 1 Yusuke Suzuki 2015-04-18 14:54:32 PDT
Created attachment 251098 [details]
Patch
Comment 2 Yusuke Suzuki 2015-04-18 15:44:20 PDT
Created attachment 251099 [details]
Patch
Comment 3 Yusuke Suzuki 2015-04-18 15:49:07 PDT
Created attachment 251100 [details]
Patch
Comment 4 Yusuke Suzuki 2015-04-18 15:59:24 PDT
Created attachment 251101 [details]
Patch
Comment 5 WebKit Commit Bot 2015-04-19 12:00:45 PDT
Comment on attachment 251101 [details]
Patch

Clearing flags on attachment: 251101

Committed r182995: <http://trac.webkit.org/changeset/182995>
Comment 6 WebKit Commit Bot 2015-04-19 12:00:50 PDT
All reviewed patches have been landed.  Closing bug.
Comment 7 Geoffrey Garen 2015-04-20 11:43:15 PDT
Nice! I need this fix too!