when is `window.locationbar && !window.locationbar.visible` not a `boolean`?