Bug 128853

Summary: Spread operator has a bad time when applied to call function
Product: WebKit Reporter: Oliver Hunt <oliver>
Component: JavaScriptCoreAssignee: Oliver Hunt <oliver>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch ggaren: review+

Description Oliver Hunt 2014-02-14 16:15:05 PST
function apply()
{
    return this.apply(...arguments);
}

Crashes in a sad and unhappy way, similar bad behaviour happens for call :-(
Comment 1 Radar WebKit Bug Importer 2014-02-14 16:15:39 PST
<rdar://problem/16075924>
Comment 2 Oliver Hunt 2014-02-24 16:12:36 PST
Making this bug track the more complicated .call case
Comment 3 Oliver Hunt 2014-02-24 19:00:14 PST
Created attachment 225111 [details]
Patch
Comment 4 Geoffrey Garen 2014-02-24 19:55:30 PST
Comment on attachment 225111 [details]
Patch

r=me
Comment 5 Oliver Hunt 2014-02-24 22:54:14 PST
Committed r164630: <http://trac.webkit.org/changeset/164630>