Call the "focusLoop" function in three ways:

From console.
Result: No focus swtich.
From location toolbar.
Result: No focus switch.
From this
Result: Focus swtich seen.

Focus testing area:

link