summaryrefslogtreecommitdiff
path: root/ext/js/language/dictionary-worker-main.js
diff options
context:
space:
mode:
authorpraschke <stel@comfy.monster>2023-09-30 17:17:31 +0100
committerpraschke <stel@comfy.monster>2023-09-30 17:56:52 +0100
commit6769ff501c8b5d20e9056de57eff5a62a92339d3 (patch)
treeee22b630a52fb802d357bb85c170c366e3f81ed7 /ext/js/language/dictionary-worker-main.js
parent0fa8d441a269b13474e6ad4108f49497d4d3abfd (diff)
create both cross-frame ports in the background
on Chrome (currently 117), the port created in the content script with runtime.connect does not properly receive an onDisconnect event when the service worker sleeps. the port created in the background with tabs.connect does receive the event, so create both ports with tabs.connect. fixes #241.
Diffstat (limited to 'ext/js/language/dictionary-worker-main.js')
0 files changed, 0 insertions, 0 deletions