Enabling native selection handles in Fennec triggers assert.

RESOLVED INVALID

Status

()

Core
Selection
RESOLVED INVALID
2 years ago
a year ago

People

(Reporter: rbarker, Assigned: rbarker)

Tracking

Trunk
ARM
Android
Points:
---

Firefox Tracking Flags

(firefox45 affected)

Details

Attachments

(1 attachment)

(Assignee)

Description

2 years ago
When native selection handles are enabled in Fennec, the mochitest test_textnode_split_in_selection.html has the following assert:

MOZ_Assert( 756): Assertion failure: mCommonParent && startParent && endParent

This is because nsRange::CollectClientRects is being called before the end parent is in the document.
(Assignee)

Updated

2 years ago
Assignee: nobody → rbarker
(Assignee)

Comment 1

2 years ago
Created attachment 8685717 [details] [diff] [review]
0001-Bug-1223612-Enabling-native-selection-handles-in-Fennec-triggers-assert-15111016-d5a78c3.patch
(Assignee)

Updated

2 years ago
Blocks: 1206872
Blocks: 1226202
No longer blocks: 1206872
If by |native selection handles| we refer to the carets enabled by |touchcaret.enabled / selectioncaret.enabled|, then this is not an issue, as that code is replaced by accessiblecaret.enabled after bug 1215959.
I don't think this is an issue any more, as native selection handles *are* enabled in Fennec with APZ on nightly now.
Status: NEW → RESOLVED
Last Resolved: a year ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.