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

Issue 9323075: Add properties fileName and lineNumber to the Error object. (Closed)

Created:
8 years, 10 months ago by Yang
Modified:
8 years, 10 months ago
CC:
v8-dev
Visibility:
Public.

Description

Add properties fileName and lineNumber to the Error object. BUG=v8:1914 TEST=mjsunit/error-properties.js

Patch Set 1 #

Patch Set 2 : remove columnNumber #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -0 lines) Patch
M src/messages.js View 1 2 chunks +23 lines, -0 lines 0 comments Download
A test/mjsunit/error-properties.js View 1 1 chunk +47 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Yang
PTAL. Not part of the spec, but I guess it's still a nice thing to ...
8 years, 10 months ago (2012-02-06 12:44:17 UTC) #1
Vyacheslav Egorov (Chromium)
8 years, 10 months ago (2012-02-06 12:48:17 UTC) #2
My understanding is that we do not add anything that is not part of the
specification and not required to maintain compat with JSC to built-in objects.

I don't think there is any serious reason to introduce user visible V8 specific
extensions to the language.

Powered by Google App Engine
This is Rietveld 408576698