New issue
Advanced search Search tips

Issue 21281 link

Starred by 7 users

Issue metadata

Status: Fixed
Owner: ----
Closed: Oct 2009
EstimatedDays: ----
NextAction: ----
OS: All
Pri: ----
Type: Bug

  • Only users with Commit permission may comment.

Sign in to add a comment

When you reload a development extension, you get a new ID

Project Member Reported by, Sep 8 2009

Issue description

What steps will reproduce the problem?
1. Load an extension via --load-extension or the "load extension" button in 
2. Press reload in chrome://extensions/ for that extension.
3. Notice that the extension gets a new ID (...aa, ...ab, .etc).

What is the expected output? What do you see instead?

This messes up extensions that use persistent storage since they end up in 
a new origin each time they are reloaded.

--load-extensions should somehow get a consistent origin. Maybe we should 
hash the name or something? Or give them an origin like local-

Status: Available
I like the idea of hashing the path name. That way it will stay consistent across 
browser restarts, and work for disable/reenable too.

Comment 2 by, Oct 3 2009

 Issue 23736  has been merged into this issue.

Comment 3 by, Oct 3 2009

Status: Started
The following revision refers to this bug: 

r28095 | | 2009-10-05 23:17:54 -0700 (Mon, 05 Oct 2009) | 9 lines
Changed paths:

Generate IDs for --load-extension by hashing the path instead
of incrementing a static counter.

BUG= 21281 
TEST=Load an unpacked extension from chrome://extensions/ that
does not have an ID in its manifest. The resulting ID should
be random-looking, not something like "aaaaaa".

Review URL:

Comment 5 by, Oct 6 2009

Status: Fixed
Labels: Feature-Extensions
Project Member

Comment 7 by, Oct 12 2012

Labels: Restrict-AddIssueComment-Commit
This issue has been closed for some time. No one will pay attention to new comments.
If you are seeing this bug or have new data, please click New Issue to start a new bug.
Project Member

Comment 8 by, Mar 11 2013

Labels: -Feature-Extensions Cr-Platform-Extensions

Sign in to add a comment