Closed Bug 339516 Opened 18 years ago Closed 18 years ago

sharpdevelop.net - Message editor on sharpdevelop forums generates 100% cpu load (hang)

Categories

(Tech Evangelism Graveyard :: English US, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: g.teunis, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060527 Minefield/3.0a1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060527 Minefield/3.0a1

The message editor uses intensive javascript.
When Javascript is disabled the cpu-load isn't generated.

Reproducible: Always

Steps to Reproduce:
1. Browse to http://community.sharpdevelop.net/forums/23/ShowForum.aspx
2. Create a new post (using the half visible "add post" on top of topics)


Actual Results:  
Browser hangs when Javascript is enabled.

Expected Results:  
Browser should not hang.

The script seems to hang on the line
"this.DomElement.style.display='block';"

in ComponentArt_PageView.prototype.Show=function(qzma) in file
http://community.sharpdevelop.net/Utility/componentart_webui_client/2006_1_1109/A573A488.js
This regressed between 2006-03-07 and 2006-03-08, probably a regression from bug 234455, which made load events bubble.

I see a FTB_AddEvent(window,'load' in ShowForum.aspx.
function FTB_AddEvent in FTB-Utility.js does obj.addEventListener(evType, fn, true);
It should do obj.addEventListener(evType, fn, false);
I've tested this and that makes the difference.
Assignee: nobody → english-us
Component: General → English US
Depends on: 335251
Product: Firefox → Tech Evangelism
QA Contact: general → english-us
Reporter, do you still see this bug? Bug 335251 has been fixed and it should have
helped in this case too.
Work perfectly now.
No more high CPU usage when opening that post editor.
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Summary: Message editor on sharpdevelop forums generates 100% cpu load (hang) → sharpdevelop.net - Message editor on sharpdevelop forums generates 100% cpu load (hang)
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.