Bug 128853 - Spread operator has a bad time when applied to call function
Summary: Spread operator has a bad time when applied to call function
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Oliver Hunt
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2014-02-14 16:15 PST by Oliver Hunt
Modified: 2014-02-24 22:54 PST (History)
1 user (show)

See Also:


Attachments
Patch (46.73 KB, patch)
2014-02-24 19:00 PST, Oliver Hunt
ggaren: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>