Ctrl+S incorrectly saves text in <textarea> (adds unnecessary "\n"s)

NEW
Unassigned

Status

()

3 years ago
10 months ago

People

(Reporter: arni2033, Unassigned)

Tracking

({parity-chrome})

Trunk
parity-chrome
Points:
---

Firefox Tracking Flags

(firefox47 affected)

Details

(Whiteboard: dom-triaged)

(Reporter)

Description

3 years ago
>>>   My Info:   Win7_64, Nightly 46, 32bit, ID 20160129030206
STR:
1. Open attachment 8714031 [details] from bug 1244482 in a new tab.
2. Save the page locally:  Press Ctrl+S, then click "Save" in modal window.
3. Open the page saved in Step 2 in a new tab
4. Compare text in <textarea> on pages from Step 1 and from Step 3

AR: In original .html file (Step 1) there was no "\n"s in textarea.
    In saved .html file (Step 3) there's "\n" after each 5 words in textarea. In the source code.
 I often save bugreports for the future in a text form to file them later. So I basically have to
 edit all text again. That is unacceptable behavior.   v_v

ER: Either A or B
 A) There should be no additional symbols (such as "\n"s) on saved page.
 B) The browser should provide an alert that tells the user to use .txt files in such cases.
Component: Untriaged → Serializers
Product: Firefox → Core
Whiteboard: [parity-Chrome] → [parity-Chrome] dom-triaged
Mass bug change to replace various 'parity' whiteboard flags with the new canonical keywords. (See bug 1443764 comment 13.)
Keywords: parity-chrome
Whiteboard: [parity-Chrome] dom-triaged → dom-triaged
You need to log in before you can comment on or make changes to this bug.