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

Issue 2327653002: Support delegating serialization of host objects. (Closed)

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

Description

Support delegating serialization of host objects. This exposes an interface for the embedder to provide a delegate which can serialize or deserialize embedder-specific objects, like Blink's DOM wrappers. BUG=chromium:148757 Committed: https://crrev.com/d825492bb6ae0874400bde7456da1ed9f64b308c Cr-Commit-Position: refs/heads/master@{#39422}

Patch Set 1 #

Patch Set 2 : signed/unsigned conversion #

Patch Set 3 : misc #

Patch Set 4 : #pragma clang diagnostic #

Patch Set 5 : MSVC does not like being told what clang will do #

Patch Set 6 : promote scheduled exceptions after delegate calls that may throw them #

Total comments: 4

Patch Set 7 : Isolate* argument to delegate #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+439 lines, -18 lines) Patch
M include/v8.h View 1 2 3 4 5 6 4 chunks +39 lines, -0 lines 3 comments Download
M src/api.cc View 1 2 3 4 5 6 4 chunks +53 lines, -7 lines 0 comments Download
M src/value-serializer.h View 7 chunks +21 lines, -2 lines 0 comments Download
M src/value-serializer.cc View 1 2 3 4 5 6 7 chunks +65 lines, -4 lines 0 comments Download
M test/unittests/value-serializer-unittest.cc View 1 2 3 4 5 6 8 chunks +261 lines, -5 lines 0 comments Download

Messages

Total messages: 44 (34 generated)
jbroman
The API methods for reading bytes and numbers from the wire don't use Maybe, so ...
4 years, 3 months ago (2016-09-09 19:43:41 UTC) #23
Jakob Kummerow
LGTM with a comment. (Sorry for high review latency this week.) https://codereview.chromium.org/2327653002/diff/100001/src/api.cc File src/api.cc (right): ...
4 years, 3 months ago (2016-09-14 01:09:20 UTC) #28
jbroman
+jochen for include/ https://codereview.chromium.org/2327653002/diff/100001/src/api.cc File src/api.cc (right): https://codereview.chromium.org/2327653002/diff/100001/src/api.cc#newcode2851 src/api.cc:2851: i::Isolate* isolate = reinterpret_cast<i::Isolate*>(Isolate::GetCurrent()); On 2016/09/14 ...
4 years, 3 months ago (2016-09-14 14:58:43 UTC) #32
jochen (gone - plz use gerrit)
https://codereview.chromium.org/2327653002/diff/120001/include/v8.h File include/v8.h (right): https://codereview.chromium.org/2327653002/diff/120001/include/v8.h#newcode1690 include/v8.h:1690: virtual Maybe<bool> WriteHostObject(Isolate* isolate, Local<Object> object); should this be ...
4 years, 3 months ago (2016-09-14 15:44:31 UTC) #35
jbroman
https://codereview.chromium.org/2327653002/diff/120001/include/v8.h File include/v8.h (right): https://codereview.chromium.org/2327653002/diff/120001/include/v8.h#newcode1690 include/v8.h:1690: virtual Maybe<bool> WriteHostObject(Isolate* isolate, Local<Object> object); On 2016/09/14 at ...
4 years, 3 months ago (2016-09-14 16:35:23 UTC) #36
jochen (gone - plz use gerrit)
ah, ok. landing like this lgtm then.
4 years, 3 months ago (2016-09-14 16:37:20 UTC) #37
jbroman
On 2016/09/14 at 16:37:20, jochen wrote: > ah, ok. landing like this lgtm then. Thanks, ...
4 years, 3 months ago (2016-09-14 16:39:04 UTC) #38
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/2327653002/120001
4 years, 3 months ago (2016-09-14 16:39:21 UTC) #41
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 3 months ago (2016-09-14 16:41:43 UTC) #42
commit-bot: I haz the power
4 years, 3 months ago (2016-09-14 16:42:19 UTC) #44
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/d825492bb6ae0874400bde7456da1ed9f64b308c
Cr-Commit-Position: refs/heads/master@{#39422}

Powered by Google App Engine
This is Rietveld 408576698