Closed
Bug 840555
Opened 11 years ago
Closed 11 years ago
CurProcD does not mean Current working directory (usually the application's installation directory) anymore.
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: alice0775, Unassigned)
References
Details
(Keywords: regression)
After landing Bug 755724, CurProcD CurProcD does not mean Current working directory (usually the application's installation directory) anymore.( https://developer.mozilla.org/en-US/docs/Code_snippets/File_I_O#Getting_files_in_special_directories ) Steps to reproduce: 1. Evaluate the following code in Error console var file = Components.classes["@mozilla.org/file/directory_service;1"]. getService(Components.interfaces.nsIProperties). get("CurProcD", Components.interfaces.nsIFile); alert(file.path); Actual Result: |the application's installation directory|\browser Expected Result: |the application's installation directory|
Comment 1•11 years ago
|
||
Actually, the browser/ subdirectory *is* the application directory when firefox runs, as the webapprt/ subdirectory is the application directory when running web apps, and as the metro/ subdirectory will be the application directory when running metro firefox. The "application's installation directory" is an ambiguous wording, though. I'm not sure what to do with this bug. Resolve INVALID and mark dev-doc-needed?
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
Updated•6 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•