Bug 165995

Summary: WebAssembly: constructors without new don't throw
Product: WebKit Reporter: JF Bastien <jfbastien>
Component: JavaScriptCoreAssignee: JF Bastien <jfbastien>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, fpizlo, jfbastien, keith_miller, mark.lam, msaboff, saam
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 161709    
Attachments:
Description Flags
patch none

JF Bastien
Reported 2016-12-17 07:43:31 PST
Attachments
patch (12.35 KB, patch)
2017-03-22 01:22 PDT, JF Bastien
no flags
JF Bastien
Comment 1 2017-03-21 01:56:01 PDT
To be clear: this is only for the WebAssembly.{Compile/Runtime/Link}Error types. Other WebAssembly constructors say "this constructor cannot be called as a function without new".
JF Bastien
Comment 2 2017-03-22 01:22:11 PDT
Saam Barati
Comment 3 2017-03-22 08:11:32 PDT
Comment on attachment 305084 [details] patch r=me
WebKit Commit Bot
Comment 4 2017-03-22 10:52:59 PDT
Comment on attachment 305084 [details] patch Clearing flags on attachment: 305084 Committed r214259: <http://trac.webkit.org/changeset/214259>
WebKit Commit Bot
Comment 5 2017-03-22 10:53:02 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.