Closed
Bug 308399
Opened 19 years ago
Closed 11 months ago
CPU at 100% when minimize the Window and reopen the Window if run some javascript codes including document.write
Categories
(Core :: DOM: Core & HTML, defect, P5)
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: Sundison, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; zh-CN; rv:1.7.11) Gecko/20050728
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.2; zh-CN; rv:1.7.11) Gecko/20050728
//********************************
(My CPU is P4 3.0G,other one is AMD 64 3000+)
the error time javascript code is behind
*********************************//
var w_i=0;
function d_wri(v_str){
var jj=document.body;
if(jj!=null){
w_i++;
var TableId = document.createElement('nt'+w_i);
jj.appendChild(TableId);/* I think problem is this line */
TableId.innerHTML=v_str;
}else{document.write(v_str);}}
Reproducible: Always
Steps to Reproduce:
step 1:
call this function "d_wri('... some HTML ...');" like 100 or 200 times in one
html page
(at this time ,CPU is works well about 2%-5%)
step 2:
minimize this Mozilla Window
(at this time ,CPU works normal too,about 3%-5%)
step 3:
resume this Mozilla Window
(CPU stay to 100% about 30 seconds !!
Mozilla Window can't be move ,but other software window is normal)
run this page in Internet Explorer, the CPU is normal
if you can't see the error ,i 'll give u the full testing HTML page.
Actual Results:
CPU stay at 100% about 30 seconds or above
Expected Results:
I test it at a lot of Computers and a lot of OS,and from Mozilla 1.6 to Mozilla
1.7.11 the problem is still their.
Comment 1•18 years ago
|
||
>core
note: reporter is goneProduct: Mozilla Application Suite → Core
Version: unspecified → 1.7 Branch
Updated•17 years ago
|
Assignee: general → nobody
Component: General → DOM: Level 0
QA Contact: general → general
Summary: CPU at 100% when minimize the Window and resume the Window if run some javascript codes → CPU at 100% when minimize the Window and reopen the Window if run some javascript codes including document.write
Comment 2•6 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046 Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5. If you have questions, please contact :mdaly.
Priority: -- → P5
Updated•2 years ago
|
Severity: normal → S3
Comment 3•11 months ago
|
||
This is an 18 year old bug about poor performance when spamming a bunch of code. Let's just close this. With e10s hopefully the UI is at least interactive.
Status: UNCONFIRMED → RESOLVED
Closed: 11 months ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•