Closed Bug 51956 Opened 25 years ago Closed 18 years ago

Appending file with lead slash in getFolder hangs confirm dlog

Categories

(Core Graveyard :: Installer: XPInstall Engine, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: depman1, Assigned: dveditz)

Details

all platforms. builds 2000-09-07-08-M18. 1. Go to http://jimbob/trigger3.html 2. In URL field, enter http://jimbob/jars/f_getfolder_slash_err.xpi 3. Trigger and OK. Result: Confirmation dialog hangs up. Progress dlog freezes, but can move dlog. Expected: No hanging. Strip out the lead slash before handling in getFolder. Here's the script: var jarSrc = "smrtupdt.txt"; initInstall("Functional: f_getfolder_slash_err", "functional", "1.1.1.1", 0); f = getFolder("Program"); err = addFile("getFolderTest", jarSrc, f, jarSrc); logComment("addFile returns = " + err); g = getFolder(f, "/smrtupdt.txt"); logComment("g folder object returns = " + f); if (0 == getLastError()) performInstall(); else cancelInstall();
Status: NEW → ASSIGNED
The xpinstall script engine has been removed from the trunk, bugs in it are obsolete.
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → WONTFIX
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.