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

Issue 1454543003: [es6] Allow any valid repeat of empty string in String.prototype.repeat (Closed)

Created:
5 years, 1 month ago by adamk
Modified:
5 years, 1 month ago
Reviewers:
Dan Ehrenberg
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[es6] Allow any valid repeat of empty string in String.prototype.repeat This lets us pass one test262 test (and seems to match what other implementations do to handle this case). R=littledan@chromium.org BUG=v8:4362 LOG=n Committed: https://crrev.com/8e2e69a4b5ee9f39940ef4d15907d7fefa74da8d Cr-Commit-Position: refs/heads/master@{#32155}

Patch Set 1 #

Patch Set 2 : Add a few tests for empty strings #

Patch Set 3 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -5 lines) Patch
M src/js/string.js View 1 chunk +8 lines, -2 lines 0 comments Download
M test/mjsunit/es6/string-repeat.js View 1 1 chunk +6 lines, -0 lines 0 comments Download
M test/test262/test262.status View 1 2 1 chunk +0 lines, -3 lines 0 comments Download

Messages

Total messages: 15 (6 generated)
adamk
5 years, 1 month ago (2015-11-17 00:44:36 UTC) #1
Dan Ehrenberg
lgtm Test?
5 years, 1 month ago (2015-11-17 01:29:52 UTC) #2
Dan Ehrenberg
I guess test262 would be enough, but you make two changes here--does test262 cover both ...
5 years, 1 month ago (2015-11-17 01:30:17 UTC) #3
adamk
Added a few tests (particular for the empty string, INFINITY case).
5 years, 1 month ago (2015-11-20 23:34:33 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1454543003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1454543003/20001
5 years, 1 month ago (2015-11-20 23:34:38 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_asan_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_asan_rel/builds/10368) v8_linux64_avx2_rel on tryserver.v8 (JOB_FAILED, ...
5 years, 1 month ago (2015-11-20 23:35:29 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1454543003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1454543003/40001
5 years, 1 month ago (2015-11-20 23:37:38 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 1 month ago (2015-11-20 23:57:02 UTC) #14
commit-bot: I haz the power
5 years, 1 month ago (2015-11-20 23:57:47 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/8e2e69a4b5ee9f39940ef4d15907d7fefa74da8d
Cr-Commit-Position: refs/heads/master@{#32155}

Powered by Google App Engine
This is Rietveld 408576698