Closed Bug 297884 Opened 20 years ago Closed 20 years ago

hang on page load

Categories

(Core :: DOM: HTML Parser, defect)

x86
Windows XP
defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 61684

People

(Reporter: tr4nc3, Unassigned)

References

()

Details

(Keywords: perf)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4

This website will hang Firefox for a good minute before finally catching up.
I've tested out the same page in IE6 and it handles this page fine. I think the
reason for the hang is because the page is very very long. Maybe Firefox is
having trouble rendering the page because it is so long? 

Reproducible: Always

Steps to Reproduce:
1. Visit http://www.xxxtorrent.com with Firefox  v1.04
2. Wait for system to hang.

Actual Results:  
The process hangs and I must kill it manually or wait ~1 minute for Firefox to
finish rendering the page.0

Expected Results:  
Preform similar to IE6 when viewing the same website. (Not hanging. ;))

n/a
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b2) Gecko/20050616
Firefox/1.0+ ID:2005061607

it simply takes some time for that huge list to load (~300 kb)

given the type  of site (security reasons) i didn't bother to startup IE 

w3c validator shows
#### encoding problem on this line, not shown ####

it fails on 

about 100 of the following clusters ... all on 1 line

quote

 <font face='Arial' size='1'>
  <font size='1'><a href="">XXX</a></font>
  <font color='#FF0000' size='1'>XX</font>
  <br> XX: 
  <font size='1' color='#0000FF'>XXX</font>
  <br> XX: 
  <font size='1' color='#0099FF'>XXX</font>
  <br> XX: 
  <font size='1' color='#0000FF'>XXX</font>
  <br> XX: 
  <font size='1' color='#0000FF'>XXX</font>
  <br> XX: 
  <font size='1' color='#0000FF'>XXX</font>
  <br> XX: 
  <font size='1' color='#0000FF'>XXX</font>

/quote

meaning there are literally 100 open font tags that aren't closed (the one on
the first line)

I tried a testcase with 100 open fonttags, but it didn't slow down

needless to say the html is totally invalid

martijn, do you see why FF slows down so badly ?
btw, try a view source (you can take a break, it'll take a few minutes)
Using Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050616
Firefox/1.0+ this makes ff lag a little, a second or so. The testcase does not
make my ff lag.
Component: General → HTML: Parser
Keywords: perf
Product: Firefox → Core
Version: unspecified → Trunk
This is a duplicate of bug 61684. The freeze here happens because of the large
amount of nested font tags. 
I'll attach a testcase to that bug, since the testcase in bug 61684 seems to
work for me.

*** This bug has been marked as a duplicate of 61684 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: