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

Issue 2696133007: ValueSerializer: Add SetTreatArrayBufferViewsAsHostObjects() flag (Closed)

Created:
3 years, 10 months ago by Anna Henningsen
Modified:
3 years, 10 months ago
Reviewers:
jbroman, Jakob Kummerow
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

ValueSerializer: Add SetTreatArrayBufferViewsAsHostObjects() flag Add `ValueSerializer::SetTreatArrayBufferViewsAsHostObjects()` which instructs the `ValueSerializer` to treat ArrayBufferView objects as host objects. BUG=v8:5926 Review-Url: https://codereview.chromium.org/2696133007 Cr-Commit-Position: refs/heads/master@{#43281} Committed: https://chromium.googlesource.com/v8/v8/+/3b15d950eeddcf6dba091b611e1a6cc100e2edd9

Patch Set 1 #

Total comments: 6

Patch Set 2 : ValueSerializer: Add SetTreatArrayBufferViewsAsHostObjects() flag #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -1 line) Patch
M include/v8.h View 1 1 chunk +9 lines, -0 lines 0 comments Download
M src/api.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M src/value-serializer.h View 2 chunks +10 lines, -0 lines 0 comments Download
M src/value-serializer.cc View 3 chunks +8 lines, -1 line 0 comments Download
M test/unittests/value-serializer-unittest.cc View 1 2 chunks +39 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (6 generated)
Anna Henningsen
This is basically the approach in https://bugs.chromium.org/p/v8/issues/detail?id=5926#c3 worked out. Tried to implement the semantics Node ...
3 years, 10 months ago (2017-02-16 19:40:47 UTC) #2
jbroman
lgtm (but you'll need v8 owner review) +jkummerow for v8 owners https://codereview.chromium.org/2696133007/diff/1/test/unittests/value-serializer-unittest.cc File test/unittests/value-serializer-unittest.cc (right): ...
3 years, 10 months ago (2017-02-16 23:10:03 UTC) #4
Anna Henningsen
Updated with nits addressed https://codereview.chromium.org/2696133007/diff/1/test/unittests/value-serializer-unittest.cc File test/unittests/value-serializer-unittest.cc (right): https://codereview.chromium.org/2696133007/diff/1/test/unittests/value-serializer-unittest.cc#newcode2544 test/unittests/value-serializer-unittest.cc:2544: serializer_ = serializer; On 2017/02/16 ...
3 years, 10 months ago (2017-02-17 12:22:55 UTC) #5
Jakob Kummerow
lgtm
3 years, 10 months ago (2017-02-17 13:19:30 UTC) #6
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/2696133007/20001
3 years, 10 months ago (2017-02-17 13:49:55 UTC) #9
commit-bot: I haz the power
3 years, 10 months ago (2017-02-17 14:19:45 UTC) #12
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/v8/v8/+/3b15d950eeddcf6dba091b611e1a6cc100e...

Powered by Google App Engine
This is Rietveld 408576698