Closed Bug 586313 Opened 9 years ago Closed 9 years ago
add a start/end event for panning and zooming
For automation we need to test panning (including kinetic) and zooming. These are hard to test as these transactions take some amount of time. To work around this we are using setTimeout(func, some_large_value); It would be nice to have a ZoomStart, ZoomFinish, PanStart, PanFinish event that we could listen on.
Assignee: nobody → mbrubeck
Status: NEW → ASSIGNED
OS: Linux → All
Hardware: x86 → All
9 years ago
any eta on getting this in?
I'll get this done this week.
flagging for 2.0 triage. sounds like a fix will help with simplifying zoom & panning tests
tracking-fennec: --- → ?
well, a fix is required for the browser-chrome tests to avoid using setTimeout (which means we need to fix for an r+)
love to have for 2.0, but not blocking.
Priority: -- → P1
9 years ago
The existing ZoomChanged event should work for this purpose. The one caveat is that it is also dispatched during page load, so you might need to ignore it then. This patch adds a new PanFinished event that fires when a pan (including any kinetic motion) stops.
Attachment #467152 - Flags: review?(mark.finkle)
Attachment #467152 - Flags: review?(mark.finkle) → review+
Whiteboard: [blocking_unittests] → [blocking_unittests] [fennec-checkin-posta1]
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.