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

Issue 460923002: Decouple arity errors creation from throwing. (Closed)

Created:
6 years, 4 months ago by yhirano
Modified:
6 years, 4 months ago
Reviewers:
haraken, Jens Widell, bashi
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

Decouple arity errors creation from throwing. In order to reduce duplicated functions between V8Binding.h and ScriptPromise.h, this CL adds arity error creation functions to V8Binding.h and deletes arity error throwing functions from V8Binding.h and ScriptPromise.h. BUG=359411 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=180137

Patch Set 1 #

Patch Set 2 : #

Total comments: 5

Patch Set 3 : #

Patch Set 4 : #

Total comments: 4

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+195 lines, -244 lines) Patch
M Source/bindings/core/v8/ScriptPromise.h View 1 chunk +0 lines, -15 lines 0 comments Download
M Source/bindings/core/v8/ScriptPromise.cpp View 1 chunk +0 lines, -44 lines 0 comments Download
M Source/bindings/core/v8/V8Binding.h View 1 chunk +4 lines, -6 lines 0 comments Download
M Source/bindings/core/v8/V8Binding.cpp View 1 chunk +6 lines, -18 lines 0 comments Download
M Source/bindings/core/v8/custom/V8ElementCustom.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M Source/bindings/modules/v8/custom/V8SubtleCryptoCustom.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M Source/bindings/templates/methods.cpp View 1 2 3 4 4 chunks +32 lines, -48 lines 0 comments Download
M Source/bindings/tests/results/V8TestInterface.cpp View 1 7 chunks +10 lines, -7 lines 0 comments Download
M Source/bindings/tests/results/V8TestInterface2.cpp View 6 chunks +12 lines, -6 lines 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceConstructor.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceConstructor3.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceGarbageCollected.cpp View 1 2 chunks +2 lines, -2 lines 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceNamedConstructor.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceNamedConstructor2.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceWillBeGarbageCollected.cpp View 1 3 chunks +3 lines, -3 lines 0 comments Download
M Source/bindings/tests/results/V8TestObject.cpp View 1 82 chunks +109 lines, -82 lines 0 comments Download
M Source/bindings/tests/results/V8TestSpecialOperations.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestTypedefs.cpp View 1 6 chunks +6 lines, -6 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
yhirano
This is a followup CL for https://codereview.chromium.org/232563003/ . This change increases the binary size less ...
6 years, 4 months ago (2014-08-12 06:53:04 UTC) #1
Jens Widell
https://codereview.chromium.org/460923002/diff/20001/Source/bindings/templates/methods.cpp File Source/bindings/templates/methods.cpp (right): https://codereview.chromium.org/460923002/diff/20001/Source/bindings/templates/methods.cpp#newcode325 Source/bindings/templates/methods.cpp:325: {% if method.idl_type == 'Promise' %} This if/else block ...
6 years, 4 months ago (2014-08-12 07:18:04 UTC) #2
yhirano
https://codereview.chromium.org/460923002/diff/20001/Source/bindings/templates/methods.cpp File Source/bindings/templates/methods.cpp (right): https://codereview.chromium.org/460923002/diff/20001/Source/bindings/templates/methods.cpp#newcode325 Source/bindings/templates/methods.cpp:325: {% if method.idl_type == 'Promise' %} On 2014/08/12 07:18:03, ...
6 years, 4 months ago (2014-08-12 07:43:19 UTC) #3
haraken
LGTM, but let's wait for an approval from Jens.
6 years, 4 months ago (2014-08-12 08:15:05 UTC) #4
Jens Widell
LGTM https://codereview.chromium.org/460923002/diff/20001/Source/bindings/templates/methods.cpp File Source/bindings/templates/methods.cpp (right): https://codereview.chromium.org/460923002/diff/20001/Source/bindings/templates/methods.cpp#newcode325 Source/bindings/templates/methods.cpp:325: {% if method.idl_type == 'Promise' %} On 2014/08/12 ...
6 years, 4 months ago (2014-08-12 08:42:27 UTC) #5
yhirano
https://codereview.chromium.org/460923002/diff/60001/Source/bindings/templates/methods.cpp File Source/bindings/templates/methods.cpp (right): https://codereview.chromium.org/460923002/diff/60001/Source/bindings/templates/methods.cpp#newcode320 Source/bindings/templates/methods.cpp:320: {% macro type_error_message(method, error_message) %} On 2014/08/12 08:42:26, Jens ...
6 years, 4 months ago (2014-08-12 09:36:10 UTC) #6
Jens Widell
On 2014/08/12 09:36:10, yhirano wrote: > https://codereview.chromium.org/460923002/diff/60001/Source/bindings/templates/methods.cpp > File Source/bindings/templates/methods.cpp (right): > > https://codereview.chromium.org/460923002/diff/60001/Source/bindings/templates/methods.cpp#newcode320 > ...
6 years, 4 months ago (2014-08-12 09:39:55 UTC) #7
bashi
LGTM
6 years, 4 months ago (2014-08-12 23:41:49 UTC) #8
yhirano
The CQ bit was checked by yhirano@chromium.org
6 years, 4 months ago (2014-08-13 03:38:33 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yhirano@chromium.org/460923002/80001
6 years, 4 months ago (2014-08-13 03:39:29 UTC) #10
commit-bot: I haz the power
6 years, 4 months ago (2014-08-13 04:49:31 UTC) #11
Message was sent while issue was closed.
Change committed as 180137

Powered by Google App Engine
This is Rietveld 408576698