mirror of
https://github.com/mdn/webextensions-examples.git
synced 2026-04-16 06:18:35 +02:00
@@ -19,7 +19,7 @@ port.onDisconnect.addListener((port) => {
|
|||||||
} else {
|
} else {
|
||||||
// The port closed for an unspecified reason. If this occurred right after
|
// The port closed for an unspecified reason. If this occurred right after
|
||||||
// calling `browser.runtime.connectNative()` there may have been a problem
|
// calling `browser.runtime.connectNative()` there may have been a problem
|
||||||
// starting the the native messaging client in the first place.
|
// starting the native messaging client in the first place.
|
||||||
// https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Native_messaging#troubleshooting
|
// https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Native_messaging#troubleshooting
|
||||||
console.log(`Disconnected`, port);
|
console.log(`Disconnected`, port);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user