Closed Bug 1758592 Opened 2 years ago Closed 2 years ago

Use pivot result to determine boundaries in parent-side traversal

Categories

(Core :: Disability Access APIs, defect)

defect

Tracking

()

RESOLVED FIXED
100 Branch
Tracking Status
firefox100 --- fixed

People

(Reporter: eeejay, Assigned: eeejay)

References

Details

(Whiteboard: [ctw-m1])

Attachments

(2 files)

Now that we use parent-sided traversal when ctw is enabled on android, we don't need to bother with cached boundaries to know when we reach the start or end of the document.

context: when performing a traversal/swipe action the performAction method will return false when it fails to traverse to the next node. If this is the case the user will get haptic/sound feedback to know that is the case. Because the child-sided pivot was happening asynchronously, we needed to cache the first and last node in a doc to know when we reach it. now that we cache, we don't need this anymore.

This is a simple method for checking a pref.

Assignee: nobody → eitan
Status: NEW → ASSIGNED
Pushed by eisaacson@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6ead5bc69539
P1: Add IsCacheEnabled JNI method. r=Jamie
https://hg.mozilla.org/integration/autoland/rev/5fde5e6d1c9a
P2: Return a value when pivoting and use it in parent-side traversal. r=Jamie
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 100 Branch
Regressions: 1553878
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: