mozilla / r2d2b2g

Firefox OS Simulator is a test environment for Firefox OS. Use it to test your apps in a Firefox OS-like environment that looks and feels like a mobile phone.
https://addons.mozilla.org/en-US/firefox/addon/firefox-os-simulator/
Other
392 stars 139 forks source link

Replace bars xpcom component by a pref (before uplifting) #871

Closed ochameau closed 10 years ago

ochameau commented 10 years ago

The xpcom component trick felt too hacky to be uplifted, so I searched for other ways to make various bars (menubar, toolbar, locationbar, ...) appear to be hidden via the API, while our xul menubar to be still visible. I found that toolkit.defaultChromeFeatures controls bars APIs values but doesn't prevent displaying our xul menu, handy!

I'm commit that first to the addon, before uplifting it to b2g, to ensure that it works fine.

ochameau commented 10 years ago

r? @mykmelez

ochameau commented 10 years ago

Uplift tracked over here: https://bugzilla.mozilla.org/show_bug.cgi?id=945235

mykmelez commented 10 years ago

Aha! Great fix. :-)