Closed Bug 282274 Opened 20 years ago Closed 20 years ago

Can't open a window using Javascript from a page loaded into the Mozilla ActiveX Control

Categories

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

x86
Windows 2000
defect
Not set
major

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 239235

People

(Reporter: ygoraly, Assigned: adamlock)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040616
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040616

Loaded into IE a pege with the Mozilla ActiveX Control embeded
Loaded into the ActiveX control an HTML page with a button and a script that
opens a new window.
this is what I get when I click the button:

[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE)
[nsIDOMJSWindow.open]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS
frame :: http://yonatan2:8001/planner/test/misc/activex.html :: doSomething ::
line 10"  data: no]

Reproducible: Always

Steps to Reproduce:

Actual Results:  
JavaScript exception

Expected Results:  
At least, it should be possible to open a Mozilla browser window with no browser
UI (chrome)
Severity: normal → major
ActiveX control issue.
Assignee: general → adamlock
Component: General → Embedding: ActiveX Wrapper
Product: Mozilla Application Suite → Core
QA Contact: general → dunn5557
Version: unspecified → Trunk
The ActiveX control doesn't implement popup windows. If you are building your
own browser you can create a workaround using the OnNewWindow2 event. Bug 239235
covers implementing popup windows in the control.

*** This bug has been marked as a duplicate of 239235 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.