aboutsummaryrefslogtreecommitdiff
path: root/ext/mixed/js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mixed/js')
-rw-r--r--ext/mixed/js/comm.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/mixed/js/comm.js b/ext/mixed/js/comm.js
index ea450da6..997249c8 100644
--- a/ext/mixed/js/comm.js
+++ b/ext/mixed/js/comm.js
@@ -248,6 +248,12 @@ class CrossFrameAPI {
}
}
+ unregisterHandler(key) {
+ return this._messageHandlers.delete(key);
+ }
+
+ // Private
+
_onConnect(port) {
try {
let details;