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

Issue 271053: Check that constructor is a FunctionMirror before calling .name() (Closed)

Created:
11 years, 2 months ago by yurys
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Check that constructor is a FunctionMirror before calling .name(), otherwise we may end up calling name method on a mirror object that doesn't have it. Committed: http://code.google.com/p/v8/source/detail?r=3057

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -1 line) Patch
M src/mirror-delay.js View 1 chunk +1 line, -1 line 0 comments Download
A test/mjsunit/debug-evaluate-bool-constructor.js View 1 1 chunk +80 lines, -0 lines 1 comment Download

Messages

Total messages: 3 (0 generated)
yurys
11 years, 2 months ago (2009-10-12 15:14:19 UTC) #1
yurys
11 years, 2 months ago (2009-10-13 14:21:47 UTC) #2
mnaganov (inactive)
11 years, 2 months ago (2009-10-13 14:24:29 UTC) #3
LGTM

http://codereview.chromium.org/271053/diff/3001/4001
File test/mjsunit/debug-evaluate-bool-constructor.js (right):

http://codereview.chromium.org/271053/diff/3001/4001#newcode62
Line 62: exception = e
nit: bad indentation here.

Powered by Google App Engine
This is Rietveld 408576698