Skip to content

Loading…

Extension console "TypeError: Cannot read property 'title' of undefined ... messaging.js:285" #1012

Closed
gorhill opened this Issue · 0 comments

1 participant

@gorhill
Error in response to tabs.query: TypeError: Cannot read property 'title' of undefined
    at chrome-extension://fgjjjafegkdpobkeamjaffenndaofnoo/js/messaging.js:285:59
    at Object.vAPI.tabs.get.onTabReceived [as callback] (chrome-extension://fgjjjafegkdpobkeamjaffenndaofnoo/js/vapi-background.js:126:9)
    at Object.vAPI.tabs.get (chrome-extension://fgjjjafegkdpobkeamjaffenndaofnoo/js/vapi-background.js:128:17)
    at onMessage (chrome-extension://fgjjjafegkdpobkeamjaffenndaofnoo/js/messaging.js:284:23)
    at vAPI.messaging.onPortMessage (chrome-extension://fgjjjafegkdpobkeamjaffenndaofnoo/js/vapi-background.js:320:13)

These were changes brought for FF on Android.

The callback passed to vAPI.tabs.get can be called with an undefined/null value for the tab. The code needs to be ready to deal with this.

@gorhill gorhill added a commit that closed this issue
@gorhill gorhill this fixes #1012 4e28171
@gorhill gorhill closed this in 4e28171
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.