External links in opened windows don't open in the default browser

UNCONFIRMED
Unassigned

Status

Mozilla Labs
Prism
UNCONFIRMED
8 years ago
8 years ago

People

(Reporter: TCP, Unassigned)

Tracking

Details

(Reporter)

Description

8 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1.4) Gecko/20091016 Firefox/3.5.4 (.NET CLR 3.5.30729)
Build Identifier: 

When I open an external link in an opened window, prism opens the
url in a new window instead of using the default browser. When I open
the same link in the main application-window everything works the way
it should.

I did some debug and found out that when the link is clicked in the
opened window the function "createChromeWindow2" (webrunner.js) gets
an empty "uri"-parameter and because of that it can't check whether
the link is external and should be opened in the default browser.

I've also discovered that when an external link is clicked in the main application-window "createChromeWindow2" doesn't get called at all.


Reproducible: Always

Steps to Reproduce:
1.Start your prism-application
2.Click on an internal link which will opened in a new prism-window
3.Click on an external link in the new opened window
Actual Results:  
Prism opens the url in a new prism-window

Expected Results:  
The url should be opened by the default browser
You need to log in before you can comment on or make changes to this bug.