-
Devlin Cronin authored
An event listener could destroy the context when it's notified (e.g., if it does window.close()). We need to account for this case. Check after each listener is executed whether the context is still valid. Add native bindings-specific unittests and a JS/Native bindings browsertest. Bug: 653596 Change-Id: I47e789800ca90935457781695d3e8c3de7aae317 Reviewed-on: https://chromium-review.googlesource.com/818528Reviewed-by:
Jeremy Roman <jbroman@chromium.org> Reviewed-by:
Istiaque Ahmed <lazyboy@chromium.org> Commit-Queue: Devlin <rdevlin.cronin@chromium.org> Cr-Commit-Position: refs/heads/master@{#524466}
b15c4f4e