You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The goal of this work is to disable Node integration and enable context isolation in the app renderer window, as well as improve the readability for maintenance purposes.
There are various items to addresss:
Electron renderer IPC usage is scattered all over the place and would be better to consolidate into the preload, as recommended.
Our usage of @electron/remote is discouraged by the project and should be removed so that features relying on this are using the recommended IPC mechanisms.
Our usage of Node APIs is scattered and if possible, we should consolidate it in either the preload (which has access to some Node APIs) or at least in a dedicated file/directory to make it easier to migrate if necessary.
The text was updated successfully, but these errors were encountered:
achou11
changed the title
Move map server, mapeo core to utilityprocess
Evaluate current usage of Electron IPC and Node in renderer and update to follow better practices
Jun 28, 2023
Description
The goal of this work is to disable Node integration and enable context isolation in the app renderer window, as well as improve the readability for maintenance purposes.
There are various items to addresss:
Electron renderer IPC usage is scattered all over the place and would be better to consolidate into the preload, as recommended.
Our usage of
@electron/remote
is discouraged by the project and should be removed so that features relying on this are using the recommended IPC mechanisms.Our usage of Node APIs is scattered and if possible, we should consolidate it in either the preload (which has access to some Node APIs) or at least in a dedicated file/directory to make it easier to migrate if necessary.
The text was updated successfully, but these errors were encountered: