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

Issue 972153002: [bindings] Remove custom binding usage in SQLResultSetRowList. (Closed)

Created:
5 years, 9 months ago by vivekg_samsung
Modified:
4 years, 7 months ago
CC:
arv+blink, blink-reviews, blink-reviews-bindings_chromium.org, vivekg_samsung, Yuki
Base URL:
https://chromium.googlesource.com/chromium/blink.git@test
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

[bindings] Remove custom binding usage in SQLResultSetRowList. As per [1], removing the usage of custom binding required for SQLResultSetRowList. R=jl@opera.com, haraken@chromium.org, jsbell@chromium.org BUG=345519 [1] http://www.w3.org/TR/webdatabase/#sqlresultsetrowlist Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=191359

Patch Set 1 #

Total comments: 2

Patch Set 2 : Addition of new file ToV8.h for modules #

Total comments: 13

Patch Set 3 : Review comments addressed! #

Total comments: 3

Patch Set 4 : CallWith=ScriptState #

Total comments: 12

Patch Set 5 : Patch for landing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -96 lines) Patch
M Source/bindings/core/v8/ScriptValue.h View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M Source/bindings/core/v8/ToV8.h View 1 2 1 chunk +9 lines, -0 lines 0 comments Download
M Source/bindings/core/v8/ToV8Test.cpp View 1 2 3 1 chunk +11 lines, -0 lines 0 comments Download
A Source/bindings/modules/v8/ToV8ForModules.h View 1 2 3 4 1 chunk +30 lines, -0 lines 0 comments Download
D Source/bindings/modules/v8/custom/V8SQLResultSetRowListCustom.cpp View 1 chunk +0 lines, -93 lines 0 comments Download
M Source/bindings/modules/v8/custom/custom.gni View 1 chunk +0 lines, -1 line 0 comments Download
M Source/bindings/modules/v8/custom/custom.gypi View 1 chunk +0 lines, -1 line 0 comments Download
M Source/bindings/modules/v8/v8.gni View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M Source/bindings/modules/v8/v8.gypi View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/webdatabase/SQLResultSetRowList.h View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download
M Source/modules/webdatabase/SQLResultSetRowList.cpp View 1 2 3 4 2 chunks +22 lines, -0 lines 0 comments Download
M Source/modules/webdatabase/SQLResultSetRowList.idl View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 44 (7 generated)
vivekg
PTAL, thanks.
5 years, 9 months ago (2015-03-03 12:36:50 UTC) #2
haraken
Unfortunately I might be negative to this change :-/ https://codereview.chromium.org/972153002/diff/1/Source/modules/webdatabase/SQLResultSetRowList.cpp File Source/modules/webdatabase/SQLResultSetRowList.cpp (right): https://codereview.chromium.org/972153002/diff/1/Source/modules/webdatabase/SQLResultSetRowList.cpp#newcode46 Source/modules/webdatabase/SQLResultSetRowList.cpp:46: ...
5 years, 9 months ago (2015-03-03 15:02:00 UTC) #4
jsbell
The pattern we use for Indexed DB is to have Source/bindings/modules/v8/IDBBindingUtilities.h/cpp that encapsulates the module-specific ...
5 years, 9 months ago (2015-03-03 17:29:24 UTC) #5
haraken
On 2015/03/03 17:29:24, jsbell wrote: > The pattern we use for Indexed DB is to ...
5 years, 9 months ago (2015-03-04 01:51:21 UTC) #6
vivekg
On 2015/03/04 at 01:51:21, haraken wrote: > Sounds nice to put the fuction in IDBBindingUtilities! ...
5 years, 9 months ago (2015-03-04 03:48:51 UTC) #7
haraken
> > Sounds nice to put the fuction in IDBBindingUtilities! > > Sure. On a ...
5 years, 9 months ago (2015-03-04 04:06:35 UTC) #9
bashi
On 2015/03/04 04:06:35, haraken wrote: > > > Sounds nice to put the fuction in ...
5 years, 9 months ago (2015-03-04 04:37:49 UTC) #10
Yuki
On 2015/03/04 04:37:49, bashi1 wrote: > On 2015/03/04 04:06:35, haraken wrote: > > I'm not ...
5 years, 9 months ago (2015-03-04 05:08:11 UTC) #11
vivekg
Thanks everyone for the suggestions. Based on the discussion, I have made a patch, PTAL. ...
5 years, 9 months ago (2015-03-04 13:34:04 UTC) #12
vivekg
https://codereview.chromium.org/972153002/diff/20001/Source/modules/webdatabase/SQLResultSetRowList.cpp File Source/modules/webdatabase/SQLResultSetRowList.cpp (right): https://codereview.chromium.org/972153002/diff/20001/Source/modules/webdatabase/SQLResultSetRowList.cpp#newcode34 Source/modules/webdatabase/SQLResultSetRowList.cpp:34: #include "bindings/core/v8/V8Binding.h" The V8Binding.h inclusion is not required. I ...
5 years, 9 months ago (2015-03-04 13:40:45 UTC) #13
Jens Widell
https://codereview.chromium.org/972153002/diff/20001/Source/bindings/core/v8/ToV8.h File Source/bindings/core/v8/ToV8.h (right): https://codereview.chromium.org/972153002/diff/20001/Source/bindings/core/v8/ToV8.h#newcode218 Source/bindings/core/v8/ToV8.h:218: object->Set(v8String(isolate, value[i].first), value[i].second); By passing value[i].second directly to v8::Object::Set(), ...
5 years, 9 months ago (2015-03-04 13:53:52 UTC) #14
vivekg
https://codereview.chromium.org/972153002/diff/20001/Source/bindings/core/v8/ToV8.h File Source/bindings/core/v8/ToV8.h (right): https://codereview.chromium.org/972153002/diff/20001/Source/bindings/core/v8/ToV8.h#newcode218 Source/bindings/core/v8/ToV8.h:218: object->Set(v8String(isolate, value[i].first), value[i].second); On 2015/03/04 at 13:53:52, Jens Widell ...
5 years, 9 months ago (2015-03-04 13:57:19 UTC) #15
Jens Widell
https://codereview.chromium.org/972153002/diff/20001/Source/bindings/core/v8/ToV8.h File Source/bindings/core/v8/ToV8.h (right): https://codereview.chromium.org/972153002/diff/20001/Source/bindings/core/v8/ToV8.h#newcode218 Source/bindings/core/v8/ToV8.h:218: object->Set(v8String(isolate, value[i].first), value[i].second); On 2015/03/04 13:57:19, vivekg_ wrote: > ...
5 years, 9 months ago (2015-03-04 14:03:54 UTC) #16
Yuki
https://codereview.chromium.org/972153002/diff/20001/Source/bindings/core/v8/ToV8.h File Source/bindings/core/v8/ToV8.h (right): https://codereview.chromium.org/972153002/diff/20001/Source/bindings/core/v8/ToV8.h#newcode214 Source/bindings/core/v8/ToV8.h:214: inline v8::Handle<v8::Value> toV8(const Vector<std::pair<String, T>>& value, v8::Handle<v8::Object> creationContext, v8::Isolate* ...
5 years, 9 months ago (2015-03-04 14:11:05 UTC) #18
Jens Widell
https://codereview.chromium.org/972153002/diff/20001/Source/modules/webdatabase/SQLResultSetRowList.cpp File Source/modules/webdatabase/SQLResultSetRowList.cpp (right): https://codereview.chromium.org/972153002/diff/20001/Source/modules/webdatabase/SQLResultSetRowList.cpp#newcode50 Source/modules/webdatabase/SQLResultSetRowList.cpp:50: ScriptValue SQLResultSetRowList::item(unsigned index, ExceptionState& exceptionState) On 2015/03/04 14:11:04, Yuki ...
5 years, 9 months ago (2015-03-04 14:18:26 UTC) #19
Jens Widell
https://codereview.chromium.org/972153002/diff/20001/Source/modules/webdatabase/SQLResultSetRowList.cpp File Source/modules/webdatabase/SQLResultSetRowList.cpp (right): https://codereview.chromium.org/972153002/diff/20001/Source/modules/webdatabase/SQLResultSetRowList.cpp#newcode50 Source/modules/webdatabase/SQLResultSetRowList.cpp:50: ScriptValue SQLResultSetRowList::item(unsigned index, ExceptionState& exceptionState) On 2015/03/04 14:18:26, Jens ...
5 years, 9 months ago (2015-03-04 14:23:41 UTC) #20
Yuki
https://codereview.chromium.org/972153002/diff/20001/Source/modules/webdatabase/SQLResultSetRowList.cpp File Source/modules/webdatabase/SQLResultSetRowList.cpp (right): https://codereview.chromium.org/972153002/diff/20001/Source/modules/webdatabase/SQLResultSetRowList.cpp#newcode50 Source/modules/webdatabase/SQLResultSetRowList.cpp:50: ScriptValue SQLResultSetRowList::item(unsigned index, ExceptionState& exceptionState) On 2015/03/04 14:23:41, Jens ...
5 years, 9 months ago (2015-03-04 14:30:45 UTC) #21
vivekg
Thank you, done the changes accordingly. PTAL.
5 years, 9 months ago (2015-03-04 15:11:26 UTC) #22
Jens Widell
https://codereview.chromium.org/972153002/diff/40001/Source/bindings/modules/v8/ScriptValueUtilities.h File Source/bindings/modules/v8/ScriptValueUtilities.h (right): https://codereview.chromium.org/972153002/diff/40001/Source/bindings/modules/v8/ScriptValueUtilities.h#newcode18 Source/bindings/modules/v8/ScriptValueUtilities.h:18: ScriptState* scriptState = ScriptState::current(isolate); It would be better if ...
5 years, 9 months ago (2015-03-04 15:53:28 UTC) #23
Yuki
lgtm on my side. Please address Jens' comment. https://codereview.chromium.org/972153002/diff/40001/Source/bindings/core/v8/ToV8Test.cpp File Source/bindings/core/v8/ToV8Test.cpp (right): https://codereview.chromium.org/972153002/diff/40001/Source/bindings/core/v8/ToV8Test.cpp#newcode232 Source/bindings/core/v8/ToV8Test.cpp:232: Vector<std::pair<String, ...
5 years, 9 months ago (2015-03-05 03:31:03 UTC) #24
vivekg
On 2015/03/04 at 15:53:28, jl wrote: > https://codereview.chromium.org/972153002/diff/40001/Source/bindings/modules/v8/ScriptValueUtilities.h > File Source/bindings/modules/v8/ScriptValueUtilities.h (right): > > https://codereview.chromium.org/972153002/diff/40001/Source/bindings/modules/v8/ScriptValueUtilities.h#newcode18 ...
5 years, 9 months ago (2015-03-05 05:24:37 UTC) #25
vivekg
Thanks yukishiino@, done all the changes. PTAL.
5 years, 9 months ago (2015-03-05 05:31:11 UTC) #26
Jens Widell
LGTM
5 years, 9 months ago (2015-03-05 07:12:00 UTC) #27
vivekg
On 2015/03/05 at 07:12:00, jl wrote: > LGTM Thank you jl@, now awaiting approval for ...
5 years, 9 months ago (2015-03-05 07:16:20 UTC) #28
Yuki
lgtm
5 years, 9 months ago (2015-03-05 07:39:58 UTC) #29
haraken
https://codereview.chromium.org/972153002/diff/60001/Source/bindings/modules/v8/ScriptValueUtilities.h File Source/bindings/modules/v8/ScriptValueUtilities.h (right): https://codereview.chromium.org/972153002/diff/60001/Source/bindings/modules/v8/ScriptValueUtilities.h#newcode15 Source/bindings/modules/v8/ScriptValueUtilities.h:15: inline ScriptValue toScriptValue(ScriptState* scriptState, const Vector<std::pair<String, SQLValue>>& value) Sorry, ...
5 years, 9 months ago (2015-03-05 09:03:13 UTC) #30
vivekg
Thanks haraken@, please find my comments inline. https://codereview.chromium.org/972153002/diff/60001/Source/bindings/modules/v8/ScriptValueUtilities.h File Source/bindings/modules/v8/ScriptValueUtilities.h (right): https://codereview.chromium.org/972153002/diff/60001/Source/bindings/modules/v8/ScriptValueUtilities.h#newcode15 Source/bindings/modules/v8/ScriptValueUtilities.h:15: inline ScriptValue ...
5 years, 9 months ago (2015-03-05 09:13:53 UTC) #31
haraken
https://codereview.chromium.org/972153002/diff/60001/Source/bindings/modules/v8/ScriptValueUtilities.h File Source/bindings/modules/v8/ScriptValueUtilities.h (right): https://codereview.chromium.org/972153002/diff/60001/Source/bindings/modules/v8/ScriptValueUtilities.h#newcode15 Source/bindings/modules/v8/ScriptValueUtilities.h:15: inline ScriptValue toScriptValue(ScriptState* scriptState, const Vector<std::pair<String, SQLValue>>& value) On ...
5 years, 9 months ago (2015-03-05 09:24:48 UTC) #32
Yuki
https://codereview.chromium.org/972153002/diff/60001/Source/bindings/modules/v8/ScriptValueUtilities.h File Source/bindings/modules/v8/ScriptValueUtilities.h (right): https://codereview.chromium.org/972153002/diff/60001/Source/bindings/modules/v8/ScriptValueUtilities.h#newcode15 Source/bindings/modules/v8/ScriptValueUtilities.h:15: inline ScriptValue toScriptValue(ScriptState* scriptState, const Vector<std::pair<String, SQLValue>>& value) On ...
5 years, 9 months ago (2015-03-05 09:25:21 UTC) #33
haraken
On 2015/03/05 09:25:21, Yuki wrote: > https://codereview.chromium.org/972153002/diff/60001/Source/bindings/modules/v8/ScriptValueUtilities.h > File Source/bindings/modules/v8/ScriptValueUtilities.h (right): > > https://codereview.chromium.org/972153002/diff/60001/Source/bindings/modules/v8/ScriptValueUtilities.h#newcode15 > ...
5 years, 9 months ago (2015-03-05 09:30:36 UTC) #34
vivekg
On 2015/03/05 at 09:30:36, haraken wrote: > I like the idea :) +1. One question ...
5 years, 9 months ago (2015-03-05 09:36:51 UTC) #35
haraken
On 2015/03/05 09:36:51, vivekg_ wrote: > On 2015/03/05 at 09:30:36, haraken wrote: > > > ...
5 years, 9 months ago (2015-03-05 09:42:40 UTC) #36
vivekg
On 2015/03/05 at 09:42:40, haraken wrote: > Sorry for the back and forth, but I ...
5 years, 9 months ago (2015-03-05 09:48:03 UTC) #37
vivekg
Done, PTAL. Thanks.
5 years, 9 months ago (2015-03-05 10:52:58 UTC) #38
haraken
LGTM
5 years, 9 months ago (2015-03-05 11:19:20 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/972153002/80001
5 years, 9 months ago (2015-03-05 12:18:25 UTC) #42
commit-bot: I haz the power
5 years, 9 months ago (2015-03-05 13:09:03 UTC) #43
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=191359

Powered by Google App Engine
This is Rietveld 408576698