When you're on a platform that doesn't implement `window.locationbar`. I
need my blankie to feel safe about this one.


On Tue, Jul 9, 2013 at 9:27 PM, Christopher Van <notifications@github.com>wrote:

> In hearth/media/js/capabilities.js:
>
> > @@ -10,7 +10,7 @@ define('capabilities', [], function() {
> >          'debug_in_page': document.location.href.indexOf('dbginpage') >= 0,
> >          'console': window.console && typeof window.console.log === 'function',
> >          'replaceState': typeof history.replaceState === 'function',
> > -        'chromeless': window.locationbar && !window.locationbar.visible,
> > +        'chromeless': !!(window.locationbar && !window.locationbar.visible),
>
> when is window.locationbar && !window.locationbar.visible not a boolean?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/mozilla/fireplace/pull/221/files#r5107863>
> .
>