Currently same wrtjs is used in m63 and m69 Chromium-efl
but supported methods from each library are different.
The WRTWindow.setup() method is only provided by m69 and
to launch Webapp on latest m63 Chromium-efl, the method
need to be checked whether it is accessible.
Change-Id: I44800e3f7209b86954cf3f65c118458173e34750
Signed-off-by: ws29.jung <ws29.jung@samsung.com>
WRTWindow.prototype._init = function () {
BrowserWindow.prototype._init.call(this)
- this.setup()
+ if (typeof this.setup === 'function')
+ this.setup()
let self = this
this.webContents.on('new-window', (event, url, frameName, disposition, options) => {
event.preventDefault()