Bug 143923

Summary: Make Builtin functions non constructible
Product: WebKit Reporter: Yusuke Suzuki <ysuzuki>
Component: JavaScriptCoreAssignee: Yusuke Suzuki <ysuzuki>
Status: RESOLVED FIXED    
Severity: Normal CC: benjamin, commit-queue, darin, fpizlo, ggaren
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 143889    
Attachments:
Description Flags
Patch
none
Patch
none
Patch
none
Patch none

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!