Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chromium 29 reports errors trying to reference chrome.extension #26

Closed
wants to merge 1 commit into from

Conversation

rm-hull
Copy link

@rm-hull rm-hull commented Sep 20, 2013

On Chromium 29 / Ubuntu I see the following

chrome.extension is not available: 'extension' is not allowed for specified context type content script,  extension page, web page, etc.). [VM] binding (409):427
Binding.generate [VM] binding (409):427
(anonymous function) extension:114
(anonymous function) chrome-extension://bcjindcccaagfpapjjmafapmmgkkhgoa/js/content.js:54
(anonymous function) chrome-extension://bcjindcccaagfpapjjmafapmmgkkhgoa/js/content.js:387
Uncaught TypeError: Cannot call method 'connect' of undefined chrome-extension://bcjindcccaagfpapjjmafapmmgkkhgoa/js/content.js:54
(anonymous function) chrome-extension://bcjindcccaagfpapjjmafapmmgkkhgoa/js/content.js:54
(anonymous function) chrome-extension://bcjindcccaagfpapjjmafapmmgkkhgoa/js/content.js:387

This used to work on earlier versions of chromium, but maybe the method was deprecated, and they finally removed it. See here for context: https://code.google.com/p/chromium/issues/detail?id=289776#c1

Sorry: there are only two code lines that changed, but for some reason there's some whitespace changes too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant