v8binding: Minor fix of BindingSecurity
It seemed like that there were cases that BindingSecurity didn't throw an exception although BindingSecurity::ShouldAllowAccessToXxx returned false. This patch makes BindingSecurity always throw an exception when it returns false. Also, BindingSecurity reports an error (print an error message) as best effort. This patch also supports the case that remote_object->CreationContext() returns the empty handle. Change-Id: I155f975af3c5d93f27ccb7e0ca0eb8d5bdc8d403 Reviewed-on: https://chromium-review.googlesource.com/c/1341785Reviewed-by:Kentaro Hara <haraken@chromium.org> Commit-Queue: Yuki Shiino <yukishiino@chromium.org> Cr-Commit-Position: refs/heads/master@{#609624}
Showing
Please register or sign in to comment