Function.prototype.bind.length shoudl be 1.
authorbarraclough@apple.com <barraclough@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 22 Sep 2011 23:57:01 +0000 (23:57 +0000)
committerbarraclough@apple.com <barraclough@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 22 Sep 2011 23:57:01 +0000 (23:57 +0000)
commit31ca237614ebc44391c93e04ca02af6b51de05d2
tree48a40e54fba320265ca298aa27a87c6458a55aec
parent8f85803f760f6acbea5f137a739de31e3ef09a0c
Function.prototype.bind.length shoudl be 1.

Rubber stamped by Olier Hunt.

Source/JavaScriptCore:

* runtime/FunctionPrototype.cpp:
(JSC::FunctionPrototype::addFunctionProperties):

LayoutTests:

* fast/js/function-bind-expected.txt:
* fast/js/script-tests/function-bind.js:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95764 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/js/function-bind-expected.txt
LayoutTests/fast/js/script-tests/function-bind.js
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/runtime/FunctionPrototype.cpp