Skip to content
Snippets Groups Projects
Commit 1bbcb68c authored by Jan-Niklas Jaeschke's avatar Jan-Niklas Jaeschke
Browse files

Bug 1828469, part 1: Prepare `RangeBoundaryBase` to be able to handle...

Bug 1828469, part 1: Prepare `RangeBoundaryBase`  to be able to handle non-`MutationObserver` Range classes. r=masayuki

In order to support `StaticRange`s, which are not `MutationObserver`s, RangeBoundaries need to have an alternative way of ensuring that `mRef` points to the correct node.
This is now done by validating `mRef` every time `Ref()` is called using the parent and offset.
For performance reasons, this is disabled by default and should only be used for `StaticRange`s.

Differential Revision: https://phabricator.services.mozilla.com/D177892
parent ffa99d70
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment