When attempting to automate gestures on the lockscreen using touch events like other gaia apps, we discovered that the lockscreen is expecting mouse events. When doing a swipe gesture, like the one needed to pull the lockscreen area handle, mouse events are needed, when it should be touch events. This goes against the de-facto standard we're using of 'mouse events for click, touch events for everything else', and so it breaks compatibility with our gesture automation and blocks bug 831852.
Kevin, mind looking into this when you get a chance, per IRC? Thx :-)
I'm a little busy with hd+ bugs, maybe Kevin can help on this?
Comment on attachment 772264 [details] Github pull request pointer Hi Alive, Yuren, Wondering if one of you could take a look at the lockscreen patch in this commit. Depending on when you look there may be an extra patch here which fixes gaia in nightly (that is going as part of another bug though).
Comment on attachment 772264 [details] Github pull request pointer Code looks OK to me. Feedback? to :yuren. Though I don't know why two different bug commits are gathered here..
Comment on attachment 772264 [details] Github pull request pointer looks good to me, but travis-ci error. I restarted build, so please wait travis result.
looks good for second run :D https://travis-ci.org/mozilla-b2g/gaia/builds/8860879
Landed in master: https://github.com/mozilla-b2g/gaia/commit/95ab47bbd5bef22050e726d35fd00128f2cc2785 Thanks guys!
This patch breaks desktop build since we don't support touchevent there :-o May need a bug for faking touchevent in desktop build.