Improve handling of failed integer type conversions.

Change over the V8Binding methods for converting to integer types
(to*Int*()) to take an ExceptionState argument instead of using a
bool reference argument to indicate success/failure.

Improve the exception messages from failed type conversion as a
result; adjust the binding code generator to emit compatible calls and
exception propagation.

Reworked some of the error reporting in the WebGL custom binding code
while switching over; more informative exception messages will now
flow.

R=jsbell,nbarth,haraken
BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@164568 bbb929c8-8fbe-4397-9dbb-9b2b20218538
35 files changed
tree: 1575b083fd709167302ef04b5459da3a4c19556b
  1. third_party/