Closed
Bug 557720
Opened 15 years ago
Closed 9 years ago
Textarea filled by using this JS hangs the browser
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: alice0775, Unassigned)
References
(Depends on 1 open bug)
Details
(Keywords: hang, perf, regression)
Attachments
(1 file)
(deleted),
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.3a4pre) Gecko/20100406 Minefield/3.7a4pre ID:20100406040007 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.3a4pre) Gecko/20100406 Minefield/3.7a4pre ID:20100406040007 This javascript script puts some text in a textarea. Firefox3.6.3 execute this script as expected and it takes 1-5 sec in C2Q@2.5GHz CPU. Minefield3.7a4pre hangs with 100% CPU-core. It is related but different to Bug504784 . Reproducible: Always Steps to Reproduce: 1. Start Minefield with New profile 2. Open testcase Actual Results: Minefield3.7a4pre hangs with 100% CPU core. Expected Results: Minefield3.7a4pre should not hang, and execute this script as expected and it takes 1-5 sec as same as Firefox3.6.3. http://hg.mozilla.org/mozilla-central/rev/736619af9701 Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.3a1pre) Gecko/20091101 Minefield/3.7a1pre ID:20091101045105 Regression rwindow: Works: http://hg.mozilla.org/mozilla-central/rev/3405d57427a5 Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.3a1pre) Gecko/20091115 Minefield/3.7a1pre ID:20091115042134 Fails: http://hg.mozilla.org/mozilla-central/rev/74e3158a9fc5 Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.3a1pre) Gecko/20091116 Minefield/3.7a1pre ID:20091116050530 Pushlog: http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=3405d57427a5&tochange=74e3158a9fc5 This issue does not happens on Branch(Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.4pre) Gecko/20100406 Namoroka/3.6.4pre ID:20100406042106).
Reporter | ||
Comment 1•15 years ago
|
||
Sorry , please ignore the following sentence in comment #0. >http://hg.mozilla.org/mozilla-central/rev/736619af9701 >Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.3a1pre) Gecko/20091101 >Minefield/3.7a1pre ID:20091101045105
Reporter | ||
Updated•15 years ago
|
Updated•15 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 2•15 years ago
|
||
If you take out the display = "none" thing, isn't this bug also present in the older builds? All that happened here is that the display change got processed before the value sets due to the flush that bug 527306 took out, and now it's not processed until after all the value-setting is done.... I would also assume that the lazy editor changes that Ehsan is working on will help here.
Reporter | ||
Comment 3•15 years ago
|
||
(In reply to comment #2) > If you take out the display = "none" thing, isn't this bug also present in the > older builds? testcase( https://bugzilla.mozilla.org/attachment.cgi?id=389100 )of Bug504784 which is not including the display = "none" thing,When loading it,The latest Namoroka3.6.4pre hangs.and the old trunk build also hangs.but latest Minfield3.7a4pre does not hang.
Comment 4•15 years ago
|
||
Right, but that only goes up to 1500, not 7000. That difference should be a factor of 20 or more in the time required....
Updated•15 years ago
|
Assignee: general → nobody
Component: JavaScript Engine → Layout: Form Controls
QA Contact: general → layout.form-controls
Comment 5•15 years ago
|
||
(In reply to comment #3) > (In reply to comment #2) > > If you take out the display = "none" thing, isn't this bug also present in the > > older builds? > testcase( https://bugzilla.mozilla.org/attachment.cgi?id=389100 )of Bug504784 > which is not including the display = "none" thing,When loading it,The latest > Namoroka3.6.4pre hangs.and the old trunk build also hangs.but latest > Minfield3.7a4pre does not hang. I think the difference which you see here is because of bug 518122. Also, this should depend on the textarea lazy initialization work.
Reporter | ||
Comment 6•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/70dfd4254cf977be2000b41f7a6b97eaada8e2a0 Mozilla/5.0 (Windows NT 10.0; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0 ID:20160507030302
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•