Closed
Bug 237617
Opened 21 years ago
Closed 21 years ago
unable to use getRegistryEntry
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: bugzilla, Assigned: bugzilla)
Details
'm trying to use getRegistryEntry from the winhooks object in Mozilla Firefox
but I cant seem to get it working.
In Mozilla 1.x the following code:
Code:
var x =
Components.classes["@mozilla.org/winhooks;1"].getService(Components.interfaces.nsIWindowsRegistry);
alert(typeof(x.getRegistryEntry));
alerts function
but the same thing in Mozilla Firefox says "undefined" or "TypeError:
Components.classes['@mozilla.org/winhooks;1'] has no properties"
Isn't it possible to use getRegistryEntry in Mozilla Firefox?
Comment 1•21 years ago
|
||
Result of bug 236744?
CC'ing Ben.
Comment 2•21 years ago
|
||
from the contents of the patch, it looks like ben completely killed winhooks iin
Firefox in bug 236744 when he implemented the shell service. It doesn't really
do much in the way of providing what you wanted out of winhooks though, but if
you want to file an RFE to support this type of interface, go ahead and file it
against ben. I doubt you'll see it implemented though.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → INVALID
Reporter | ||
Comment 3•21 years ago
|
||
I've submitted:
http://bugzilla.mozilla.org/show_bug.cgi?id=237754
no new code is needed since all the code is already there. we just need to move
stuff around. I'm not a C coder so I cant really help. But it shouldn't be so
hard making the function getRegistryEntry a part of another object fx the new
shell service.
For my extension Launhcy this is a complete blocker...:(
http://gemal.dk/mozilla/launchy.html
You need to log in
before you can comment on or make changes to this bug.
Description
•