getComponentFolder() is not working.

RESOLVED WONTFIX

Status

Core Graveyard
Installer: XPInstall Engine
P3
normal
RESOLVED WONTFIX
18 years ago
3 years ago

People

(Reporter: David Epstein, Assigned: dveditz)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

18 years ago
builds 2000-09-25-12-M18.
1. Go to http://jimbob/trigger3.html
2. In the URL field, enter http://jimbob/jars/a_getCompFolder_regNode.xpi. 
passes a reg node into getComponentFolder().
3. Press Trigger. Then OK.
4. Check log file.
Result: returns null.
Expected: should return directory pathway ("Program" location).

Here's the script:

regNode = "getComponentFolderRegNode";
regName =  "myRegKey";
jarSrc = "smrtupdt.txt";
var vi = "1.0.1.15";

initInstall("Acceptance: a_getcomponentfolder", regNode, vi, 0);
f = getFolder("Program");
addFile(regName, vi, jarSrc, f, "a_getcomponentfolder.txt", true);
performOrCancel();

initInstall("the getComponentFolder part", regNode, vi, 0);
compFolder = getComponentFolder(regNode);
logComment("GetComponentFolder should return path to Program directory: " + 
compFolder);
performOrCancel();

function performOrCancel()
{
   if (0 == getLastError())
      performInstall();
   else
      cancelInstall();
}

Comment 1

17 years ago
Nominating.
Assignee: dveditz → syd
Keywords: nsbeta1

Updated

17 years ago
Blocks: 104166

Updated

17 years ago
Keywords: nsbeta1

Updated

17 years ago
Keywords: nsbeta1+
Target Milestone: --- → mozilla0.9.8

Comment 2

17 years ago
over to dprice
Assignee: syd → dprice
Keywords: nsbeta1

Comment 3

17 years ago
We can live with nsbeta1-.

Comment 4

17 years ago
dprice is on sabitcal. moving to next milestone. 
Target Milestone: mozilla0.9.8 → mozilla0.9.9

Updated

17 years ago
Keywords: nsbeta1+ → nsbeta1-
Target Milestone: mozilla0.9.9 → ---

Updated

17 years ago
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.9

Comment 5

17 years ago
Resetting milestone of all nsbeta1-bugs, only nsbeta1+ bugs should have a target
milestone.
Target Milestone: mozilla0.9.9 → ---

Comment 6

17 years ago
Resetting milestone, only nsbeta1+ bugs can have a milestone on them, these are
niminated, but not yet plussed.
(Reporter)

Comment 7

14 years ago
should this bug be reassigned?

Updated

14 years ago
Assignee: dprice → dveditz
Status: ASSIGNED → NEW
(Assignee)

Comment 8

10 years ago
The xpinstall script engine has been removed from the trunk, bugs in it are obsolete.
Status: NEW → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → WONTFIX
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.