Runs the main loop until it's terminated. After this function exits - you must destroy the webview.
See Implementation
Runs the main loop until it's terminated. After this function exits - you must destroy the webview.