unkown -> unknown
This commit is contained in:
parent
4e89656538
commit
ae6ffa6d5e
1 changed files with 4 additions and 4 deletions
|
@ -117,7 +117,7 @@ let nextId = 0
|
||||||
ipcMain.on('CHROME_RUNTIME_CONNECT', function (event, extensionId, connectInfo) {
|
ipcMain.on('CHROME_RUNTIME_CONNECT', function (event, extensionId, connectInfo) {
|
||||||
const page = backgroundPages[extensionId]
|
const page = backgroundPages[extensionId]
|
||||||
if (!page) {
|
if (!page) {
|
||||||
console.error(`Connect to unkown extension ${extensionId}`)
|
console.error(`Connect to unknown extension ${extensionId}`)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -138,7 +138,7 @@ ipcMain.on('CHROME_I18N_MANIFEST', function (event, extensionId) {
|
||||||
ipcMain.on('CHROME_RUNTIME_SENDMESSAGE', function (event, extensionId, message) {
|
ipcMain.on('CHROME_RUNTIME_SENDMESSAGE', function (event, extensionId, message) {
|
||||||
const page = backgroundPages[extensionId]
|
const page = backgroundPages[extensionId]
|
||||||
if (!page) {
|
if (!page) {
|
||||||
console.error(`Connect to unkown extension ${extensionId}`)
|
console.error(`Connect to unknown extension ${extensionId}`)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -148,7 +148,7 @@ ipcMain.on('CHROME_RUNTIME_SENDMESSAGE', function (event, extensionId, message)
|
||||||
ipcMain.on('CHROME_TABS_SEND_MESSAGE', function (event, tabId, extensionId, isBackgroundPage, message) {
|
ipcMain.on('CHROME_TABS_SEND_MESSAGE', function (event, tabId, extensionId, isBackgroundPage, message) {
|
||||||
const contents = webContents.fromId(tabId)
|
const contents = webContents.fromId(tabId)
|
||||||
if (!contents) {
|
if (!contents) {
|
||||||
console.error(`Sending message to unkown tab ${tabId}`)
|
console.error(`Sending message to unknown tab ${tabId}`)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -160,7 +160,7 @@ ipcMain.on('CHROME_TABS_SEND_MESSAGE', function (event, tabId, extensionId, isBa
|
||||||
ipcMain.on('CHROME_TABS_EXECUTESCRIPT', function (event, requestId, tabId, extensionId, details) {
|
ipcMain.on('CHROME_TABS_EXECUTESCRIPT', function (event, requestId, tabId, extensionId, details) {
|
||||||
const contents = webContents.fromId(tabId)
|
const contents = webContents.fromId(tabId)
|
||||||
if (!contents) {
|
if (!contents) {
|
||||||
console.error(`Sending message to unkown tab ${tabId}`)
|
console.error(`Sending message to unknown tab ${tabId}`)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue