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

Issue 2287653002: Blink-compatible serialization of array buffer views. (Closed)

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

Description

Blink-compatible serialization of array buffer views. The format of this is a little strange, and has to do with the previous implementation maintaining a "stack" of objects as it works. As a result, the format writes the array buffer before giving any hint that the reason for doing so is to obtain a view wrapping it. Handling this without creating an explicit on-heap stack requires checking whether the next tag is 'V' after obtaining an array buffer. BUG=chromium:148757 Committed: https://crrev.com/248f3dafd0512f1b059129e4778100a0a8bec663 Cr-Commit-Position: refs/heads/master@{#38984}

Patch Set 1 #

Patch Set 2 : DataView unit tests #

Patch Set 3 : Merge branch 'master' into vs-array-buffer-view #

Unified diffs Side-by-side diffs Delta from patch set Stats (+361 lines, -0 lines) Patch
M src/value-serializer.h View 1 2 4 chunks +8 lines, -0 lines 0 comments Download
M src/value-serializer.cc View 1 2 7 chunks +124 lines, -0 lines 0 comments Download
M test/unittests/value-serializer-unittest.cc View 1 2 1 chunk +229 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (15 generated)
jbroman
This is slightly hacky, but it's not too bad and I believe this is the ...
4 years, 3 months ago (2016-08-27 04:09:08 UTC) #14
Jakob Kummerow
lgtm
4 years, 3 months ago (2016-08-29 14:22:40 UTC) #15
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/2287653002/40001
4 years, 3 months ago (2016-08-29 14:29:54 UTC) #17
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 3 months ago (2016-08-29 14:51:26 UTC) #18
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/248f3dafd0512f1b059129e4778100a0a8bec663 Cr-Commit-Position: refs/heads/master@{#38984}
4 years, 3 months ago (2016-08-29 14:51:57 UTC) #20
Michael Achenbach
4 years, 3 months ago (2016-08-29 20:59:41 UTC) #21
Message was sent while issue was closed.
This breaks the gcov coverage bot:
https://build.chromium.org/p/client.v8/builders/V8%20Linux64%20-%20gcov%20cov...

No immediate revert needed, but a fix would be desired...

Powered by Google App Engine
This is Rietveld 408576698