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

Issue 1492763002: Add a utility class to call stream methods implemented with v8 extras. (Closed)

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

Description

Add a utility class to call stream methods implemented with v8 extras. This CL adds a class "ReadableStreamOperations" providing a easy way to call methods of ReadableStream implemented with V8 extras. BUG=503491 Committed: https://crrev.com/e1cf4a50c55b6ebac10c9c6d9d508e4d794eb4f5 Cr-Commit-Position: refs/heads/master@{#363478}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Total comments: 8

Patch Set 7 : #

Patch Set 8 : #

Total comments: 7

Patch Set 9 : #

Messages

Total messages: 24 (10 generated)
yhirano
This CL depends on [1]. I borrowed the ScriptState change from Domenic's CL[2]. I'm planning ...
5 years ago (2015-12-02 07:16:59 UTC) #3
haraken
On 2015/12/02 07:16:59, yhirano wrote: > This CL depends on [1]. > I borrowed the ...
5 years ago (2015-12-02 07:37:52 UTC) #4
domenic
https://codereview.chromium.org/1492763002/diff/100001/third_party/WebKit/Source/bindings/core/v8/ReadableStreamOperations.cpp File third_party/WebKit/Source/bindings/core/v8/ReadableStreamOperations.cpp (right): https://codereview.chromium.org/1492763002/diff/100001/third_party/WebKit/Source/bindings/core/v8/ReadableStreamOperations.cpp#newcode25 third_party/WebKit/Source/bindings/core/v8/ReadableStreamOperations.cpp:25: template <size_t N> Do you think this might be ...
5 years ago (2015-12-02 17:53:03 UTC) #5
yhirano
https://codereview.chromium.org/1492763002/diff/100001/third_party/WebKit/Source/bindings/core/v8/ReadableStreamOperations.cpp File third_party/WebKit/Source/bindings/core/v8/ReadableStreamOperations.cpp (right): https://codereview.chromium.org/1492763002/diff/100001/third_party/WebKit/Source/bindings/core/v8/ReadableStreamOperations.cpp#newcode25 third_party/WebKit/Source/bindings/core/v8/ReadableStreamOperations.cpp:25: template <size_t N> On 2015/12/02 17:53:03, domenic wrote: > ...
5 years ago (2015-12-03 11:18:29 UTC) #6
domenic
LGTM. Since blink-dev doesn't seem to have consensus on namespace vs. STATIC_ONLY class I don't ...
5 years ago (2015-12-03 17:51:37 UTC) #7
haraken
https://codereview.chromium.org/1492763002/diff/140001/third_party/WebKit/Source/bindings/core/v8/ReadableStreamOperations.cpp File third_party/WebKit/Source/bindings/core/v8/ReadableStreamOperations.cpp (right): https://codereview.chromium.org/1492763002/diff/140001/third_party/WebKit/Source/bindings/core/v8/ReadableStreamOperations.cpp#newcode53 third_party/WebKit/Source/bindings/core/v8/ReadableStreamOperations.cpp:53: bool ok = call(scriptState, "IsReadableStream", args).ToLocal(&resultValue); Can we use ...
5 years ago (2015-12-04 01:41:05 UTC) #8
yhirano
+bashi@chromium.org https://codereview.chromium.org/1492763002/diff/140001/third_party/WebKit/Source/bindings/core/v8/ReadableStreamOperations.cpp File third_party/WebKit/Source/bindings/core/v8/ReadableStreamOperations.cpp (right): https://codereview.chromium.org/1492763002/diff/140001/third_party/WebKit/Source/bindings/core/v8/ReadableStreamOperations.cpp#newcode53 third_party/WebKit/Source/bindings/core/v8/ReadableStreamOperations.cpp:53: bool ok = call(scriptState, "IsReadableStream", args).ToLocal(&resultValue); On 2015/12/04 ...
5 years ago (2015-12-04 05:55:47 UTC) #13
haraken
LGTM
5 years ago (2015-12-04 05:58:51 UTC) #14
bashi
LGTM for maybe API use. https://codereview.chromium.org/1492763002/diff/140001/third_party/WebKit/Source/bindings/core/v8/ReadableStreamOperations.cpp File third_party/WebKit/Source/bindings/core/v8/ReadableStreamOperations.cpp (right): https://codereview.chromium.org/1492763002/diff/140001/third_party/WebKit/Source/bindings/core/v8/ReadableStreamOperations.cpp#newcode53 third_party/WebKit/Source/bindings/core/v8/ReadableStreamOperations.cpp:53: bool ok = call(scriptState, ...
5 years ago (2015-12-04 06:48:54 UTC) #15
yhirano
https://codereview.chromium.org/1492763002/diff/140001/third_party/WebKit/Source/bindings/core/v8/ReadableStreamOperationsTest.cpp File third_party/WebKit/Source/bindings/core/v8/ReadableStreamOperationsTest.cpp (right): https://codereview.chromium.org/1492763002/diff/140001/third_party/WebKit/Source/bindings/core/v8/ReadableStreamOperationsTest.cpp#newcode128 third_party/WebKit/Source/bindings/core/v8/ReadableStreamOperationsTest.cpp:128: v8::MaybeLocal<v8::String> source = v8::String::NewFromUtf8(isolate(), s, v8::String::kNormalString); On 2015/12/04 06:48:53, ...
5 years ago (2015-12-04 06:51:21 UTC) #16
bashi
On 2015/12/04 06:51:21, yhirano wrote: > https://codereview.chromium.org/1492763002/diff/140001/third_party/WebKit/Source/bindings/core/v8/ReadableStreamOperationsTest.cpp > File third_party/WebKit/Source/bindings/core/v8/ReadableStreamOperationsTest.cpp > (right): > > https://codereview.chromium.org/1492763002/diff/140001/third_party/WebKit/Source/bindings/core/v8/ReadableStreamOperationsTest.cpp#newcode128 ...
5 years ago (2015-12-04 07:05:37 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1492763002/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1492763002/220001
5 years ago (2015-12-07 13:38:53 UTC) #20
commit-bot: I haz the power
Committed patchset #9 (id:220001)
5 years ago (2015-12-07 15:09:27 UTC) #22
commit-bot: I haz the power
5 years ago (2015-12-07 15:10:11 UTC) #24
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/e1cf4a50c55b6ebac10c9c6d9d508e4d794eb4f5
Cr-Commit-Position: refs/heads/master@{#363478}

Powered by Google App Engine
This is Rietveld 408576698