Chromium Code Reviews
Help | Chromium Project | Gerrit Changes | Sign in
(32)

Issue 1205973002: Support structured cloning of ES'15 Map and Set (Closed)

Created:
4 years, 10 months ago by adamk
Modified:
4 years, 10 months ago
CC:
arv+blink, blink-reviews, blink-reviews-bindings_chromium.org, vivekg_samsung, vivekg, Michael Hablich
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Support structured cloning of ES'15 Map and Set BUG=478263 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197791

Patch Set 1 #

Patch Set 2 : Added some comments to SerializationTag.h #

Total comments: 14

Patch Set 3 : Better template magic #

Patch Set 4 : Handled first round of comments #

Total comments: 4

Patch Set 5 : Everything but the serialization format test #

Patch Set 6 : Add new test for Map/Set serialization format #

Unified diffs Side-by-side diffs Delta from patch set Stats (+323 lines, -3 lines) Patch
M LayoutTests/fast/js/structured-clone.html View 1 2 3 4 1 chunk +86 lines, -0 lines 0 comments Download
M LayoutTests/fast/storage/resources/serialized-script-value.js View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
A LayoutTests/fast/storage/serialized-script-value-collections.html View 1 2 3 4 5 1 chunk +34 lines, -0 lines 0 comments Download
M Source/bindings/core/v8/ScriptValueSerializer.h View 1 2 6 chunks +38 lines, -0 lines 0 comments Download
M Source/bindings/core/v8/ScriptValueSerializer.cpp View 1 2 3 4 9 chunks +154 lines, -0 lines 0 comments Download
M Source/bindings/core/v8/SerializationTag.h View 1 1 chunk +7 lines, -0 lines 0 comments Download
M Source/bindings/core/v8/SerializedScriptValue.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M public/web/WebSerializedScriptValueVersion.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 17 (4 generated)
adamk
This isn't quite ready to land yet (there's still at least one FIXME, and I ...
4 years, 10 months ago (2015-06-24 19:10:49 UTC) #2
jsbell
Initial feedback - all on the tests. You'll also want to bump the version in ...
4 years, 10 months ago (2015-06-24 20:30:43 UTC) #3
adamk
I've bumped the version. What tests would you like to see added to fast/storage/serialized-script-value.html? https://codereview.chromium.org/1205973002/diff/20001/LayoutTests/fast/js/structured-clone.html ...
4 years, 10 months ago (2015-06-24 21:13:32 UTC) #4
jsbell
On 2015/06/24 21:13:32, adamk wrote: > What tests would you like to see added to ...
4 years, 10 months ago (2015-06-24 21:37:11 UTC) #5
adamk
Handled last round of comments, modulo fast/storage/serialized-script-value.html (which will take me a bit as I ...
4 years, 10 months ago (2015-06-24 22:50:31 UTC) #6
adamk
Okay, added a separate test for deserialization (you're so right, testharness is awesome).
4 years, 10 months ago (2015-06-24 23:19:56 UTC) #7
adamk
+chrishtr for public/web/
4 years, 10 months ago (2015-06-24 23:27:20 UTC) #9
chrishtr
lgtm
4 years, 10 months ago (2015-06-24 23:31:42 UTC) #10
jsbell
lgtm
4 years, 10 months ago (2015-06-24 23:40:19 UTC) #11
adamk
https://codereview.chromium.org/1205973002/diff/20001/LayoutTests/fast/js/structured-clone.html File LayoutTests/fast/js/structured-clone.html (right): https://codereview.chromium.org/1205973002/diff/20001/LayoutTests/fast/js/structured-clone.html#newcode155 LayoutTests/fast/js/structured-clone.html:155: On 2015/06/24 21:37:10, jsbell wrote: > On 2015/06/24 21:13:32, ...
4 years, 10 months ago (2015-06-24 23:48:53 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1205973002/100001
4 years, 10 months ago (2015-06-24 23:54:16 UTC) #14
commit-bot: I haz the power
Committed patchset #6 (id:100001) as https://src.chromium.org/viewvc/blink?view=rev&revision=197791
4 years, 10 months ago (2015-06-25 01:42:06 UTC) #15
Michael Achenbach
4 years, 10 months ago (2015-06-29 13:28:08 UTC) #17
Message was sent while issue was closed.
V8 API stability nag: According to the stability checker, this CL here might
have violated the V8 API stability window:
http://build.chromium.org/p/chromium.fyi/builders/Linux%20V8%20API%20Stabilit...

Contains:
https://chromium.googlesource.com/chromium/src/+log/5d56905d44c0a30cf0ced68f2...

Nothing bad happened this time, but please keep a large enough window between
v8-side api changes and blink-side consumers of these changes. Minimum is the
last used v8 canary version (that's what the bot checks against), better a week.
V8 always needs to be revertable cleanly to the last canary in case a canary is
broken.

If you think this is all nonsense, please ping me - the bot is new and not well
tested yet.

Powered by Google App Engine
This is Rietveld 408576698