Use ExceptionState to throw exceptions when converting arrays

In the to*NativeArray(), toImplArray() and toImplArguments() helpers,
throw all exceptions via an ExceptionState& argument.

To facilitate this, also add an ExceptionState& argument to the various
NativeValueTraits<>::nativeValue() implementations, and add a
V8StringValue::prepare() variant that takes an ExceptionState& argument.

BUG=413257

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

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