mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
Bug 1001945 - added more logging to gesture tracker tests to monitor pointer events. r=marcoz
--- accessible/src/jsat/Gestures.jsm | 4 ++++ accessible/src/jsat/PointerAdapter.jsm | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-)
This commit is contained in:
parent
b9006baffb
commit
f9f981e4bf
@ -210,6 +210,10 @@ this.GestureTracker = { // jshint ignore:line
|
||||
* @param {Number} aTimeStamp A new pointer event timeStamp.
|
||||
*/
|
||||
handle: function GestureTracker_handle(aDetail, aTimeStamp) {
|
||||
Logger.debug(() => {
|
||||
return ['Pointer event', aDetail.type, 'at:', aTimeStamp,
|
||||
JSON.stringify(aDetail.points)];
|
||||
});
|
||||
this[this.current ? '_update' : '_init'](aDetail, aTimeStamp);
|
||||
},
|
||||
|
||||
|
@ -201,10 +201,6 @@ this.PointerAdapter = { // jshint ignore:line
|
||||
|
||||
handleEvent: function PointerAdapter_handleEvent(aDetail) {
|
||||
let timeStamp = Date.now();
|
||||
Logger.debug(() => {
|
||||
return ['Pointer event', aDetail.type, 'at:', timeStamp,
|
||||
JSON.stringify(aDetail.points)];
|
||||
});
|
||||
GestureTracker.handle(aDetail, timeStamp);
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user