Closed Bug 419603 Opened 16 years ago Closed 13 years ago

[ActiveX] Implement window.external

Categories

(Core Graveyard :: Embedding: ActiveX Wrapper, enhancement)

x86
Windows Vista
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: norman, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; en-ZA; rv:1.8.1.12; .NET CLR 2.0.50727) Gecko/20080201 Firefox/2.0.0.12
Build Identifier: 

IDocHostUIHandler.GetExternal returns an IDispatch object which should be available to the js environment as window.external.

Reproducible: Always




Related to bug 340277.  I think keeping patches that implement unrelated functionality in separate bugs is better than trying to shove them all in one bug.
The xpconnect REQUIRES in the Makefile comes from when I was trying to use xpconnect to wrap the IDispatch, but it never worked successfully.  (It wouldn't get/set/call properties).  Idealy xpconnect should be fixed up to do what is required, and then the local wrappers can be dropped.

Current status:
Get property: works,
Set property: not yet done,
Call method: works for methods that take no parameters.

Parking the patch here so that it doesn't get lost in my dev tree.
The ActiveX embedding API was removed in bug 662023 and friends, making this INVALID.

[Filter bugspam on activexinvalid]
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → INVALID
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: