Closed Bug 311775 Opened 19 years ago Closed 19 years ago

objects created with GeckoActiveXObject are broken

Categories

(Core :: XPConnect, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: dbradley, Assigned: dbradley)

References

Details

(Keywords: fixed1.8, regression)

Attachments

(1 file)

The patch in bug 273953 apparently broken the IDispatch support. It's testing
for a JSObject on the tearoff that is found and bailing if one doesn't exist. I
don't believe this test is necessary. I suspect the original code was calling
FindTearOff with a value of true for needsJSobject and everything was ok. I
didn't provide that for LocateTearOff because I didn't think that was necessary.
Unfortunately I forgot the remove the subsequent test in the caller.

Many thanks to Garret Davis for tracking this down.
Looking for reviews
Attachment #198991 - Flags: superreview?(brendan)
Attachment #198991 - Flags: review?(jst)
Blocks: 310097
(In reply to comment #1)
> Created an attachment (id=198991) [edit]
> Removes the unecessary JSObject test
> 
> Looking for reviews

I have built and tested this patch in the latest trunk and have verified that
objects created with GeckoActiveXObject are no longer broken.
Need to fix this for 1.8 / Firefox 1.5, for embedding opportunities/partners who
need to whitelist ActiveX plugins and ship the glue.

/be
Flags: blocking1.8rc1+
Keywords: regression
Comment on attachment 198991 [details] [diff] [review]
Removes the unecessary JSObject test

sr=me, in advance of jst's, to get this moving toward branch approval.

/be
Attachment #198991 - Flags: superreview?(brendan) → superreview+
Whiteboard: [needs review jst]
jst, can you review this soon for us? Thanks!
Comment on attachment 198991 [details] [diff] [review]
Removes the unecessary JSObject test

r=jst
Attachment #198991 - Flags: review?(jst) → review+
Comment on attachment 198991 [details] [diff] [review]
Removes the unecessary JSObject test

dbradley, can you land this on the trunk ASAP?	Thanks,

/be
Attachment #198991 - Flags: approval1.8rc1?
I'll have some time this evening.
Status: NEW → ASSIGNED
Patch checked in
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Ok, this may not get trunk testing just by being checked in.  Can people who do
test it verify the bug, and we can get the patch plus'ed for 1.8 branch checkin?
 Thanks,

/be
David and Garrett, can you guys verify this? We're coming into the final days of
the release and need to have all changes in ASAP. Thanks.
My Cygwin install is botched, tried to get it working last night without luck.
I'm going to try again and get a good build this evening. If someone else can
verify this, that would be great, otherwise I'll try again tonight.
(In reply to comment #11)
> David and Garrett, can you guys verify this? We're coming into the final days of
> the release and need to have all changes in ASAP. Thanks.

I have verified this on MOZILLA_1_8_BRANCH. I can now call properties and
methods on GeckoActiveXObject's using firefox.exe on the 1.8 branch.
I'm pretty sure this was *not* checked in on the 1.8 branch...
(In reply to comment #14)
> I'm pretty sure this was *not* checked in on the 1.8 branch...

You're correct, it wasn't checked in.  I verified the patch by applying the
patch to 1.8, building, and testing.  I'm sorry I wasn't specific.
ah, ok ;-)
Attachment #198991 - Flags: approval1.8rc1? → approval1.8rc1+
I landed this on the 1.8 branch tonight for David.
Keywords: fixed1.8
Whiteboard: [needs review jst]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: