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

Review URL: https://codereview.chromium.org/611453002

git-svn-id: svn://svn.chromium.org/blink/trunk@182754 bbb929c8-8fbe-4397-9dbb-9b2b20218538
6 files changed
tree: b062bc6c1ac8519769968d53227d34696cb172a0
  1. third_party/