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

Issue 556273003: In generated dictionary toImpl(), throw all exceptions via ExceptionState (Closed)

Created:
6 years, 3 months ago by Jens Widell
Modified:
6 years, 3 months ago
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

In generated dictionary toImpl(), throw all exceptions via ExceptionState This allows us to simplify callers by not having a v8::TryCatch there, and instead only check the ExceptionState object. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181738

Patch Set 1 #

Total comments: 2

Patch Set 2 : added FIXME comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -0 lines) Patch
M Source/bindings/templates/dictionary_v8.cpp View 1 2 chunks +6 lines, -0 lines 0 comments Download
M Source/bindings/tests/results/core/V8TestDictionary.cpp View 1 2 chunks +45 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
Jens Widell
PTAL A temporary fix while we still use DictionaryHelper in this code. Makes it possible ...
6 years, 3 months ago (2014-09-10 14:09:01 UTC) #2
bashi
LGTM. Thank you for working on this! https://codereview.chromium.org/556273003/diff/1/Source/bindings/templates/dictionary_v8.cpp File Source/bindings/templates/dictionary_v8.cpp (right): https://codereview.chromium.org/556273003/diff/1/Source/bindings/templates/dictionary_v8.cpp#newcode22 Source/bindings/templates/dictionary_v8.cpp:22: v8::TryCatch block; ...
6 years, 3 months ago (2014-09-10 14:12:51 UTC) #4
Jens Widell
Thanks for quick review! https://codereview.chromium.org/556273003/diff/1/Source/bindings/templates/dictionary_v8.cpp File Source/bindings/templates/dictionary_v8.cpp (right): https://codereview.chromium.org/556273003/diff/1/Source/bindings/templates/dictionary_v8.cpp#newcode22 Source/bindings/templates/dictionary_v8.cpp:22: v8::TryCatch block; On 2014/09/10 14:12:51, ...
6 years, 3 months ago (2014-09-10 14:26:46 UTC) #5
haraken
LGTM
6 years, 3 months ago (2014-09-10 15:38:50 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jl@opera.com/556273003/20001
6 years, 3 months ago (2014-09-10 15:42:40 UTC) #8
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 15:47:38 UTC) #9
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as 181738

Powered by Google App Engine
This is Rietveld 408576698