Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(303)

Issue 7892013: Fix for .bind regression. (Closed)

Created:
9 years, 3 months ago by rossberg
Modified:
9 years, 3 months ago
Reviewers:
Jakob Kummerow
CC:
v8-dev
Visibility:
Public.

Description

Fix for .bind regression. R=jkummerow@chromium.org BUG= TEST= Committed: http://code.google.com/p/v8/source/detail?r=9267

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -4 lines) Patch
M src/execution.cc View 1 chunk +5 lines, -4 lines 2 comments Download
A test/mjsunit/regress/regress-bind-receiver.js View 1 chunk +18 lines, -0 lines 2 comments Download

Messages

Total messages: 3 (0 generated)
rossberg
9 years, 3 months ago (2011-09-13 16:59:35 UTC) #1
Jakob Kummerow
LGTM with nits. http://codereview.chromium.org/7892013/diff/1/src/execution.cc File src/execution.cc (right): http://codereview.chromium.org/7892013/diff/1/src/execution.cc#newcode165 src/execution.cc:165: // For reasons that escape me, ...
9 years, 3 months ago (2011-09-13 17:09:54 UTC) #2
rossberg
9 years, 3 months ago (2011-09-13 17:13:59 UTC) #3
http://codereview.chromium.org/7892013/diff/1/src/execution.cc
File src/execution.cc (right):

http://codereview.chromium.org/7892013/diff/1/src/execution.cc#newcode165
src/execution.cc:165: // For reasons that escape me, `global' can be the
JSBuiltinsObject
On 2011/09/13 17:09:54, Jakob wrote:
> It's a nit, but please don't use accents for quoting, that hurts my eyes. Your
> options:
> - ‘proper’ typographic quotes (bad, because they're non-ASCII characters and
> will confuse some compilers even in comments)
> - 'regular' ASCII quote/apostrophe replacement characters
> - the Chromium convention of |pipes| around identifiers in comments.

Done.

http://codereview.chromium.org/7892013/diff/1/test/mjsunit/regress/regress-bi...
File test/mjsunit/regress/regress-bind-receiver.js (right):

http://codereview.chromium.org/7892013/diff/1/test/mjsunit/regress/regress-bi...
test/mjsunit/regress/regress-bind-receiver.js:5:
assertEquals(strict.bind(true)(), true);
On 2011/09/13 17:09:54, Jakob wrote:
> assertEquals takes the expected value as the first parameter and the actual
> value as the second. (Less confusing error messages)++ ;-)

Done. (Had C&P'ed this from Webkit.)

Powered by Google App Engine
This is Rietveld 408576698