On Fri, Oct 30, 2009 at 10:17 AM, Finnur Thorarinsson
<[email protected]> wrote:
> That error is displayed when the extension doesn't have a name, not when the
> browser_action is missing a name. There are actually no required values for
> browser actions (although you must supply an empty browser action section if
> you want a browser action, but that's another story).
> So, this key at the top of your manifest (inside the curly bracket)...
> "name": "My extension name",
> ... should take care of the error.
> As for the second error, it would really help if you list the exact error
> instead of paraphrasing it. The only error I find about invalid type is in
> the error strings for page actions, not browser actions.
Everything Finnur said is correct, except that currently in the dev
channel there is a bug where either the browser_action's name or
default_title property must be provided (they should both be
optional). You can make this error go away with:
"browser_action": {
"default_title": ""
}
In the next version of the dev channel this will no longer be necessary.
- a
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Chromium-extensions" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/chromium-extensions?hl=en
-~----------~----~----~----~------~----~------~--~---