Closed
Bug 599382
Opened 14 years ago
Closed 14 years ago
[TEST] Add some browser-chrome test for tapping
Categories
(Firefox for Android Graveyard :: General, defect)
Firefox for Android Graveyard
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mfinkle, Assigned: mfinkle)
Details
Attachments
(1 file, 2 obsolete files)
19.62 KB,
patch
|
mbrubeck
:
review+
|
Details | Diff | Splinter Review |
This patch adds some basic tests for checking our tapping behavior for" * TapSingle * TapDouble * TabLong I want to add some context menu checking either in this test file or a new ne at some point soon too. For some reason I can't get "TapSingle" to work? More eyes might help. I have it "todo" for now. Another interesting item I found testing this patch. If I log the dumpEvents function I see two "TapSingle" events happening when no events are expected. Might be a latent bug. Only happens for the "two single taps in different locations" case: TEST-INFO | chrome://mochikit/content/browser/mobile/chrome/browser_tapping.js | Test two single taps in different locations ---- event: TapSingle (this is expected) ---- event: TapSingle (this is expected) TEST-PASS | chrome://mochikit/content/browser/mobile/chrome/browser_tapping.js | Fired two single taps in different places, not a double tap ---- event: TapSingle (what is this?!) ---- event: TapSingle (what is this?!) TEST-INFO | chrome://mochikit/content/browser/mobile/chrome/browser_tapping.js | Test a pan - non-tap event
Attachment #478292 -
Flags: review?(mbrubeck)
Attachment #478292 -
Flags: feedback?(webapps)
Updated•14 years ago
|
OS: Linux → All
Hardware: x86_64 → All
Comment 1•14 years ago
|
||
The patch is missing the new file? (In reply to comment #0) > Another interesting item I found testing this patch. If I log the dumpEvents > function I see two "TapSingle" events happening when no events are expected. > Might be a latent bug. Only happens for the "two single taps in different > locations" case: This was an intentional change in bug 599145.
Assignee | ||
Comment 2•14 years ago
|
||
Oops - here are the new files.
Assignee: nobody → mark.finkle
Attachment #478292 -
Attachment is obsolete: true
Attachment #478334 -
Flags: review?(mbrubeck)
Attachment #478334 -
Flags: feedback?(webapps)
Attachment #478292 -
Flags: review?(mbrubeck)
Attachment #478292 -
Flags: feedback?(webapps)
Assignee | ||
Comment 3•14 years ago
|
||
This adds some tests for context menu types too. We now test for context menu types on links, images and images nested in links. All tests, except the "TapSingle" test (as noted above) are passing.
Attachment #478334 -
Attachment is obsolete: true
Attachment #478549 -
Flags: review?(mbrubeck)
Attachment #478549 -
Flags: feedback?(webapps)
Attachment #478334 -
Flags: review?(mbrubeck)
Attachment #478334 -
Flags: feedback?(webapps)
Updated•14 years ago
|
Attachment #478549 -
Flags: review?(mbrubeck) → review+
Assignee | ||
Comment 4•14 years ago
|
||
pushed: http://hg.mozilla.org/mobile-browser/rev/cb42087d4ec4
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•14 years ago
|
Attachment #478549 -
Flags: feedback?(webapps)
You need to log in
before you can comment on or make changes to this bug.
Description
•