Closed cTn-dev closed 6 years ago
I can't reproduce this on Linux/Windows with nwjs-sdk-v0.30.0-beta1. My steps:
@Christywl Console by default is always in regular context, '--enable-node-worker' doesn't change that, you have to start a worker and execute the code in its context, either by providing the code directly in the worker file or by switching to a worker context inside the console.
Here is an example file that also includes the worker.
Thanks for your example, I can reproduce this issue now with nwjs-sdk-v0.30.0-beta1.
This is fixed in git and will be available in the next nightly build.
Thanks @rogerwang , i can confirm its fixed now.
NWJS Version : 0.30.0-beta1 SDK Operating System : Windows 10 x64
This is a regression (worked fine in 0.29+)
Expected behavior
Event should fire (it does fire correctly in regular context)
Actual behavior
Event never fires.
How to reproduce