Use typed messaging for popup message port

This commit is contained in:
hensm
2021-04-25 08:36:39 +01:00
parent 2fa49298ee
commit 2010af373b
2 changed files with 65 additions and 64 deletions

View File

@@ -88,7 +88,7 @@ export default class PopupReceiverSelector extends ReceiverSelector {
const popup = await browser.windows.create({
url: POPUP_URL
, type: "detached_panel"
, type: "popup"
, ...centeredProps
});