Bug 69290 - garden-o-matic should work in Safari 5.1
Summary: garden-o-matic should work in Safari 5.1
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Adam Barth
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-03 13:43 PDT by Adam Barth
Modified: 2011-10-03 14:36 PDT (History)
3 users (show)

See Also:


Attachments
Patch (2.90 KB, patch)
2011-10-03 13:44 PDT, Adam Barth
sam: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Barth 2011-10-03 13:43:50 PDT
garden-o-matic should work in Safari 5.1
Comment 1 Adam Barth 2011-10-03 13:44:38 PDT
Created attachment 109522 [details]
Patch
Comment 2 Adam Barth 2011-10-03 13:50:18 PDT
Committed r96536: <http://trac.webkit.org/changeset/96536>
Comment 3 Joseph Pecoraro 2011-10-03 14:24:59 PDT
It looks like the Function.prototype.bind in the inspector could also use this fix.
Its old implementation was very similar to your old implementation and would
likely fail if passed an array.
Comment 4 Adam Barth 2011-10-03 14:35:20 PDT
You can probably just remove it now that both JSC and V8 support bind natively.
Comment 5 Joseph Pecoraro 2011-10-03 14:36:10 PDT
Whoa! How did I not know when that was added!