File.isDirectory identifies a file as a directory on Mac.

VERIFIED FIXED in M16

Status

Core Graveyard
Installer: XPInstall Engine
P3
normal
VERIFIED FIXED
19 years ago
3 years ago

People

(Reporter: David Epstein, Assigned: dbragg)

Tracking

({pp})

Trunk
PowerPC
Mac System 9.x

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

19 years ago
build 2000-03-07. mac only. another pathway issue.
1. Go to http://jimbob/trigger2.html
2. Select a_fileop_fileisdirectory from the menu (uses fTemp = f + jarSrc)
OR enter a_fileop_fileisdirectory2.xpi in URL field (uses fTemp = f + "/" + file)
3. Trigger.
4. Check logfile.
Result: (after installing a file)
 The jar Source file is not appended to the directory pathway.
 Boolean value returned = 1 (true). It identifies the file as a directory.
Expected:
 The jar Source file is appended to the directory pathway.
 Boolean value returned = 0 (false). 

Here's the log file:

-------------------------------------------------------------------------------
http://jimbob/jars/a_fileop_fileisdirectory.xpi  --  03/07/2000 15:51:59
-------------------------------------------------------------------------------

     Acceptance: a_fileop_fileisdirectory
     ------------------------------------

     [1/1]	Installing: Macintosh HD:Desktop Folder:mozilla-mac-
M15:fileisdirectory.txt

     Install completed successfully
     The fileIsDirectory part
     ------------------------

     ** Path to directory = Macintosh HD:Desktop Folder:mozilla-mac-M15:
     ** fileIsDirectory should return 0 (false) = true
     ** Path to directory = Macintosh HD:Temporary Items:
     ** fileIsDirectory should return 1 (true) = true

     Install completed successfully
     Finished Installation  03/07/2000 15:52:00
(Reporter)

Comment 1

19 years ago
changed QA contact. added pp for keywords.
Keywords: pp
QA Contact: jimmylee → depstein

Updated

19 years ago
Target Milestone: M15

Updated

19 years ago
Assignee: cathleen → dbragg
Depends on: 24984

Comment 2

19 years ago
reassign to dbragg
bug meeting 3/20

Comment 3

19 years ago
moving to M16
Target Milestone: M15 → M16

Comment 4

18 years ago
This is fixed.  Marking as such.
Status: NEW → RESOLVED
Last Resolved: 18 years ago
Resolution: --- → FIXED
(Reporter)

Comment 5

18 years ago
fixed. correctly returns 'false' for installed file.
Status: RESOLVED → VERIFIED

Updated

14 years ago
OS: Mac System 9.x
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.