callback Nw.Win.open return null
See original GitHub issueHi,
When I do nw.Window.open with an external URL like below, the callback parameter is “undefined” but Window opens.
nw.Window.open('https://github.com', {}, function(new_win) {
//new_win => undefined
});
Is that normal ?
I use NWJS v14.2 with Windows 7
Thank you in advance for your help
Issue Analytics
- State:
- Created 7 years ago
- Comments:15 (9 by maintainers)
Top Results From Across the Web
Window - NW.js Documentation
This function returns a Window object via the callback. You can use any properties and methods of Window except the events.
Read more >Window.open() - Web APIs | MDN
open () returns, the window always contains about:blank . The actual fetching of the URL is deferred and starts after the current script...
Read more >JavaScript window.open returns null sometimes - Stack Overflow
When I execute this (in Chrome, at least), it does pop up the window and put the report in it. However, breakpoints in...
Read more >Window - NW.js Documentation - Read the Docs
Close the devtools window. win.getPrinters(callback). Enumerate the printers in the system. The callback function will receive an array of JSON objects for the ......
Read more >Externals - webpack
... to a commonjs module using the request path return callback(null, ... The external is a global variable called `nameOfGlobal`. callback(null, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I see. It’s easy to reproduce with devtools opening. Previously I was testing it with an automated case. Will fix it today. Thanks.
Please try with this build: http://dl.nwjs.io/live-build/05-05-2016/nw14-9726928-f31ba84-756e507-24751d8/v0.14.4/