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

Issue 2345053003: Behold, a unit test for Scanner::BookmarkScope (& scanner bookmarking). (Closed)

Created:
4 years, 3 months ago by vogelheim
Modified:
4 years, 3 months ago
Reviewers:
marja
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Behold, a unit test for Scanner::BookmarkScope (& scanner bookmarking). This is in preparation for upcmoming scanner + bookmarking cleanups. Also, drive-by fix for setting a bookmark close to the end of the stream, when the look-ahead character (c0_) is kEndOfInput, which the bookmarking logic also used as kNoBookmark. R=marja@chomium.org BUG=v8:4947 Committed: https://crrev.com/d8eeaed3f95c1645d60b1bdd93c17792b70cbe87 Cr-Commit-Position: refs/heads/master@{#39507}

Patch Set 1 #

Total comments: 4

Patch Set 2 : review feedback #

Patch Set 3 : Adapt comment to previous change. #

Patch Set 4 : Rebase & fix .gyp file. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -5 lines) Patch
M src/parsing/scanner.h View 1 chunk +2 lines, -2 lines 0 comments Download
M src/parsing/scanner.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M test/cctest/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M test/cctest/cctest.gyp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A test/cctest/parsing/test-scanner.cc View 1 2 1 chunk +64 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (11 generated)
vogelheim
ptal
4 years, 3 months ago (2016-09-16 13:23:54 UTC) #1
vogelheim
4 years, 3 months ago (2016-09-19 11:37:36 UTC) #7
marja
lgtm https://codereview.chromium.org/2345053003/diff/1/test/cctest/parsing/test-scanner.cc File test/cctest/parsing/test-scanner.cc (right): https://codereview.chromium.org/2345053003/diff/1/test/cctest/parsing/test-scanner.cc#newcode48 test/cctest/parsing/test-scanner.cc:48: for (size_t bookmark_pos = 1; bookmark_pos < tokens.size() ...
4 years, 3 months ago (2016-09-19 11:50:39 UTC) #8
vogelheim
https://codereview.chromium.org/2345053003/diff/1/test/cctest/parsing/test-scanner.cc File test/cctest/parsing/test-scanner.cc (right): https://codereview.chromium.org/2345053003/diff/1/test/cctest/parsing/test-scanner.cc#newcode48 test/cctest/parsing/test-scanner.cc:48: for (size_t bookmark_pos = 1; bookmark_pos < tokens.size() - ...
4 years, 3 months ago (2016-09-19 16:04:46 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2345053003/40001
4 years, 3 months ago (2016-09-19 16:05:54 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_rel_ng/builds/12987) v8_linux_dbg_ng on master.tryserver.v8 (JOB_FAILED, ...
4 years, 3 months ago (2016-09-19 16:07:38 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2345053003/60001
4 years, 3 months ago (2016-09-19 16:24:58 UTC) #17
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 3 months ago (2016-09-19 16:50:36 UTC) #18
commit-bot: I haz the power
4 years, 3 months ago (2016-09-19 16:51:18 UTC) #20
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/d8eeaed3f95c1645d60b1bdd93c17792b70cbe87
Cr-Commit-Position: refs/heads/master@{#39507}

Powered by Google App Engine
This is Rietveld 408576698