const { webFrame } = require('electron')
webFrame.setIsolatedWorldInfo(someInteger, { // someInteger sets JS isolated world, default is 0, some are reserved
securityOrigin: someStringValue,
name: someStringValue
})
The concern is that if we don't set our own securityOrigin... does our app share an environment, including indexedDB, with other apps? In which case... potential data leakage? And also... necessity to namespace db tables.
https://www.electronjs.org/docs/api/web-frame#webframesetisolatedworldinfoworldid-info
The concern is that if we don't set our own securityOrigin... does our app share an environment, including indexedDB, with other apps? In which case... potential data leakage? And also... necessity to namespace db tables.