The sync here means it will sleep for a while for onPageFinished callback called. Both sync and async are posting a task to UI thread except for waiting for onPageFinished callback happens.

So it won't break the assumption.