Defect #1238
Broken when running through Electron
Status:
Resolved
Priority:
Normal
Assignee:
-
Start date:
06/19/2017
Due date:
% Done:
0%
Estimated time:
Browser (if web client):
Electron
Description
Electron ( https://electron.atom.io ) doesn't support window.opener because of its threading model. So Servoy wrapped apps break.
In https://www.servoyforge.net/projects/multi-file-upload/repository/entry/trunk/MultiFileUploader/src/net/stuff/servoy/plugins/multifileuploader/utils/uploader.html
consider something like:
if(window.opener) window.opener.location.reload();
or possibly a try/catch around it.
History
Updated by Patrick Talbot almost 8 years ago
Don't know much about Electron, but I can certainly safe-guard window.opener, although in this case the Servoy client will not be reloaded and will not be aware of the changes (at least until a data broadcast happens).