mozilla/r2d2b2g — pull request #583 by ochameau (2013-06-04 18:10:42+00:00)
Title: Fix touch events on <select>

I tried hard to make gaia build system configurable enough for the simulator, but it looks like it is still not enough.

So. I removed `BROWSER=1` when running gaia's make, as we really don't want this line to operate: https://github.com/mozilla-b2g/gaia/blob/master/build/webapp-manifests.js#L94-L96
(That's a very hacky way to make permissions work on Firefox)
It introduced issues with system app in the simulator, so I removed BROWSER=1 in this changeset: https://github.com/mozilla/r2d2b2g/commit/4e8e82447ead7778fcaefad7ef767e1664bdf121

But... we really want following prefs to be set:
https://github.com/mozilla-b2g/gaia/blob/master/build/preferences.js#L49-L76
Here, for touch events, we are missing the `dom.w3c_touch_events.enabled=1` pref.

I don't really know yet how to fix that in gaia, but we can easily fix that on simulator side for v4.