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

Issue 7345: Fixes bug 1426704.... (Closed)

Created:
12 years, 2 months ago by William Hesse
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Fixes bug 1426704. Constructors no longer print out their source code. They print [native code] instead. Some web applications don't like constructors with complex ToString results. Committed: http://code.google.com/p/v8/source/detail?r=506

Patch Set 1 #

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -4 lines) Patch
M src/runtime.cc View 1 1 chunk +5 lines, -4 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
William Hesse
Please review this change. Thanks.
12 years, 2 months ago (2008-10-15 09:35:08 UTC) #1
Mads Ager (chromium)
12 years, 2 months ago (2008-10-15 09:37:39 UTC) #2
LGTM

http://codereview.chromium.org/7345/diff/1/2
File src/runtime.cc (right):

http://codereview.chromium.org/7345/diff/1/2#newcode895
Line 895: // SetCode is only used for constructors, and some web code
Would:

"builtin constructors such as Function, String and Array"

make it clearer?

Powered by Google App Engine
This is Rietveld 408576698