Closed Bug 343567 Opened 18 years ago Closed 18 years ago
pasting larger textfiles in a <textarea> causes 100% processorload
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/20060703 Minefield/3.0a1 ID:2006070322 [cairo] testcase next regressionrange: between 20060703 and 20060704 nightly
open testcase... this will take quite a while (100% load) = regression 1 select all text in the textarea and press copy now press paste and see the load go up wait 5-10 secs, depending on your system and the text is pasted this worked fine and instantaneously before
regressionrange: works in 20060703 1220pdt build works in 20060703 2233pdt build http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=all&branch=HEAD&branchtype=match&filetype=match&whotype=match&sortby=Date&hours=2&date=explicit&mindate=20060703+1150&maxdate=20060703+2233&cvsroot=%2Fcvsroot Bug 339066 , Brett ??
Assignee: nobody → mscott
Component: General → Spelling checker
QA Contact: general → spelling-checker
Seems like this would be related to bug 343314...
(In reply to comment #3) > Seems like this would be related to bug 343314... > except for the different regressionwindows
I wasn't able to reproduce this as described on my clean install/clean profile of Mozilla/5.0 (Windows;;; en-US; rv:1.8.1a3) Gecko/20060704 BonEcho/2.0a3, on a P3-1.2ghz PC w/640mb ram. However, I can reproduce the other reported bug (https://bugzilla.mozilla.org/show_bug.cgi?id=343314) in the testcase window.
We're spending tons of time in nsRange::IsPointInRange, called by mozInlineSpellChecker::IsPointInSelection. I think this is a previously existing and known issue. You only see it now because before bug 339066 was fixed, pasting didn't get spellchecked properly at all.
*** This bug has been marked as a duplicate of 341420 ***
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.