nedwidek/firefox-gmail-manager-ng — Issue #13: AOM Review: Correctly find install directory
Author: nedwidek
Created: 2012-02-08 16:16:34+00:00
State: open

> 7) Climbing the path tree from "ProfD" via the extensions directory is not a valid way to find your extension installation root. You should either be using a resource or chrome package (whose URL you can QueryInterface to a nsIFileURL if necessary, though it is generally better to use them strictly as URIs) or via your Addon object's getResourceURI method.