v8binding: Handle nullable DOMString return value of OnBeforeUnloadEventHandler
OnBeforeUnloadEventHandler's return type is DOMString?, so we need to handle the case that the return value is null. This patch fixes the behavior in case of null. Change-Id: I23e4b06174adb42111584f1e84f7ca1c9d04e56c Reviewed-on: https://chromium-review.googlesource.com/c/1335750Reviewed-by:Kentaro Hara <haraken@chromium.org> Reviewed-by:
Hitoshi Yoshida <peria@chromium.org> Commit-Queue: Yuki Shiino <yukishiino@chromium.org> Cr-Commit-Position: refs/heads/master@{#607984}
Showing
Please register or sign in to comment