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

Issue 1595713003: Make ReadableStreamOperations use ScriptValue (Closed)

Created:
4 years, 11 months ago by domenic
Modified:
4 years, 11 months ago
Reviewers:
haraken, yhirano
CC:
blink-reviews, blink-reviews-bindings_chromium.org, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make ReadableStreamOperations use ScriptValue Previously it used v8::Local<v8::Value> for many arguments (but not return values). To fit more nicely with the rest of Blink, we convert it to use ScriptValue everywhere. BUG=503491 R=yhirano@chromium.org,haraken@chromium.org Committed: https://crrev.com/f2d60be35e473d557ca6cd9f7d472804d1b788f7 Cr-Commit-Position: refs/heads/master@{#370627}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Rebase on master #

Patch Set 3 : Fix comment and add a couple asserts #

Messages

Total messages: 38 (6 generated)
domenic
4 years, 11 months ago (2016-01-16 00:15:39 UTC) #1
haraken
LGTM
4 years, 11 months ago (2016-01-16 03:56:02 UTC) #2
yhirano
Do we need to pass ScriptState? ScriptValue contains it.
4 years, 11 months ago (2016-01-19 05:56:41 UTC) #3
domenic
On 2016/01/19 at 05:56:41, yhirano wrote: > Do we need to pass ScriptState? ScriptValue contains ...
4 years, 11 months ago (2016-01-19 20:42:02 UTC) #4
haraken
On 2016/01/19 20:42:02, domenic wrote: > On 2016/01/19 at 05:56:41, yhirano wrote: > > Do ...
4 years, 11 months ago (2016-01-19 21:11:01 UTC) #5
domenic
On 2016/01/19 at 21:11:01, haraken wrote: > On 2016/01/19 20:42:02, domenic wrote: > > On ...
4 years, 11 months ago (2016-01-19 21:27:13 UTC) #6
haraken
On 2016/01/19 21:27:13, domenic wrote: > On 2016/01/19 at 21:11:01, haraken wrote: > > On ...
4 years, 11 months ago (2016-01-19 21:41:00 UTC) #7
domenic
On 2016/01/19 at 21:41:00, haraken wrote: > It matters though. ScriptState : v8::Context = 1 ...
4 years, 11 months ago (2016-01-19 22:02:14 UTC) #8
haraken
On 2016/01/19 22:02:14, domenic wrote: > On 2016/01/19 at 21:41:00, haraken wrote: > > > ...
4 years, 11 months ago (2016-01-19 22:09:30 UTC) #9
domenic
On 2016/01/19 at 22:09:30, haraken wrote: > On 2016/01/19 22:02:14, domenic wrote: > > On ...
4 years, 11 months ago (2016-01-19 22:41:11 UTC) #10
haraken
On 2016/01/19 22:41:11, domenic wrote: > On 2016/01/19 at 22:09:30, haraken wrote: > > On ...
4 years, 11 months ago (2016-01-19 23:01:16 UTC) #13
domenic
On 2016/01/19 at 23:01:16, haraken wrote: > On 2016/01/19 22:41:11, domenic wrote: > > On ...
4 years, 11 months ago (2016-01-19 23:11:01 UTC) #14
haraken
On 2016/01/19 23:11:01, domenic wrote: > On 2016/01/19 at 23:01:16, haraken wrote: > > On ...
4 years, 11 months ago (2016-01-19 23:26:24 UTC) #15
domenic
On 2016/01/19 at 23:26:24, haraken wrote: > On 2016/01/19 23:11:01, domenic wrote: > > On ...
4 years, 11 months ago (2016-01-19 23:46:47 UTC) #16
haraken
On 2016/01/19 23:46:47, domenic wrote: > On 2016/01/19 at 23:26:24, haraken wrote: > > On ...
4 years, 11 months ago (2016-01-19 23:57:08 UTC) #17
domenic
On 2016/01/19 at 23:57:08, haraken wrote: > Thanks, now I'm getting to understand. > > ...
4 years, 11 months ago (2016-01-20 00:25:17 UTC) #18
haraken
On 2016/01/20 00:25:17, domenic wrote: > On 2016/01/19 at 23:57:08, haraken wrote: > > Thanks, ...
4 years, 11 months ago (2016-01-20 00:31:55 UTC) #19
yhirano
> remove ScriptState from ReadableStreamDataConsumerHandle and use ScriptState::current instead I don't understand why this is ...
4 years, 11 months ago (2016-01-20 04:02:02 UTC) #20
haraken
On 2016/01/20 04:02:02, yhirano wrote: > > remove ScriptState from ReadableStreamDataConsumerHandle and use > ScriptState::current ...
4 years, 11 months ago (2016-01-20 04:08:10 UTC) #21
yhirano
On 2016/01/20 04:08:10, haraken wrote: > On 2016/01/20 04:02:02, yhirano wrote: > > > remove ...
4 years, 11 months ago (2016-01-20 06:14:38 UTC) #22
yhirano
I didn't notice that ScriptState::current takes v8::Isolate*. Hence the answer for > 2. If ScriptState::current() ...
4 years, 11 months ago (2016-01-20 06:46:37 UTC) #23
yhirano
https://codereview.chromium.org/1595713003/diff/1/third_party/WebKit/Source/bindings/core/v8/ReadableStreamOperations.h File third_party/WebKit/Source/bindings/core/v8/ReadableStreamOperations.h (right): https://codereview.chromium.org/1595713003/diff/1/third_party/WebKit/Source/bindings/core/v8/ReadableStreamOperations.h#newcode20 third_party/WebKit/Source/bindings/core/v8/ReadableStreamOperations.h:20: // arguments must not be empty. All ScriptValue arguments ...
4 years, 11 months ago (2016-01-20 06:47:28 UTC) #24
haraken
On 2016/01/20 06:46:37, yhirano wrote: > I didn't notice that ScriptState::current takes v8::Isolate*. > > ...
4 years, 11 months ago (2016-01-20 09:49:29 UTC) #25
yhirano
> Preferably I can leave the call site updating for yhirano@. I mostly just need ...
4 years, 11 months ago (2016-01-20 14:50:48 UTC) #26
haraken
On 2016/01/20 14:50:48, yhirano wrote: > > Preferably I can leave the call site updating ...
4 years, 11 months ago (2016-01-20 18:11:26 UTC) #27
domenic
On 2016/01/20 at 18:11:26, haraken wrote: > On 2016/01/20 14:50:48, yhirano wrote: > > > ...
4 years, 11 months ago (2016-01-20 23:46:43 UTC) #28
yhirano
On 2016/01/20 23:46:43, domenic wrote: > On 2016/01/20 at 18:11:26, haraken wrote: > > On ...
4 years, 11 months ago (2016-01-20 23:56:53 UTC) #29
domenic
On 2016/01/20 at 23:56:53, yhirano wrote: > Please see https://codereview.chromium.org/1595713003/#msg24. Thanks, fixed and added a ...
4 years, 11 months ago (2016-01-21 00:15:29 UTC) #31
yhirano
lgtm
4 years, 11 months ago (2016-01-21 00:17:10 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1595713003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1595713003/40001
4 years, 11 months ago (2016-01-21 03:59:57 UTC) #35
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 11 months ago (2016-01-21 05:06:53 UTC) #36
commit-bot: I haz the power
4 years, 11 months ago (2016-01-21 05:07:45 UTC) #38
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/f2d60be35e473d557ca6cd9f7d472804d1b788f7
Cr-Commit-Position: refs/heads/master@{#370627}

Powered by Google App Engine
This is Rietveld 408576698