Error in response to tabs.query: TypeError: Cannot read property 'url' of undefined
Opened this issue · 0 comments
I will clone kango samples and build ContextMenuItem sample project. Add that output chrome folder in chrome extension now i have one error in background.html console. And background.html scources not in content.js file.
Error in response to tabs.query: TypeError: Cannot read property 'url' of undefined
at BrowserTab.getUrl (chrome-extension://ndadcfapjelifpiknbkheiopbccmkapm/kango/browser.js:11:3804)
at BrowserTab.dispatchMessage (chrome-extension://ndadcfapjelifpiknbkheiopbccmkapm/kango/browser.js:11:4154)
at chrome-extension://ndadcfapjelifpiknbkheiopbccmkapm/main.js:4:13
at Object.callback (chrome-extension://ndadcfapjelifpiknbkheiopbccmkapm/kango/browser.js:11:1016)
at BrowserTabs.getCurrent (chrome-extension://ndadcfapjelifpiknbkheiopbccmkapm/kango/browser.js:11:969)
at Array. (chrome-extension://ndadcfapjelifpiknbkheiopbccmkapm/main.js:3:24)
at ContextMenuItem.dispatchEvent (chrome-extension://ndadcfapjelifpiknbkheiopbccmkapm/kango/utils.js:3:1238)
at ContextMenuItem.fireEvent (chrome-extension://ndadcfapjelifpiknbkheiopbccmkapm/kango/utils.js:3:1462)
at ContextMenuItem. (chrome-extension://ndadcfapjelifpiknbkheiopbccmkapm/kango-ui/context_menu.js:11:468)
at chrome-extension://ndadcfapjelifpiknbkheiopbccmkapm/kango/utils.js:3:4591