[Extension Bindings] Add more CHECKs to track down a crash
There's a crash happening when a JSRunner associated with a context (which is checked to be valid) somehow doesn't exist. This shouldn't happen, but somehow is. This patch adds checks that if a context is considered to be valid, it has an associated JSRunner. This also slightly reorders tear down flow in order to match this requirement, putting context invalidation prior to JSRunner deletion. Bug: 819968 Change-Id: I0e0d634f3e8c910cf50a157dfa367119be522d9a Reviewed-on: https://chromium-review.googlesource.com/972571Reviewed-by:Jeremy Roman <jbroman@chromium.org> Commit-Queue: Devlin <rdevlin.cronin@chromium.org> Cr-Commit-Position: refs/heads/master@{#544698}
Showing
Please register or sign in to comment