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

Issue 189623014: Throw DataCloneError on cloning closed Blobs/Files. (Closed)

Created:
6 years, 9 months ago by sof
Modified:
6 years, 9 months ago
CC:
blink-reviews, Nils Barth (inactive), kojih, arv+blink, jsbell+bindings_chromium.org, sof, kouhei+bindings_chromium.org, abarth-chromium, marja+watch_chromium.org, adamk+blink_chromium.org, haraken, Nate Chapin, Inactive
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Throw DataCloneError on cloning closed Blobs/Files. Follow the structured cloning spec and disallow cloning of closed Blobs, http://www.whatwg.org/specs/web-apps/current-work/#structured-clone R=mkwst@chromium.org BUG=344820 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=168746

Patch Set 1 #

Total comments: 6

Patch Set 2 : Error message tweak #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -6 lines) Patch
M LayoutTests/fast/dom/Window/script-tests/postmessage-clone.js View 1 chunk +12 lines, -0 lines 0 comments Download
M LayoutTests/fast/dom/Window/window-postmessage-clone-expected.txt View 1 2 chunks +4 lines, -0 lines 0 comments Download
M Source/bindings/v8/SerializedScriptValue.cpp View 1 3 chunks +12 lines, -6 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
sof
When you have a moment, please take a look.
6 years, 9 months ago (2014-03-07 13:19:37 UTC) #1
Mike West
LGTM with nits, thanks for bringing this up to spec. https://codereview.chromium.org/189623014/diff/1/LayoutTests/fast/dom/Window/script-tests/postmessage-clone.js File LayoutTests/fast/dom/Window/script-tests/postmessage-clone.js (right): https://codereview.chromium.org/189623014/diff/1/LayoutTests/fast/dom/Window/script-tests/postmessage-clone.js#newcode88 ...
6 years, 9 months ago (2014-03-07 13:28:13 UTC) #2
sof
https://codereview.chromium.org/189623014/diff/1/LayoutTests/fast/dom/Window/script-tests/postmessage-clone.js File LayoutTests/fast/dom/Window/script-tests/postmessage-clone.js (right): https://codereview.chromium.org/189623014/diff/1/LayoutTests/fast/dom/Window/script-tests/postmessage-clone.js#newcode88 LayoutTests/fast/dom/Window/script-tests/postmessage-clone.js:88: tryPostMessage('constructedFile.close(); constructedFile', true, null, DOMException.DATA_CLONE_ERR); On 2014/03/07 13:28:13, Mike ...
6 years, 9 months ago (2014-03-07 13:34:31 UTC) #3
sof
The CQ bit was checked by sigbjornf@opera.com
6 years, 9 months ago (2014-03-07 13:34:47 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sigbjornf@opera.com/189623014/20001
6 years, 9 months ago (2014-03-07 13:35:03 UTC) #5
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-07 13:52:00 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: linux_blink
6 years, 9 months ago (2014-03-07 13:52:00 UTC) #7
sof
The CQ bit was checked by sigbjornf@opera.com
6 years, 9 months ago (2014-03-07 14:16:42 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sigbjornf@opera.com/189623014/20001
6 years, 9 months ago (2014-03-07 14:17:12 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-07 14:29:07 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_rel
6 years, 9 months ago (2014-03-07 14:29:08 UTC) #11
sof
The CQ bit was checked by sigbjornf@opera.com
6 years, 9 months ago (2014-03-07 14:32:33 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sigbjornf@opera.com/189623014/20001
6 years, 9 months ago (2014-03-07 14:33:53 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-07 15:29:47 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_blink
6 years, 9 months ago (2014-03-07 15:29:48 UTC) #15
sof
The CQ bit was checked by sigbjornf@opera.com
6 years, 9 months ago (2014-03-07 15:34:20 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sigbjornf@opera.com/189623014/20001
6 years, 9 months ago (2014-03-07 15:34:45 UTC) #17
commit-bot: I haz the power
6 years, 9 months ago (2014-03-07 16:29:32 UTC) #18
Message was sent while issue was closed.
Change committed as 168746

Powered by Google App Engine
This is Rietveld 408576698