Closed
Bug 651554
Opened 14 years ago
Closed 14 years ago
permaorange: browser_tapping.js | Fired a good double tap
Categories
(Firefox for Android Graveyard :: General, defect)
Firefox for Android Graveyard
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: philor, Assigned: stechz)
References
Details
Attachments
(3 files)
1.97 KB,
patch
|
Details | Diff | Splinter Review | |
6.66 KB,
patch
|
wesj
:
review+
|
Details | Diff | Splinter Review |
1.02 KB,
patch
|
mfinkle
:
review+
|
Details | Diff | Splinter Review |
TEST-INFO | chrome://mochitests/content/browser/mobile/chrome/browser_tapping.js | Test good double tap
TEST-INFO | chrome://mochitests/content/browser/mobile/chrome/browser_tapping.js | ---- event check: failed match (TapDouble != TapSingle
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/mobile/chrome/browser_tapping.js | Fired a good double tap
TEST-INFO | chrome://mochitests/content/browser/mobile/chrome/browser_tapping.js | Test two single taps in different locations
TEST-PASS | chrome://mochitests/content/browser/mobile/chrome/browser_tapping.js | Fired two single taps in different places, not a double tap
TEST-INFO | chrome://mochitests/content/browser/mobile/chrome/browser_tapping.js | Test a pan - non-tap event
TEST-PASS | chrome://mochitests/content/browser/mobile/chrome/browser_tapping.js | Fired a pan which should be seen as a non event
TEST-INFO | chrome://mochitests/content/browser/mobile/chrome/browser_tapping.js | Test a long pan - non-tap event
TEST-PASS | chrome://mochitests/content/browser/mobile/chrome/browser_tapping.js | Fired a pan + delay which should be seen as a non-event
TEST-INFO | chrome://mochitests/content/browser/mobile/chrome/browser_tapping.js | Test a good long pan
failed to validate file when downloading /mnt/sdcard/tests/mochitest.log!
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/mobile/chrome/browser_tapping.js | Test timed out
Updated•14 years ago
|
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
Reporter | ||
Comment 2•14 years ago
|
||
Why yes, yes I do know how to search before I file, I just don't ever actually remember to do it :)
However, that patch just fixes the timeout at the end, not the permaorange in the "Fired a good double tap" part.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Summary: permaorange: browser_tapping.js | Fired a good double tap then a timeout after Test a good long pan → permaorange: browser_tapping.js | Fired a good double tap
Reporter | ||
Comment 3•14 years ago
|
||
Not Android-specific, the n900s do the same thing.
OS: Android → All
Hardware: ARM → All
Comment 4•14 years ago
|
||
On desktop I occasionally see this. There is looks like more than two clicks are being fired. I have seen this happen before with local tabs. Events fired in the local tab can propagate back up and be received by input.js again.
So one potential solution to this problem (if it is what is causing the tests for fail) is to try and catch those events in input.js.
Attachment #527857 -
Flags: review?(ben)
Assignee | ||
Updated•14 years ago
|
Attachment #527857 -
Attachment is patch: true
Attachment #527857 -
Attachment mime type: application/octet-stream → text/plain
Assignee | ||
Comment 5•14 years ago
|
||
Comment on attachment 527857 [details] [diff] [review]
Potential Patch
That input.js code is supposed to be Fennec-agnostic. It's supposed to just take events and turn them into TapXXX events without concerning itself with content process / parent process.
Attachment #527857 -
Flags: review?(ben)
Assignee | ||
Comment 6•14 years ago
|
||
What is the actual code that is firing mousedown/mouseup/mousemove again?
Comment 7•14 years ago
|
||
Taps occur at:
http://mxr.mozilla.org/mobile-browser/source/chrome/tests/browser_tapping.js#166
I'm not sure that this will fix this anyway. We should be seeing the same effect when the user taps. These are just going to be extremely close together.
Assignee | ||
Comment 8•14 years ago
|
||
Attachment #527872 -
Flags: review?(wjohnston)
Assignee | ||
Comment 9•14 years ago
|
||
I typed up a big comment for this, but bzexport failed me. It went something like...
The issue here is that our content process code regenerates mouse events, because the platform couldn't do this for us at first. Therefore, we needed code to handle the local browser case so that we don't have a mouse event feedback loop (see _targetIsContent in browser.js).
In this test, we can simply opt out of content stuff by sending the event to something that doesn't have the class "inputHandler."
In the future, Wes and I talked about using the platform's event forwarding to do the work for us, but we'll need a platform patch that takes async scrolling into consideration (this shouldn't be difficult to do). I'll file a bug.
Assignee | ||
Comment 10•14 years ago
|
||
Filed bug 652240 for platform patch.
Comment 11•14 years ago
|
||
Comment on attachment 527872 [details] [diff] [review]
permaorange: browser_tapping.js | Fired a good double tap
This seems fine to me, and its worth seeing if it fixes the test failures. Thanks!
Attachment #527872 -
Flags: review?(wjohnston) → review+
Assignee | ||
Comment 12•14 years ago
|
||
Status: REOPENED → RESOLVED
Closed: 14 years ago → 14 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 13•14 years ago
|
||
Still failing every time on Android, and most of the time but not quite every time on Maemo.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Reporter | ||
Comment 14•14 years ago
|
||
According to me last month, this'll make it an intermittent UNEXPECTED PASS on Maemo, but I checked the last 8 runs and none of them passed, so I think it'll be intermittent enough to live with.
Attachment #535955 -
Flags: review?(mark.finkle)
Updated•14 years ago
|
Attachment #535955 -
Flags: review?(mark.finkle) → review+
Comment 15•14 years ago
|
||
Pushed the test fix: http://hg.mozilla.org/mozilla-central/rev/ce933e1ea428
Status: REOPENED → RESOLVED
Closed: 14 years ago → 14 years ago
Resolution: --- → FIXED
Comment 16•14 years ago
|
||
Can you provide some steps to reproduce in order to validate this bug?
Updated•14 years ago
|
Assignee: nobody → ben
Comment 17•13 years ago
|
||
I found this in tinderboxpushlog: TEST-KNOWN-FAIL | chrome://mochitests/content/browser/mobile/chrome/tests/browser_tapping.js | Fired a good double tap
I'm not sure if I can mark this bug as verified fixed.
You need to log in
before you can comment on or make changes to this bug.
Description
•