If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Status

()

Core
HTML: Parser
--
minor
RESOLVED DUPLICATE of bug 61684
12 years ago
10 years ago

People

(Reporter: Mike, Unassigned)

Tracking

({perf})

Trunk
x86
Windows XP
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(1 attachment)

(Reporter)

Description

12 years ago
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)
Created attachment 186498 [details]
testcase with bad code only

Comment 3

12 years ago
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
Last Resolved: 12 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.