Closed Bug 193761 Opened 22 years ago Closed 22 years ago

Support GetObject JScript command

Categories

(Core :: XPConnect, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED WONTFIX
Future

People

(Reporter: adamlock, Assigned: dbradley)

References

Details

Microsoft's javascript engine has a function called GetObject which is similar to the ActiveXObject functionality already implemented in COM connect. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/jscript7/html/jsfctGetObject.asp We should have no need to implement the functionality for when a file pathname is specified, but if the pathname is not specified or the pathname is an empty string, this function should return a object of the correct type, as per the documentation. I don't know how much this function is used in the wild, so perhaps we could get away without implementing it, or just implement a dummy function that returns null for completeness.
Implmenting the basic version without the file path is trivial. But I think we really need to see how this is used. The examples show native paths being used, which makes me thing the use on web pages of the file part of it would be non-existent. I think we should wait for more information
Status: NEW → ASSIGNED
Target Milestone: --- → Future
How do we want to gather that information? Should we ask Bob Clary to run his scripts and look for this type of usage?
Yes, I think that's going to be the only way we're going to find out if this is really used. And have him see whether the pathname parameter is used or not.
It the mirrors I took in Oct, I did not find GetObject in use.
Going to mark this WONTFIX, we can reopen if this becomes an issue
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → WONTFIX
Marking Verified -
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.