Perfect. I found the fix; it was most likely a syntax/parsing error in
extension.json which then probably caused the entire file to not be
read.

Instead of the following lines:
+        "name": "isChromelessWindow",
+        "type": "function",
+        "unprivileged": true,
+        "description": "Checks is a given extension runs part of a chromeless 
window.",

use the following lines:
+        "name": "isChromelessWindow",
+        "nocompile": true,
+        "nodoc": true,
+        "type": "function",
+        "description": "Checks is a given extension runs part of a chromeless 
window.",

We don't have docs in the docs folder, and I'm not sure what nocompile
does.

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

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

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to