Closed
Bug 658017
Opened 13 years ago
Closed 13 years ago
Flag the chrome namespace 'godlikea'
Categories
(addons.mozilla.org Graveyard :: Admin/Editor Tools, defect, P3)
addons.mozilla.org Graveyard
Admin/Editor Tools
Tracking
(Not tracked)
VERIFIED
FIXED
6.0.12
People
(Reporter: kmag, Assigned: basta)
Details
(Whiteboard: [required amo-editors][patch][needs review])
Attachments
(1 file)
60.63 KB,
image/png
|
Details |
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0a1) Gecko/20110419 Firefox/6.0a1 Build Identifier: I thought I'd reported this ages ago, but apparently not. There's a web tutorial for a simple add-on which encourages users to copy its template and make certain modifications. Among those modifications is not, however, the chrome namespace. As a result, we've received several dozen submissions that all use the nonsensical chrome namespace 'godlikea'. It would be a good idea to flag any specifications of that namespace in chrome.manifest. I think this should probably be a hard error. It might be a good idea to have a banned namespaces list, and include this along with 'modules' as introduced in a previous bug. Reproducible: Always
Updated•13 years ago
|
Assignee: nobody → mbasta
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3
Whiteboard: [required amo-editors]
Target Milestone: --- → 6.0.12
Comment 1•13 years ago
|
||
What is the error message?
Reporter | ||
Comment 2•13 years ago
|
||
Shouldn't matter much, so long as it says that the namespace is banned. Whatever the current error message for the 'modules' namespace is should do. I guess I'd go with something like “The namespace '%s' is banned. Please choose a namespace unique to your add-on.”
Comment 3•13 years ago
|
||
I think it should be something like: "The 'godlikea' chrome namespace is generated from a template and should be replaced with something unique to your add-on to avoid name conflicts."
Assignee | ||
Comment 4•13 years ago
|
||
Fixed: https://github.com/mozilla/amo-validator/pull/45
Updated•13 years ago
|
Whiteboard: [required amo-editors] → [required amo-editors][patch][needs review]
Assignee | ||
Comment 5•13 years ago
|
||
Merged: https://github.com/mozilla/amo-validator/commit/04e51eec87b4fd491b618ac124dfe23583732c88
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Comment 6•13 years ago
|
||
Filed bug 661279 chrome namespace 'godlikea' will cause the validation to fail.
Status: RESOLVED → VERIFIED
Comment 7•13 years ago
|
||
verified at https://addons-next.allizom.org/en-US/developers/upload/a8d45cb188b3487c9ce8e5b617da3819
Updated•8 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•