View-source of selection only shows the first range if the selection consists of several ranges
Categories
(Toolkit :: View Source, defect, P3)
Tracking
()
People
(Reporter: jjaschke, Unassigned)
References
Details
This can be reproduced either by selecting multiple ranges (using CTRL), or by selecting something that will be represented by multiple ranges internally. Example: Select several bugzilla comments in a page.
Expected: All ranges should be visible in the view-source view.
Actual: Only the first range is shown.
Comment 1•21 days ago
|
||
The severity field is not set for this bug.
:Honza, could you have a look please?
For more information, please visit BugBot documentation.
Updated•21 days ago
|
Comment 2•20 days ago
|
||
The severity field is not set for this bug.
:Honza, could you have a look please?
For more information, please visit BugBot documentation.
Comment 3•19 days ago
|
||
Seems like we only handle a single selection range at https://searchfox.org/mozilla-central/rev/9c395b6371eaea0d15f9c8a37889022be350cf0b/toolkit/actors/ViewSourcePageChild.sys.mjs#285
STRs:
- select multiple ranges in a page, possibly in different elements (using CTRL or CMD while selecting)
- right click
- click on "View selection source"
Description
•