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

Issue 611453002: IDL: Clean up argument conversion error handling (Closed)

Created:
6 years, 2 months ago by Jens Widell
Modified:
6 years, 2 months ago
Reviewers:
haraken
CC:
blink-reviews, blink-reviews-bindings_chromium.org, arv+blink, abarth-chromium
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

IDL: Clean up argument conversion error handling Remove all handling of the conditional (now never generated) v8::TryCatch local from the code generator. Also restructure v8_value_to_local_cpp_value() which now has two major code paths: conversions that need error handling (strings and conversions that use ExceptionState,) and conversions that don't need error handling. The unused code path that generated code using TONATIVE_VOID() is removed. This patch does not change any generated code, aside from in the bindings tests. BUG=413257 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=182754

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -77 lines) Patch
M Source/bindings/scripts/v8_interface.py View 2 chunks +0 lines, -4 lines 0 comments Download
M Source/bindings/scripts/v8_methods.py View 2 chunks +0 lines, -33 lines 0 comments Download
M Source/bindings/scripts/v8_types.py View 1 chunk +40 lines, -30 lines 2 comments Download
M Source/bindings/templates/methods.cpp View 1 chunk +0 lines, -4 lines 0 comments Download
M Source/bindings/tests/results/core/V8TestInterface.cpp View 1 chunk +0 lines, -2 lines 0 comments Download
M Source/bindings/tests/results/core/V8TestObject.cpp View 2 chunks +0 lines, -4 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
Jens Widell
PTAL TONATIVE_VOID() is now only used in custom code. Typically this is custom code that ...
6 years, 2 months ago (2014-09-26 09:45:57 UTC) #2
haraken
LGTM https://codereview.chromium.org/611453002/diff/1/Source/bindings/scripts/v8_types.py File Source/bindings/scripts/v8_types.py (right): https://codereview.chromium.org/611453002/diff/1/Source/bindings/scripts/v8_types.py#newcode568 Source/bindings/scripts/v8_types.py:568: return '/* no V8 -> C++ conversion for ...
6 years, 2 months ago (2014-09-26 09:49:30 UTC) #3
Jens Widell
On 2014/09/26 09:49:30, haraken wrote: > LGTM > > https://codereview.chromium.org/611453002/diff/1/Source/bindings/scripts/v8_types.py > File Source/bindings/scripts/v8_types.py (right): > ...
6 years, 2 months ago (2014-09-26 09:57:05 UTC) #4
haraken
On 2014/09/26 09:57:05, Jens Widell wrote: > On 2014/09/26 09:49:30, haraken wrote: > > LGTM ...
6 years, 2 months ago (2014-09-26 10:04:07 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/611453002/1
6 years, 2 months ago (2014-09-26 10:08:01 UTC) #7
commit-bot: I haz the power
6 years, 2 months ago (2014-09-26 11:02:12 UTC) #8
Message was sent while issue was closed.
Committed patchset #1 (id:1) as 182754

Powered by Google App Engine
This is Rietveld 408576698