On Wed, Dec 10, 2008 at 12:09 PM, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
>
> Ojan brought this up before, but I think it's a good idea, so I'll
> evangelize it some more.  Instead of requiring the extension developer
> to come up with an extension ID (com.google.myextension), use
> templating to automatically substitute a guaranteed unique ID where
> needed.  The template substitution would be done in the browser
> process before we handed the script off to a renderer. Examples:
> -  img.src = "${EXTENSION_URL}/foo.gif";
> -  var extension = new chromium.Extension("${EXTENSION_ID}");

It is a good idea. Part of the reason I brought back the short ID was
we found two places it was useful (here, and as a name for
directories) and I was worried we were going to keep coming up with
examples like that. Also, it seems like using a public key as an ID is
overkill in case we ever have SSL-served extensions.

On the other hand, there is a lot of charm to only having the public
key as an identifier in the case of packaged extensions. And I'm not
that concerned about the escaping issues.

Let me think on it some more. Erikkay -- any thoughts on this?

- a

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Chromium-dev" 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-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to