summaryrefslogtreecommitdiffstats
path: root/gin/try_catch.h
diff options
context:
space:
mode:
authorhajimehoshi@chromium.org <hajimehoshi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-28 14:48:25 +0000
committerhajimehoshi@chromium.org <hajimehoshi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-28 14:48:25 +0000
commite0719edc493cdb9edce7ee29665da825be863404 (patch)
treef28e747e3c1b6e5969bdd4c8d40dd8325d73efb4 /gin/try_catch.h
parentf2a40edbd44cbaeee3f7345abb2ccd5ddbeab159 (diff)
downloadchromium_src-e0719edc493cdb9edce7ee29665da825be863404.zip
chromium_src-e0719edc493cdb9edce7ee29665da825be863404.tar.gz
chromium_src-e0719edc493cdb9edce7ee29665da825be863404.tar.bz2
gin: Bug fix: Fix CreateHandle to return an emtpy handle in some extreme cases
In some extreme cases, ObjectTemplate::NewInstance might return an empty handler. For example, the getter and setter Object.prototype.constructor can be rewritten with a evil function which can throw exceptions. BUG=331301 TEST=gin_unittests --gtest_filter=WrappableTest.ErrorInObjectConstructorProperty Review URL: https://codereview.chromium.org/184253004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254109 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gin/try_catch.h')
0 files changed, 0 insertions, 0 deletions