Open Bug 1268344 Opened 8 years ago Updated 2 years ago

Do not add UTF-8 3 bytes code to selected text start and end in the view-source url, when using view selection source

Categories

(Toolkit :: View Source, defect, P3)

defect

Tracking

()

Tracking Status
firefox46 --- wontfix
firefox47 --- wontfix
firefox48 --- wontfix
firefox49 --- affected
firefox-esr45 --- affected
firefox50 --- affected
firefox51 --- affected

People

(Reporter: magicp.jp, Unassigned)

References

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0
Build ID: 20160427030215

Steps to reproduce:

1. Start Nightly (or Firefox 42 and later)
2. Go to any sites (e.g. https://developer.mozilla.org/en-US/)
3. Select any text on the page (e.g. "Knowledge")
4. Select "View Selection Source" in the right-click menu
5. Confirm the view-source url and selected source
6. Reload current page
7. Confirm selected source on the page


Actual results:

UTF-8 3 bytes code is added to the selected text start and end in the view-source url. After reload current page, UTF-8 3 bytes characters are displayed at the selected text start and end positions.


Expected results:

Do not add UTF-8 3 bytes code to selected text start and end in the view-source url, when using view selection source
Has STR: --- → yes
Component: Untriaged → Location Bar
OS: Unspecified → All
Hardware: Unspecified → All
This is a regression from bug 1057841.
Blocks: 1057841
Sounds like a view source bug, but feel free to move back if that's incorrect.
Component: Location Bar → View Source
Product: Firefox → Toolkit
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: