Open Bug 1500852 Opened 6 years ago Updated 2 years ago

It takes long time to paste long plain text to contentEditable

Categories

(Core :: DOM: Editor, defect, P2)

55 Branch
x86_64
Windows 10
defect

Tracking

()

Tracking Status
firefox-esr60 --- wontfix
firefox62 --- wontfix
firefox63 --- wontfix
firefox64 --- wontfix
firefox65 --- fix-optional

People

(Reporter: alice0775, Unassigned)

References

(Regression)

Details

(Keywords: perf, regression)

Attachments

(1 file)

Attached file sample text (deleted) —
Reproducible: always Step to reproduce: 1. Open data:text/html,<div style="overflow:auto;border:solid 1px black;height:300px" contentEditable="true"></div> 2. Copy whole text of the attached to clipboard 3. Paste long plain text to the contentEditable Actual Results: It takes more than 60 sec to render contents Expected results: It should be less than 2-5 sec Regression Window: https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=33765075ea48726242efdf2f0df7a7e1a2578d47&tochange=c02a8965ab7cf4f71c5d0e1688d5398f9dc23a5c Regressed by: Bug 1250823
Summary: It take long time to paste long plain text to contentEditable → It takes long time to paste long plain text to contentEditable
Priority: -- → P2
I am also happy problem with this issue. Pasting 4000 lines into a contentEditable div takes about 5 seconds. For the time being, I am looking for a workaround if anyone knows any. PS. CodeMirror seems to do it almost instantly!!!?
Happy to take a patch in nightly; if it seems low risk enough please feel free to request uplift to 65 beta.

Is this still the case? Pasting takes less than a second on my machine.

No longer blocks: 1250823
Regressed by: 1250823
Has Regression Range: --- → yes
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: