Make exception throwing more robust in V8 out-of-stack situations

If V8 throws an exception when Blink tries to create an exception to
throw, return V8's exception instead of undefined, since it makes sense
in that case to propagate V8's exception.

BUG=454607

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

git-svn-id: svn://svn.chromium.org/blink/trunk@189489 bbb929c8-8fbe-4397-9dbb-9b2b20218538
2 files changed
tree: 4d161b171dcf9d3036a05d0422e43bd5b5074583
  1. third_party/