Closed Bug 335916 Opened 20 years ago Closed 20 years ago

Locale packs <em:type>8</em:type> don't register chrome

Categories

(Toolkit :: Add-ons Manager, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: Pike, Assigned: robert.strong.bugs)

Details

(Keywords: fixed1.8.1)

Attachments

(2 files)

I have a test locale pack that tries to localize the stockwatcher2 example. The chrome isn't registered on trunk. If I comment out the <em:type>8</em:type> line in my install.rdf, the localization works fine, otherwise it doesn't. Test case: http://people.mozilla.com/~axel/stockwatcher2.xpi is the stockwatcher extension, with hacked install.rdf to work on trunk http://people.mozilla.com/~axel/stockwatcher2-de.xpi is the broken locale pack. On the mac, I don't get around to start up the extension manager, it spews out debug js stacks for xpnativewrapper being on wrong threads or something like that. Not sure if that's connected.
OS: MacOS X → All
Hardware: Macintosh → All
Version: 1.0 Branch → Trunk
Bah... when bug 286034 added EM locale types it didn't wire up the rest of the EM code or ui for that matter to support locale types
Assignee: nobody → robert.bugzilla
This just treats locales and plugins the same as extensions as they were before the patch from bug 310843 landed to fix another bug. We might want to consider having separate sections in extensions.ini for locales and plugins but that would be another bug.
Attachment #220332 - Flags: review?(benjamin)
Comment on attachment 220332 [details] [diff] [review] patch (add locales and plugins to ExtensionDirs in extensions.ini and treat the same as extensions) I don't think there's any need for a separate extensions.ini section: themes are mainly separate because they have special security requirements (only register skin packages, don't load components/plugins/etc), while locale packs and plugins are fully-privileged so it doesn't really matter.
Attachment #220332 - Flags: review?(benjamin) → review+
Landed on trunk
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Verbal a+ from bsmedberg... checked in to MOZILLA_1_8_BRANCH
Keywords: fixed1.8.1
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: