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

Issue 2838783002: SharedArrayBuffer throws serializing to indexeddb (Closed)

Created:
3 years, 8 months ago by binji
Modified:
3 years, 7 months ago
Reviewers:
haraken, jbroman, jsbell
CC:
blink-reviews, blink-reviews-bindings_chromium.org, chromium-reviews, cmumford, haraken, jbroman+watch_chromium.org, jsbell+idb_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

SharedArrayBuffer throws serializing to indexeddb The StructuredDeserialize spec now has a special case for serializing for storage: it doesn't allow SharedArrayBuffers to be serialized, and instead throws a DataCloneError. BUG=chromium:714820 Review-Url: https://codereview.chromium.org/2838783002 Cr-Commit-Position: refs/heads/master@{#467093} Committed: https://chromium.googlesource.com/chromium/src/+/08d35f601c7cfbdc66f9a7f8836e32028d344559

Patch Set 1 #

Patch Set 2 : forgot README #

Total comments: 9

Patch Set 3 : fix test #

Total comments: 2

Patch Set 4 : add for_storage_ comment #

Messages

Total messages: 30 (18 generated)
binji
3 years, 8 months ago (2017-04-24 23:55:51 UTC) #2
jsbell
https://codereview.chromium.org/2838783002/diff/20001/third_party/WebKit/LayoutTests/LeakExpectations File third_party/WebKit/LayoutTests/LeakExpectations (right): https://codereview.chromium.org/2838783002/diff/20001/third_party/WebKit/LayoutTests/LeakExpectations#newcode87 third_party/WebKit/LayoutTests/LeakExpectations:87: crbug.com/506752 virtual/sharedarraybuffer/storage/indexeddb/ [ Skip ] Ugh... sorry about all ...
3 years, 8 months ago (2017-04-25 00:27:48 UTC) #5
binji
https://codereview.chromium.org/2838783002/diff/20001/third_party/WebKit/LayoutTests/LeakExpectations File third_party/WebKit/LayoutTests/LeakExpectations (right): https://codereview.chromium.org/2838783002/diff/20001/third_party/WebKit/LayoutTests/LeakExpectations#newcode87 third_party/WebKit/LayoutTests/LeakExpectations:87: crbug.com/506752 virtual/sharedarraybuffer/storage/indexeddb/ [ Skip ] On 2017/04/25 at 00:27:48, ...
3 years, 8 months ago (2017-04-25 17:37:18 UTC) #8
jbroman
lgtm https://codereview.chromium.org/2838783002/diff/20001/third_party/WebKit/LayoutTests/storage/indexeddb/shared-array-buffer-throws.html File third_party/WebKit/LayoutTests/storage/indexeddb/shared-array-buffer-throws.html (right): https://codereview.chromium.org/2838783002/diff/20001/third_party/WebKit/LayoutTests/storage/indexeddb/shared-array-buffer-throws.html#newcode9 third_party/WebKit/LayoutTests/storage/indexeddb/shared-array-buffer-throws.html:9: const sab = new SharedArrayBuffer('256'); nit: It's rather ...
3 years, 8 months ago (2017-04-25 17:37:23 UTC) #9
haraken
LGTM https://codereview.chromium.org/2838783002/diff/40001/third_party/WebKit/Source/bindings/core/v8/serialization/V8ScriptValueSerializer.h File third_party/WebKit/Source/bindings/core/v8/serialization/V8ScriptValueSerializer.h (right): https://codereview.chromium.org/2838783002/diff/40001/third_party/WebKit/Source/bindings/core/v8/serialization/V8ScriptValueSerializer.h#newcode102 third_party/WebKit/Source/bindings/core/v8/serialization/V8ScriptValueSerializer.h:102: bool for_storage_ = false; Add a comment about ...
3 years, 8 months ago (2017-04-25 17:40:38 UTC) #13
binji
https://codereview.chromium.org/2838783002/diff/20001/third_party/WebKit/LayoutTests/storage/indexeddb/shared-array-buffer-throws.html File third_party/WebKit/LayoutTests/storage/indexeddb/shared-array-buffer-throws.html (right): https://codereview.chromium.org/2838783002/diff/20001/third_party/WebKit/LayoutTests/storage/indexeddb/shared-array-buffer-throws.html#newcode9 third_party/WebKit/LayoutTests/storage/indexeddb/shared-array-buffer-throws.html:9: const sab = new SharedArrayBuffer('256'); On 2017/04/25 at 17:37:23, ...
3 years, 8 months ago (2017-04-25 18:06:26 UTC) #16
jbroman
https://codereview.chromium.org/2838783002/diff/20001/third_party/WebKit/LayoutTests/storage/indexeddb/shared-array-buffer-throws.html File third_party/WebKit/LayoutTests/storage/indexeddb/shared-array-buffer-throws.html (right): https://codereview.chromium.org/2838783002/diff/20001/third_party/WebKit/LayoutTests/storage/indexeddb/shared-array-buffer-throws.html#newcode26 third_party/WebKit/LayoutTests/storage/indexeddb/shared-array-buffer-throws.html:26: done(); On 2017/04/25 at 18:06:26, binji wrote: > On ...
3 years, 8 months ago (2017-04-25 18:09:42 UTC) #19
jsbell
lgtm - thanks!
3 years, 8 months ago (2017-04-25 18:45:02 UTC) #20
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/2838783002/60001
3 years, 8 months ago (2017-04-25 20:17:53 UTC) #25
commit-bot: I haz the power
Committed patchset #4 (id:60001) as https://chromium.googlesource.com/chromium/src/+/08d35f601c7cfbdc66f9a7f8836e32028d344559
3 years, 8 months ago (2017-04-25 20:25:35 UTC) #28
gab
A revert of this CL (patchset #4 id:60001) has been created in https://codereview.chromium.org/2845623002/ by gab@chromium.org. ...
3 years, 8 months ago (2017-04-26 14:51:41 UTC) #29
Jakob Kummerow
3 years, 7 months ago (2017-04-28 10:54:08 UTC) #30
Message was sent while issue was closed.
On 2017/04/26 14:51:41, gab wrote:
> A revert of this CL (patchset #4 id:60001) has been created in
> https://codereview.chromium.org/2845623002/ by mailto:gab@chromium.org.
> 
> The reason for reverting is: Suspect for http://crbug.com/715567 (crash when
> typing in hangouts chat window)..

Turns out 715567 had a different cause, so from that point of view this CL can
be relanded.

Powered by Google App Engine
This is Rietveld 408576698