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

Issue 1393263003: Emit better error message if array buffer allocation fails (Closed)

Created:
5 years, 2 months ago by skomski
Modified:
5 years, 2 months ago
Reviewers:
Dan Ehrenberg
CC:
Hannes Payer (out of office), 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

Emit better error message if array buffer allocation fails Now emits `Array buffer allocation failed` instead of `Invalid array buffer length`. Committed: https://crrev.com/60f831749fa43d3c3c8b559d8ad18a694dbf2731 Cr-Commit-Position: refs/heads/master@{#31200}

Patch Set 1 #

Patch Set 2 : remove test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M src/messages.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/runtime/runtime-typedarray.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 22 (6 generated)
skomski
PTAL Bugging me in https://github.com/nodejs/node/issues/2688#issuecomment-143417084 I didn't know any better test to get the error ...
5 years, 2 months ago (2015-10-08 15:01:04 UTC) #2
Dan Ehrenberg
lgtm Looks like the right way to do it. Thanks for adding a test.
5 years, 2 months ago (2015-10-08 17:43:33 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1393263003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1393263003/1
5 years, 2 months ago (2015-10-08 17:44:02 UTC) #5
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux_arm64_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_arm64_rel/builds/10370)
5 years, 2 months ago (2015-10-08 18:02:46 UTC) #7
skomski
The test is a bit too flaky. Remove test or another idea?
5 years, 2 months ago (2015-10-08 19:35:04 UTC) #8
Dan Ehrenberg
On 2015/10/08 at 19:35:04, karl wrote: > The test is a bit too flaky. Remove ...
5 years, 2 months ago (2015-10-08 20:19:36 UTC) #9
skomski
On 2015/10/08 20:19:36, Dan Ehrenberg wrote: > On 2015/10/08 at 19:35:04, karl wrote: > > ...
5 years, 2 months ago (2015-10-08 20:24:23 UTC) #10
Dan Ehrenberg
On 2015/10/08 at 20:24:23, karl wrote: > On 2015/10/08 20:19:36, Dan Ehrenberg wrote: > > ...
5 years, 2 months ago (2015-10-08 20:35:21 UTC) #11
Jakob Kummerow
The right way to test this is to provide a custom array buffer allocator that ...
5 years, 2 months ago (2015-10-09 11:08:12 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1393263003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1393263003/20001
5 years, 2 months ago (2015-10-09 19:49:17 UTC) #14
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 2 months ago (2015-10-09 20:12:21 UTC) #16
skomski
Dan: OK to commit without test?
5 years, 2 months ago (2015-10-09 20:36:07 UTC) #17
Dan Ehrenberg
lgtm
5 years, 2 months ago (2015-10-09 20:40:45 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1393263003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1393263003/20001
5 years, 2 months ago (2015-10-09 20:43:32 UTC) #20
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 2 months ago (2015-10-09 20:44:36 UTC) #21
commit-bot: I haz the power
5 years, 2 months ago (2015-10-09 20:45:00 UTC) #22
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/60f831749fa43d3c3c8b559d8ad18a694dbf2731
Cr-Commit-Position: refs/heads/master@{#31200}

Powered by Google App Engine
This is Rietveld 408576698