nsWindowsShellService::OpenApplication should fall back to HKEY_LOCALE_MACHINE should HKEY_CURRENT_USER fail

UNCONFIRMED
Unassigned

Status

()

defect
UNCONFIRMED
12 years ago
5 months ago

People

(Reporter: testo.moz, Unassigned)

Tracking

(Depends on 1 bug)

2.0 Branch
x86
Windows XP
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Reporter

Description

12 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11

I was looking at http://lxr.mozilla.org/mozilla1.8.0/source/browser/components/shell/src/nsWindowsShellService.cpp#821 and saw that nsWindowsShellService::OpenApplication uses HKEY_CURRENT_USER to find the location of some programs.  I was thinking that if such programs can't be found in HKEY_CURRENT_USER it should check HKEY_LOCALE_MACHINE.  It would make this function a lot more useful.  

Reproducible: Always

Updated

8 years ago
Depends on: 324361
Version: unspecified → 2.0 Branch
You need to log in before you can comment on or make changes to this bug.