[M85] Suppress a macOS hack present in electron to gain webview focus 40/248240/2
authorSurya Kumar <surya.kumar7@samsung.com>
Tue, 24 Nov 2020 07:21:23 +0000 (12:51 +0530)
committerSurya Kumar <surya.kumar7@samsung.com>
Tue, 24 Nov 2020 07:27:17 +0000 (07:27 +0000)
commit40e496ec570bbf6b9398438261e414cab84e763b
tree216f234653ed0a1dfcfec994ea980b22ec88922e
parentf8fb9e550ae128da607de19036553d78774e0333
[M85] Suppress a macOS hack present in electron to gain webview focus

A hack used by electron meant for macOS & extended for other
platforms contingently is causing behavior difference from XWALK.
Since that's the only consumer of 'load-url', removed all
event listeners.
Focus will anyway be gained by WebContents on their respective
show() calls. Fixes P200228-07034 & P200113-07900.

Reference: https://review.tizen.org/gerrit/226898

Change-Id: Ife2e6fd54c146596becd5cd00fb86797a9dc6cae
Signed-off-by: Surya Kumar <surya.kumar7@samsung.com>
wrt_app/browser/wrt_window.ts