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

Issue 553009: Add another test on debug global evaluate (Closed)

Created:
10 years, 11 months ago by Peter Rybin
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Add another test on debug global evaluate Committed: http://code.google.com/p/v8/source/detail?r=3639

Patch Set 1 #

Total comments: 14

Patch Set 2 : follow codereview #

Unified diffs Side-by-side diffs Delta from patch set Stats (+148 lines, -25 lines) Patch
M test/cctest/test-debug.cc View 1 2 chunks +148 lines, -25 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Peter Rybin
Hi Søren I developed this test when I thought that supporting "global evaluate" will take ...
10 years, 11 months ago (2010-01-16 23:50:50 UTC) #1
Søren Thygesen Gjesse
LGTM http://codereview.chromium.org/553009/diff/1/2 File test/cctest/test-debug.cc (right): http://codereview.chromium.org/553009/diff/1/2#newcode2166 test/cctest/test-debug.cc:2166: int Utf16ToAscii(const uint16_t* input_buffer, Just the function definition ...
10 years, 11 months ago (2010-01-18 10:22:52 UTC) #2
Peter Rybin
10 years, 11 months ago (2010-01-18 19:15:09 UTC) #3
http://codereview.chromium.org/553009/diff/1/2
File test/cctest/test-debug.cc (right):

http://codereview.chromium.org/553009/diff/1/2#newcode2166
test/cctest/test-debug.cc:2166: int Utf16ToAscii(const uint16_t* input_buffer,
On 2010/01/18 10:22:52, Søren Gjesse wrote:
> Just the function definition to the top of the file.

Done.

http://codereview.chromium.org/553009/diff/1/2#newcode2170
test/cctest/test-debug.cc:2170: bool GetEvaluateStringResult(char *message,
char* buffer, int buffer_size);
On 2010/01/18 10:22:52, Søren Gjesse wrote:
> Move the function definition up here.

Done.

http://codereview.chromium.org/553009/diff/1/2#newcode2190
test/cctest/test-debug.cc:2190: static void DebugProcessDebugMessagesHanlder(
On 2010/01/18 10:22:52, Søren Gjesse wrote:
> Hanlder -> Handler

Done.

http://codereview.chromium.org/553009/diff/1/2#newcode2200
test/cctest/test-debug.cc:2200: % DebugProcessDebugMessagesData::kArraySize;
On 2010/01/18 10:22:52, Søren Gjesse wrote:
> Please move this logic into DebugProcessDebugMessagesData, e.g. method
current()
> which returns a EvaluateResult*.

Done.

http://codereview.chromium.org/553009/diff/1/2#newcode2206
test/cctest/test-debug.cc:2206: process_debug_messages_data.counter++;
On 2010/01/18 10:22:52, Søren Gjesse wrote:
> Please move this logic into DebugProcessDebugMessagesData, e.g. method next().
> This method can also have a flag for whether the counter has wrapped, and that
> value can be checked in the test.

Done.

http://codereview.chromium.org/553009/diff/1/2#newcode2210
test/cctest/test-debug.cc:2210: int AsciiToUtf16(const char* input_buffer,
uint16_t* output_buffer);
On 2010/01/18 10:22:52, Søren Gjesse wrote:
> Just the function definition to the top of the file.

Done.

http://codereview.chromium.org/553009/diff/1/2#newcode2225
test/cctest/test-debug.cc:2225: v8::Script::Compile(v8::String::New("void(0)"));
On 2010/01/18 10:22:52, Søren Gjesse wrote:
> I don't think the void0_script is used.

Done.

Powered by Google App Engine
This is Rietveld 408576698