Bug 155329 - [ES6] Instanceof isn't spec compliant when the RHS is a Proxy with a target that is a function
Summary: [ES6] Instanceof isn't spec compliant when the RHS is a Proxy with a target t...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Saam Barati
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-10 15:14 PST by Saam Barati
Modified: 2016-03-10 16:43 PST (History)
10 users (show)

See Also:


Attachments
patch (11.76 KB, patch)
2016-03-10 16:11 PST, Saam Barati
mark.lam: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Saam Barati 2016-03-10 15:14:56 PST
({} instance (new Proxy(function(){}, {}))
should not throw a type error.
Comment 1 Saam Barati 2016-03-10 16:11:22 PST
Created attachment 273644 [details]
patch
Comment 2 Mark Lam 2016-03-10 16:19:27 PST
Comment on attachment 273644 [details]
patch

r=me
Comment 3 Saam Barati 2016-03-10 16:43:58 PST
landed in:
http://trac.webkit.org/changeset/197970