Open
Description
NWJS Version : 0.59.0
Operating System : Windows 10
Expected behavior
As per the NW.js documentation, the callback from win.showDevTools()
should be returning a handle to the DevTools window.
Actual behavior
The callback from win.showDevTools()
contains no arguments.
How to reproduce
-
Open the NW.js SDK build and manually open the DevTools window.
-
Enter the following into the DevTools console:
nw.Window.get().showDevTools(null, (devToolsWindow) => console.log(devToolsWindow));
- Note that
devToolsWindow
isundefined
.