Description[Extensions Bindings] Allow event listener unregistration in handling
Event listeners can potentially unregister themselves in the handling of
the event, e.g.
chrome.foo.onBar.addListener(function listener() {
chrome.foo.onBar.removeListener(listener);
<do stuff>
});
Support this behavior and add a test.
BUG=653596
Review-Url: https://codereview.chromium.org/2605353003
Cr-Commit-Position: refs/heads/master@{#441729}
Committed: https://chromium.googlesource.com/chromium/src/+/930c8e9b9bf2c2c2bd4ed42ab4939562fa6402d4
Patch Set 1 #Patch Set 2 : typo #
Total comments: 2
Patch Set 3 : jbroman #Patch Set 4 : . #Messages
Total messages: 15 (9 generated)
|