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

Yusuke Suzuki
Reported 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.
Attachments
Patch (5.91 KB, patch)
2015-04-18 14:54 PDT, Yusuke Suzuki
no flags
Patch (6.45 KB, patch)
2015-04-18 15:44 PDT, Yusuke Suzuki
no flags
Patch (5.95 KB, patch)
2015-04-18 15:49 PDT, Yusuke Suzuki
no flags
Patch (7.72 KB, patch)
2015-04-18 15:59 PDT, Yusuke Suzuki
no flags
Yusuke Suzuki
Comment 1 2015-04-18 14:54:32 PDT
Yusuke Suzuki
Comment 2 2015-04-18 15:44:20 PDT
Yusuke Suzuki
Comment 3 2015-04-18 15:49:07 PDT
Yusuke Suzuki
Comment 4 2015-04-18 15:59:24 PDT
WebKit Commit Bot
Comment 5 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>
WebKit Commit Bot
Comment 6 2015-04-19 12:00:50 PDT
All reviewed patches have been landed. Closing bug.
Geoffrey Garen
Comment 7 2015-04-20 11:43:15 PDT
Nice! I need this fix too!
Note You need to log in before you can comment on or make changes to this bug.