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

Issue 173262: Modifies readline() to behave in the same way as it does in TraceMonkey.

Created:
11 years, 4 months ago by abdulla
Modified:
11 years, 3 months ago
CC:
v8-dev, diakopter
Visibility:
Public.

Description

Modifies readline() to behave in the same way as it does in TraceMonkey.

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 2

Patch Set 4 : '' #

Patch Set 5 : '' #

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

Messages

Total messages: 8 (0 generated)
abdulla
Just pinging about this change. It's currently holding up the language shootout from using V8.
11 years, 3 months ago (2009-09-03 03:37:20 UTC) #1
diakopter
I disagree.. how is it holding it up? What's wrong with wrapping readline() in try/catch, ...
11 years, 3 months ago (2009-09-03 03:46:54 UTC) #2
Christian Plesner Hansen
Note that just creating the code review doesn't cause me to get a notification, you ...
11 years, 3 months ago (2009-09-03 06:14:41 UTC) #3
abdulla
11 years, 3 months ago (2009-09-04 00:55:01 UTC) #4
abdulla
After talking with Matt and having a look at what TraceMonkey does, I've updated the ...
11 years, 3 months ago (2009-09-06 03:21:40 UTC) #5
Christian Plesner Hansen
More comments. This seems to return 'null' when retrieving the empty string, not just on ...
11 years, 3 months ago (2009-09-07 09:26:32 UTC) #6
abdulla
Yup, that is intentional. I'm returning Null to mimic the behaviour of TraceMonkey: http://hg.mozilla.org/tracemonkey/file/45772700955a/js/src/shell/js.cpp#l998 http://codereview.chromium.org/173262/diff/6001/7001 ...
11 years, 3 months ago (2009-09-07 12:21:15 UTC) #7
Christian Plesner Hansen
11 years, 3 months ago (2009-09-07 12:39:03 UTC) #8

Powered by Google App Engine
This is Rietveld 408576698