Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 324236 - [Browser-Mozilla] Links and JS actions opening a new window do not work
Summary: [Browser-Mozilla] Links and JS actions opening a new window do not work
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.7   Edit
Hardware: PC Mac OS X
: P3 major with 3 votes (vote)
Target Milestone: 3.6.2   Edit
Assignee: Grant Gayed CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-01 15:07 EDT by Christopher Deckers CLA
Modified: 2010-10-25 09:58 EDT (History)
2 users (show)

See Also:
Silenio_Quarti: review+


Attachments
An example showing a page with a link causing the problem (2.78 KB, application/octet-stream)
2010-09-01 15:09 EDT, Christopher Deckers CLA
no flags Details
Different types of window opening (2.95 KB, application/octet-stream)
2010-10-20 15:13 EDT, Christopher Deckers CLA
no flags Details
patch (708 bytes, patch)
2010-10-21 15:18 EDT, Grant Gayed CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Deckers CLA 2010-09-01 15:07:56 EDT
Build Identifier: SWT 3.7M1

When a page contains a link that uses a target="_blank" to open a new window, that link does not work.
This seems to only happen with XULRunner on Mac (32 bit mode, XULRunner 1.9.2.8)

Reproducible: Always

Steps to Reproduce:
1. Take Snippet 270
2. Change browser styles to MOZILLA
3. Browser.setText(x) where x contains links with target="_blank"
Comment 1 Christopher Deckers CLA 2010-09-01 15:09:42 EDT
Created attachment 177997 [details]
An example showing a page with a link causing the problem
Comment 2 Patrick Talbot CLA 2010-09-02 00:00:48 EDT
Yes, same for me here with:
- Mac OS X 10.6.4 
- Java 1.6.0_20 
- XULRunner 1.9.1.7
Comment 3 Christopher Deckers CLA 2010-10-20 15:13:28 EDT
Created attachment 181332 [details]
Different types of window opening

It is more important than I originally thought: even JS window opening do not work.
The attachment shows 3 links and none work with Mozilla on the Mac.

Any ideas for a fix?
Comment 4 Grant Gayed CLA 2010-10-21 15:18:26 EDT
Created attachment 181436 [details]
patch
Comment 5 Grant Gayed CLA 2010-10-21 15:20:32 EDT
This problem was introduced as a side effect of the fix for bug 293276.  SSQ can you review for 3.6.2?
Comment 6 Grant Gayed CLA 2010-10-21 15:23:09 EDT
fixed in the 3.7 and 3.6.2 streams > 20101021