That is, all patches applied, except for any webapps patches, get no
crash.  With this stripped-down "4" patch, crash

[2121:2121:1011/172215:INFO:CONSOLE(279)] "Content script: Base content
script, started on url: http://boards.4chan.org/s/";, source: chrome-
extension://pmoflmbbcfgacopiikdcpmbiellfihdg/base-content-script.js
(279)

[2121:2121:1011/172215:INFO:CONSOLE(0)] "chrome.extension is not available: 
'extension' is not allowed for specified context type content script,  
extension page, web page, etc.).", source: http://boards.4chan.org/s/ (0)
[9:9:1011/172215:WARNING:console.cc(163)] Could not log "(CONTENT_SCRIPT 
context for cellaaeoekimmemgdheibaibbaoeefbl) lastError:48: Uncaught TypeError: 
Cannot convert undefined or null to object{TypeError: Cannot convert undefined 
or null to object
    at Object.clear (lastError:48:24)
    at sendRequest:80:64
    at Array.forEach (native)
    at Function.target.(anonymous function) (extensions::SafeBuiltins:19:14)
    at handleResponse (sendRequest:80:12)}": no context given

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to chromium-browser in Ubuntu.
https://bugs.launchpad.net/bugs/1232575

Title:
  chrome.extension not available when called from extension scripts in
  Chromium but works on Chrome

Status in “chromium-browser” package in Ubuntu:
  Confirmed

Bug description:
  When I updated to 13.10 and Chromium 29.0.1547.65-0ubuntu2, a few
  extensions stopped working properly. The easiest to reproduce is
  Reddit Enhancement Suite 4.3.0.1, it immediately fails on loading the
  extension with this error:

  chrome.extension is not available: 'extension' is not allowed for
  specified context type content script,  extension page, web page,
  etc.). [VM] binding (22):427

  Following from anywhere that called chrome.extension.sendMessage or
  chrome.extension.onMessage in the extension. Chromium's own bug
  tracker says this usage is deprecated (replaced by chrome.runtime
  namespace which does work) but testing against Chrome 29.0.1547.76 on
  the stable channel, the older namespace works correctly with the
  extensions.

  chromium-browser:
    Installed: 29.0.1547.65-0ubuntu2
    Candidate: 29.0.1547.65-0ubuntu2
    Version table:
   *** 29.0.1547.65-0ubuntu2 0
          500 http://mirrors.cat.pdx.edu/ubuntu/ saucy/universe amd64 Packages
          100 /var/lib/dpkg/status

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1232575/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to