On 4/1/13 9:02 AM, [email protected] wrote:
window.locationbar.visible returns true for me when running in Web runtime, 
contrary to what it states on the page you linked to.
I can confirm that the docs are incorrect. window.locationbar.visible is true 
for me in the Web runtime as well.

I think you have to combine a couple checks. In the Marketplace app we check 
locationbar but also check the user agent and viewport to tell if it's on a 
Firefox OS device. E.G. 
https://github.com/mozilla/zamboni/blob/master/media/js/mkt/capabilities.js#L64 
There might be a better way to do it.

Kumar
That's a bug if the locationbar is true within an app on Fx OS. I'd file a bug 
on this.

Hey Jason and Kumar, has someone filed this bug? If not I can do it.

Mark
_______________________________________________
dev-webapps mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-webapps

Reply via email to