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

Issue 993333002: bindings: Use Maybe APIs in toXXX() functions (Closed)

Created:
5 years, 9 months ago by bashi
Modified:
4 years, 7 months ago
Reviewers:
haraken, Jens Widell, Yuki
CC:
blink-reviews, blink-reviews-bindings_chromium.org, vivekg_samsung, arv+blink, vivekg
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

bindings: Use Maybe APIs in toXXX() functions BUG=462402 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=192568

Patch Set 1 #

Total comments: 5

Patch Set 2 : #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -41 lines) Patch
M Source/bindings/core/v8/V8Binding.h View 1 6 chunks +9 lines, -9 lines 0 comments Download
M Source/bindings/core/v8/V8Binding.cpp View 1 15 chunks +28 lines, -24 lines 3 comments Download
M Source/bindings/core/v8/V8BindingMacros.h View 1 2 chunks +16 lines, -8 lines 0 comments Download

Messages

Total messages: 19 (7 generated)
bashi
This is an WIP and depends on https://codereview.chromium.org/995203002/. I don't intend to land this CL ...
5 years, 9 months ago (2015-03-11 10:30:37 UTC) #2
Jens Widell
https://codereview.chromium.org/993333002/diff/1/Source/bindings/core/v8/V8Binding.h File Source/bindings/core/v8/V8Binding.h (right): https://codereview.chromium.org/993333002/diff/1/Source/bindings/core/v8/V8Binding.h#newcode439 Source/bindings/core/v8/V8Binding.h:439: if (value->IsUint32()) { On 2015/03/11 10:30:37, bashi1 wrote: > ...
5 years, 9 months ago (2015-03-11 10:56:37 UTC) #3
Yuki
https://codereview.chromium.org/993333002/diff/1/Source/bindings/core/v8/V8Binding.cpp File Source/bindings/core/v8/V8Binding.cpp (right): https://codereview.chromium.org/993333002/diff/1/Source/bindings/core/v8/V8Binding.cpp#newcode207 Source/bindings/core/v8/V8Binding.cpp:207: if (!value->ToNumber(context).ToLocal(&numberObject)) { It looks to me that either ...
5 years, 9 months ago (2015-03-11 13:11:53 UTC) #5
bashi
Updated. PTAL? - Use As() when IsXXX() is true - Use v8Call() to make sure ...
5 years, 9 months ago (2015-03-25 10:54:18 UTC) #8
Jens Widell
LGTM https://codereview.chromium.org/993333002/diff/60001/Source/bindings/core/v8/V8Binding.cpp File Source/bindings/core/v8/V8Binding.cpp (right): https://codereview.chromium.org/993333002/diff/60001/Source/bindings/core/v8/V8Binding.cpp#newcode310 Source/bindings/core/v8/V8Binding.cpp:310: exceptionState.rethrowV8Exception(block.Exception()); Technically, this call can't fail, since numberObject ...
5 years, 9 months ago (2015-03-25 11:11:15 UTC) #9
haraken
https://codereview.chromium.org/993333002/diff/60001/Source/bindings/core/v8/V8Binding.cpp File Source/bindings/core/v8/V8Binding.cpp (right): https://codereview.chromium.org/993333002/diff/60001/Source/bindings/core/v8/V8Binding.cpp#newcode310 Source/bindings/core/v8/V8Binding.cpp:310: exceptionState.rethrowV8Exception(block.Exception()); On 2015/03/25 11:11:15, Jens Widell wrote: > Technically, ...
5 years, 9 months ago (2015-03-25 11:53:44 UTC) #10
haraken
LGTM
5 years, 9 months ago (2015-03-25 11:53:50 UTC) #11
Jens Widell
On 2015/03/25 11:53:44, haraken wrote: > https://codereview.chromium.org/993333002/diff/60001/Source/bindings/core/v8/V8Binding.cpp > File Source/bindings/core/v8/V8Binding.cpp (right): > > https://codereview.chromium.org/993333002/diff/60001/Source/bindings/core/v8/V8Binding.cpp#newcode310 > ...
5 years, 9 months ago (2015-03-25 11:57:54 UTC) #12
Yuki
lgtm
5 years, 9 months ago (2015-03-25 12:39:37 UTC) #13
bashi
Thanks for reviews and comments. Let me land this:)
5 years, 9 months ago (2015-03-26 01:30:49 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/993333002/60001
5 years, 9 months ago (2015-03-26 01:31:34 UTC) #16
commit-bot: I haz the power
5 years, 9 months ago (2015-03-26 01:35:37 UTC) #17
Message was sent while issue was closed.
Committed patchset #2 (id:60001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=192568

Powered by Google App Engine
This is Rietveld 408576698