Closed Bug 840555 Opened 7 years ago Closed 7 years ago
Proc D does not mean Current working directory (usually the application's installation directory) anymore .
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|
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?
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.