Clarify relation of `Selection`'s methods to `nsFrameSelection`.
Categories
(Core :: DOM: Selection, enhancement)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox76 | --- | fixed |
People
(Reporter: mbrodesser, Assigned: mbrodesser)
References
(Blocks 1 open bug)
Details
Attachments
(4 files)
| Assignee | ||
Comment 1•6 years ago
|
||
Alleviates the possibility to add calls which are unintentionally no-ops.
In practice, these errors should never be propagated to the web, and
signal to other callers (for copy&paste) that the calls are wrong.
Ideally, the other callers wouldn't see these methods, but that requires
a larger refactoring.
| Assignee | ||
Comment 2•6 years ago
|
||
Simplifies reasoning about it.
Depends on D67327
| Assignee | ||
Comment 3•6 years ago
|
||
Simplifies reasoning about it.
Depends on D67328
| Assignee | ||
Comment 4•6 years ago
|
||
Helps to determine which methods of nsFrameSelection are intended to
be called only for the eNormal Selection.
Driven by the idea that state of nsFrameSelection relevant only for
the eNormal Selection should later move to a NormalSelection class.
Depends on D67444
| Assignee | ||
Updated•6 years ago
|
| Assignee | ||
Updated•6 years ago
|
Comment 7•6 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/d05172dd2297
https://hg.mozilla.org/mozilla-central/rev/9317b00ee13f
https://hg.mozilla.org/mozilla-central/rev/083722af5b6e
https://hg.mozilla.org/mozilla-central/rev/12f6c8914207
Description
•