Calling method updateBrowserWindowSize with recommended signature.