Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 324236

Summary: [Browser-Mozilla] Links and JS actions opening a new window do not work
Product: [Eclipse Project] Platform Reporter: Christopher Deckers <chrriis>
Component: SWTAssignee: Grant Gayed <grant_gayed>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3 CC: ptalbot, Silenio_Quarti
Version: 3.7Flags: Silenio_Quarti: review+
Target Milestone: 3.6.2   
Hardware: PC   
OS: Mac OS X   
Whiteboard:
Attachments:
Description Flags
An example showing a page with a link causing the problem
none
Different types of window opening
none
patch none

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