Unknown pathway for getWinProfile.getstring should return null

RESOLVED WONTFIX

Status

P3
normal
RESOLVED WONTFIX
18 years ago
3 years ago

People

(Reporter: depman1, Assigned: dveditz)

Tracking

Trunk
x86
Windows NT

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

18 years ago
build 2000-09-25-12-M18. Win only.
1. Go to http://jimbob/trigger3.html
2. Make sure there is no "xpinstall_test.ini" file in the "Windows" folder 
(or "WinNT" for NT).
3. Select "a_winprofile_getstring" from the Acceptance test case menu. Script 
attempts to get a non-existent file.
4. Press Trigger. OK.
5. Check the log file.
Results: Nothing is returned. We don't know if the API returns anything.
Expected: Return 'null'. That will let us know the API returns something, but 
didn't find the file.
Note: same case for getstring parameters that are invalid, like excessively long 
string names. but that's another bug.

Here's the log file:

-------------------------------------------------------------------------------
http://jimbob/jars/a_winprofile_getstring.xpi  --  09/25/2000 18:26:49
-------------------------------------------------------------------------------

     Acceptance: a_winprofile_getstring
     ----------------------------------

     ** getString should retrieve 'newpathname': 

     Install completed successfully
     Finished Installation  09/25/2000 18:26:49


Here's the script:

initInstall("Acceptance: a_winprofile_getstring", "a_winprofile_getstring", 
"1.2.3.4", 0); 
f = getFolder("Windows");
ini = getWinProfile(f, "xpinstall_test.ini");
sname = ini.getString("Desktop", "Wallpaper");
logComment("getString should retrieve 'newpathname': " + sname);

if (0 == getLastError())
	performInstall();
else
	cancelInstall();
Status: NEW → ASSIGNED
(Reporter)

Comment 1

14 years ago
Test case can be triggered from
http://www.mozilla.org/quality/smartupdate/xpinstall-trigger.html
Select a_winprofile_getstring from the Acceptance Test Case menu.
Summary: Unknown pathway for getWinProfile.getstring should return null → Unknown pathway for getWinProfile.getstring should return null
The xpinstall script engine has been removed from the trunk, bugs in it are obsolete.
Status: ASSIGNED → RESOLVED
Last Resolved: 11 years ago
Resolution: --- → WONTFIX
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.