← Back to team overview

linux-traipu team mailing list archive

[Bug 1232575] Re: chrome.extension not available when called from extension scripts in Chromium but works on Chrome

 

On more recent inspection, this bug seems to be all but fixed in the
latest dev-channel build of Saikrishna Arcot's PPA! All previously
broken extensions now work!

-- 
You received this bug notification because you are a member of UBUNTU -
AL - BR, which is subscribed to Chromium Browser.
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:
  Unknown
Status in “chromium-browser” package in Ubuntu:
  In Progress

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/chromium-browser/+bug/1232575/+subscriptions