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

Issue 1500543002: [es6] Unify ArrayBuffer and SharedArrayBuffer constructors. (Closed)

Created:
5 years ago by Benedikt Meurer
Modified:
4 years, 11 months ago
Reviewers:
Camillo Bruni, adamk, Yang
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] Unify ArrayBuffer and SharedArrayBuffer constructors. Unify the constructors and isView methods for ArrayBuffer and SharedArrayBuffer, moving them to C++ because there's no point in having the JavaScript wrappers for them. We choose to deliberately violate the ES2015 specification and implement the ArrayBuffer constructor in a way that matches Firefox and Safari instead. CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel BUG=chromium:565917, v8:4592 TBR=hpayer@chromium.org R=cbruni@chromium.org LOG=n Committed: https://crrev.com/3235ccbb7826ceec2188f6ebab98fc851b54f60e Cr-Commit-Position: refs/heads/master@{#32590} Committed: https://crrev.com/cb21144baf8a11c406df17ffcabf1e4ba978c9f1 Cr-Commit-Position: refs/heads/master@{#33072}

Patch Set 1 #

Total comments: 2

Patch Set 2 : REBASE #

Patch Set 3 : REBASE. Fix. #

Patch Set 4 : Get the exceptions right. Other fixes. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+156 lines, -169 lines) Patch
M src/bootstrapper.cc View 1 2 4 chunks +36 lines, -12 lines 0 comments Download
M src/builtins.h View 1 2 1 chunk +56 lines, -52 lines 0 comments Download
M src/builtins.cc View 1 2 3 1 chunk +60 lines, -0 lines 0 comments Download
M src/heap/heap.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/js/arraybuffer.js View 2 chunks +0 lines, -33 lines 0 comments Download
M src/js/harmony-sharedarraybuffer.js View 2 chunks +0 lines, -33 lines 0 comments Download
M src/runtime/runtime.h View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M src/runtime/runtime-typedarray.cc View 2 chunks +0 lines, -34 lines 0 comments Download
A + test/mjsunit/regress/regress-crbug-565917.js View 1 2 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 47 (23 generated)
Benedikt Meurer
5 years ago (2015-12-03 10:16:36 UTC) #1
Benedikt Meurer
Hey Yang, Here's another cleanup. Please take a look. Thanks, Benedikt
5 years ago (2015-12-03 10:17:04 UTC) #2
Camillo Bruni
lgtm with comment. https://codereview.chromium.org/1500543002/diff/1/src/builtins.cc File src/builtins.cc (right): https://codereview.chromium.org/1500543002/diff/1/src/builtins.cc#newcode1772 src/builtins.cc:1772: ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, number_length, shouldn't the byteLength conversion ...
5 years ago (2015-12-03 14:58:28 UTC) #4
Benedikt Meurer
https://codereview.chromium.org/1500543002/diff/1/src/builtins.cc File src/builtins.cc (right): https://codereview.chromium.org/1500543002/diff/1/src/builtins.cc#newcode1772 src/builtins.cc:1772: ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, number_length, On 2015/12/03 14:58:28, cbruni wrote: > shouldn't ...
5 years ago (2015-12-03 15:24:56 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1500543002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1500543002/1
5 years ago (2015-12-03 15:25:15 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/8497)
5 years ago (2015-12-03 15:30:34 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1500543002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1500543002/20001
5 years ago (2015-12-03 18:53:24 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years ago (2015-12-03 21:15:46 UTC) #13
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/3235ccbb7826ceec2188f6ebab98fc851b54f60e Cr-Commit-Position: refs/heads/master@{#32590}
5 years ago (2015-12-03 21:16:40 UTC) #15
adamk
Are you sure this change is web-compatible? Neither Safari nor Firefox throws when passing no ...
5 years ago (2015-12-04 01:41:14 UTC) #17
Benedikt Meurer
On 2015/12/04 01:41:14, adamk wrote: > Are you sure this change is web-compatible? Neither Safari ...
5 years ago (2015-12-04 03:17:32 UTC) #18
adamk
On 2015/12/04 03:17:32, Benedikt Meurer wrote: > On 2015/12/04 01:41:14, adamk wrote: > > Are ...
5 years ago (2015-12-04 03:37:39 UTC) #19
Benedikt Meurer
On 2015/12/04 03:37:39, adamk wrote: > On 2015/12/04 03:17:32, Benedikt Meurer wrote: > > On ...
5 years ago (2015-12-04 03:51:15 UTC) #20
adamk
On 2015/12/04 03:51:15, Benedikt Meurer wrote: > On 2015/12/04 03:37:39, adamk wrote: > > On ...
5 years ago (2015-12-04 04:04:26 UTC) #21
Michael Achenbach
A revert of this CL (patchset #2 id:20001) has been created in https://codereview.chromium.org/1501673002/ by machenbach@chromium.org. ...
5 years ago (2015-12-04 10:37:31 UTC) #22
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1500543002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1500543002/40001
4 years, 11 months ago (2015-12-31 18:56:39 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1500543002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1500543002/40001
4 years, 11 months ago (2015-12-31 19:04:30 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1500543002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1500543002/60001
4 years, 11 months ago (2015-12-31 19:32:49 UTC) #34
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/160823)
4 years, 11 months ago (2015-12-31 22:13:30 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1500543002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1500543002/60001
4 years, 11 months ago (2016-01-01 05:50:28 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1500543002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1500543002/60001
4 years, 11 months ago (2016-01-01 07:11:31 UTC) #42
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 11 months ago (2016-01-01 07:12:55 UTC) #44
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/cb21144baf8a11c406df17ffcabf1e4ba978c9f1 Cr-Commit-Position: refs/heads/master@{#33072}
4 years, 11 months ago (2016-01-01 07:13:28 UTC) #46
Benedikt Meurer
4 years, 11 months ago (2016-01-01 07:14:04 UTC) #47
Message was sent while issue was closed.
Linux Chromium NVIDIA GPU tests have trouble upstream; Chromium waterfall green
nevertheless.

Powered by Google App Engine
This is Rietveld 408576698