Closed Bug 1210315 Opened 10 years ago Closed 10 years ago

Add a preference to control whether to use long tap injector

Categories

(Core :: DOM: Selection, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla44
Tracking Status
firefox44 --- fixed

People

(Reporter: TYLin, Assigned: TYLin)

References

Details

Attachments

(5 files)

This bug is to implement item 1) in bug 1203879 comment #0. 1) Use synthesized long-tap event or not. We should turn this on for the platforms which do not enable APZ yet or APZ does not support long-tap events.
Assignee: nobody → tlin
Bug 1210315 - Use preference to control whether to use long tap injector. r=roc In AccessibleCaretEventHub, it is not accurate to use APZ enabled to determine whether to use long tap injector. On desktop browser, there's no long tap events even if APZ is enabled. We should use a preference to control that. Since it's a fact the APZ on b2g has long tap events, we should use preference to disable long tap injector so that when long tap events stop dispatching to AccessibleCaretEventHub, we'll know immediately. Delete SetUseAsyncPanZoom() usage in gtest since APZ is not related to scrolling in AccessibleCaretEventHub.
Attachment #8668976 - Flags: review?(roc)
Bug 1210315 - Inline selectors in carets tests. r=automatedtester All of them are used only once. It reads better to inline them.
Attachment #8668977 - Flags: review?(dburns)
Bug 1210315 - Use pref utilities in test_touchcaret.py. r=automatedtester Use the preferences utilities introduced in bug 1164124.
Attachment #8668978 - Flags: review?(dburns)
Bug 1210315 - Use pref utilities in test_selectioncarets.py. r=automatedtester Use the preferences utilities introduced in bug 1164124.
Attachment #8668979 - Flags: review?(dburns)
Bug 1210315 - Disable long tap injector in marionette tests. r=automatedtester We send synthesized long tap events in marionette tests in bug 1209841. No need to use long tap injector.
Attachment #8668980 - Flags: review?(dburns)
Comment on attachment 8668976 [details] MozReview Request: Bug 1210315 - Use preference to control whether to use long tap injector. r=roc https://reviewboard.mozilla.org/r/21077/#review19097
Attachment #8668976 - Flags: review?(roc) → review+
Comment on attachment 8668977 [details] MozReview Request: Bug 1210315 - Inline selectors in carets tests. r=automatedtester https://reviewboard.mozilla.org/r/21079/#review19111
Attachment #8668977 - Flags: review?(dburns) → review+
Comment on attachment 8668978 [details] MozReview Request: Bug 1210315 - Use pref utilities in test_touchcaret.py. r=automatedtester https://reviewboard.mozilla.org/r/21081/#review19113
Attachment #8668978 - Flags: review?(dburns) → review+
Comment on attachment 8668979 [details] MozReview Request: Bug 1210315 - Use pref utilities in test_selectioncarets.py. r=automatedtester https://reviewboard.mozilla.org/r/21083/#review19115
Attachment #8668979 - Flags: review?(dburns) → review+
Attachment #8668980 - Flags: review?(dburns) → review+
Comment on attachment 8668980 [details] MozReview Request: Bug 1210315 - Disable long tap injector in marionette tests. r=automatedtester https://reviewboard.mozilla.org/r/21085/#review19117
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: