This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 256302 - FXBrwsr doesn't open new Window
Summary: FXBrwsr doesn't open new Window
Status: STARTED
Alias: None
Product: platform
Classification: Unclassified
Component: Html4j (show other bugs)
Version: 8.1
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: maxnitribitt
URL:
Keywords:
Depends on: 256323
Blocks:
  Show dependency tree
 
Reported: 2015-11-01 07:21 UTC by maxnitribitt
Modified: 2015-12-17 21:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Sample app demonstrating the problem (147.02 KB, application/zip)
2015-11-01 07:21 UTC, maxnitribitt
Details
patch (2.23 KB, application/octet-stream)
2015-11-01 07:21 UTC, maxnitribitt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description maxnitribitt 2015-11-01 07:21:04 UTC
Created attachment 157090 [details]
Sample app demonstrating the problem

In order to support opening new Windows, a PopupHandler needs to be added that creates a new stage on demand. There already is a handler for alert, confirm, and prompt, but the popuphandler is missing. 

If you run the attached sample it won't open a new Window. 

Expected Behaviour: window.open should open a new Window.

Perceived Behaviour: window.open doesn't open a new Window.

Workaround: none
Comment 1 maxnitribitt 2015-11-01 07:21:59 UTC
Created attachment 157091 [details]
patch

this patch adds a Popuphandler and fixes the problem
Comment 2 Jaroslav Tulach 2015-11-01 17:51:10 UTC
To integrate this we need a test (in TCK) to guarantee the behavior on all supported platforms.
Comment 3 maxnitribitt 2015-11-02 17:01:15 UTC
Cannot write a test, because of 256323.
Comment 4 Jaroslav Tulach 2015-11-26 22:24:00 UTC
Issue 256323 has been resolved (as won'tfix). Any other blocker?
Comment 5 Jaroslav Tulach 2015-12-17 21:56:53 UTC
Hurry up if you want this to be available in version 1.3 - I hope it will be released in January 2015 (plus/minus six months).