Closed Bug 201084 Opened 22 years ago Closed 22 years ago

[AxPlugin] mozilla crashing in new ActiveXObject()

Categories

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

x86
Windows XP
defect
Not set
critical

Tracking

(Not tracked)

VERIFIED FIXED
mozilla1.4beta

People

(Reporter: ashshbhatt, Assigned: dbradley)

References

Details

Attachments

(2 files)

mozilla crashes in new ActiveXObject() method.
Testcase : <html> <head> </head> <body> <script language="javascript"> mPlayer = new ActiveXObject('WMPlayer.OCX.7'); </script > </body> </html>
Attached file Stack Trace
This is crashing because of the use of new. When I tested the security code, I used ActiveXObject without new, but didn't realize that "new ActiveXObject" would pass in a different object.
Status: NEW → ASSIGNED
This uses the global object for the security check and the scope object. This allows both forms to work properly.
Attachment #119823 - Flags: superreview?(alecf)
Attachment #119823 - Flags: review?(adamlock)
-> 1.4b
Target Milestone: --- → mozilla1.4beta
Comment on attachment 119823 [details] [diff] [review] Use the global object r=adamlock
Attachment #119823 - Flags: review?(adamlock) → review+
Comment on attachment 119823 [details] [diff] [review] Use the global object sr=alecf
Attachment #119823 - Flags: superreview?(alecf) → superreview+
Fix checked in
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Verified on 2003-04-10
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: