TIMOB-15781: Force webview methods to run on the main thread