Description[Extensions Bindings] Notify of event unregistration on invalidation
When contexts are invalidated, we consider the events in that context
unregistered and notify the browser accordingly. Hook up an
InvalidateContext() method on APIEventHandler and call it through
blink's WillReleaseScriptContext().
Add associated tests.
BUG=653596
Review-Url: https://codereview.chromium.org/2722463006
Cr-Commit-Position: refs/heads/master@{#454911}
Committed: https://chromium.googlesource.com/chromium/src/+/317a9b943cc6e28bb3f7d0cda4ae9382d84f9288
Patch Set 1 #Patch Set 2 : . #Patch Set 3 : . #
Total comments: 13
Patch Set 4 : jbroman's + invalidate contexts #Patch Set 5 : nits #
Total comments: 2
Patch Set 6 : lazyboy's #Patch Set 7 : Rebase #Messages
Total messages: 27 (18 generated)
|