firefox-gmail-manager-ng icon indicating copy to clipboard operation
firefox-gmail-manager-ng copied to clipboard

AOM Review: Correctly find install directory

Open nedwidek opened this issue 13 years ago • 0 comments

  1. 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.

nedwidek avatar Feb 08 '12 16:02 nedwidek