I hate your browser

Sep 30, 2006 01:23

and I want to cause it pain.

The JavaScript torture chamber is open for business. If you know me, the browser which fared best in my opinion will be no suprise to you. The browsers which fared the worst, and second from worst, might be ( Read more... )

browsers, code

Leave a comment

Comments 19

I hate your browser too. ;-P thewrongcrowd September 30 2006, 03:13:12 UTC
Be thankful that these clueless hacks didn't write your operating system.

*looks at machines in house... xp pro, xp home, win98se* Ahahahaha!

Yeah, I'll take 3 "passables" and a browser that doesn't annoy me. :)

Reply

MS's OS and IE teams are seperate. Honest. lionsphil September 30 2006, 17:55:29 UTC
Except for when they're finding new ways to corrupt Windows® with IE's legendary security and stability, of course.

Reply


Ouch. real_skeptic September 30 2006, 11:21:05 UTC
Just tried this on Konqueror.

Reply

...and? lionsphil September 30 2006, 17:51:49 UTC
Exactly the same as Safari, perchance? What version?

Reply

Re: ...and? real_skeptic September 30 2006, 19:30:45 UTC
Well, I don't know exactly how Safari behaved. Bear in mind that although they have the same rendering engine, they are not the same code.

Anyway, I think it does the same as Firefox on the infinite loop - it gives a dialog box about the bad behavior of the script, but one can't switch tabs etc. during the test. On the pop-up it had to be given the old wooden stake through the heart - very bad. And on the memory thing - it just silently dropped dead. Didn't even give a crash notice.

Reply

Yeah, I know, Konqueror != Safari---but Safari == "ouch". lionsphil September 30 2006, 20:26:36 UTC
If you run the memory test in Konquerer run from a terminal, does it say anything there? And what version?

Reply


You want nasty? tomo2k September 30 2006, 14:39:52 UTC
We just found an interesting bug in some of the software I support.

It turned out to be a bug in the Microsoft memory handling DLL.
They had a test counter that wrapped around after appr. 4.3 billion memory allocations, triggering a breakpoint in the DLL that stopped the application.

It was killing the application after roughly 40-48 hours, depending on how heavily it was being used.

Reply

I disagree with your runaway memory test. tomo2k September 30 2006, 14:50:19 UTC
My Firefox (1.5.0.7 on WinXP) reports 21 instantly, and Task Manager shows a memory usage of roughly 290MB for 2 to 5 minutes, then drops back to the previous memory usage of roughly 34MB.

My pagefile goes up to roughly 1/4 of the available.

Firefox 1.5.0.7 also doesn't report an "Out of memory" error, and remains responsive during that time - I ran it several times while typing this post.

The others, especially the popup modal dialog, I agree with your assessment.
I wonder if there is a Firefox extension which kills all modal dialog boxes?

Reply

Mmm. lionsphil September 30 2006, 18:05:15 UTC
I tested with 1.5.0.5, and the out of memory error is subtle---it's a little red icon in the same area as blocked pop-ups and the like. I didn't hang around the two to five minutes to notice memory drops.

And if it's only really doing 21 doubles, it's having to use some chronicly inefficient string representation, because that's only two megacharacters.

Reply

Re: Mmm. tomo2k October 1 2006, 08:33:14 UTC
Just tried it again, and this time it went up to 28, with a memory consumption of 566,680KB.
Dropped to 41,700KB shortly after.

No little red icon anywhere though.

Here's a thought - maybe it loads and unloads the Javascript modules dynamically, so it loaded a stack of string-fiddling modules when I clicked the button, then unloaded them after killing the script.

Firefox seems a little odd for memory consumption though - it dropped down to 31,000KB, then up to 32,500KB while I was typing this.

Reply


mair_aw October 1 2006, 20:51:58 UTC
I do not know or want to know what is with this site:

http://del.icio.us/bldurling/brompton

but it hangs up my opera completely.

Reply

Oooh. lionsphil October 1 2006, 23:54:02 UTC
Reproducable with Opera/Win32 9.01. I'll have to see if I can find out, (then|and) file a bug report. I see nothing obvious, other than lots of ugly little script fragments.

Reply

Very interesting. lionsphil October 2 2006, 11:03:02 UTC
It's murdered Firefox 1.5.0.5/Linux, as well, without the script warning.

Reply

It's not a hang. lionsphil October 2 2006, 13:15:51 UTC
It's just very slow, and poorly handled. The page has a few thousand list items (enough to drive Netsurf crazy rendering it, and still slow with JavaScript off) and a shonky piece of script which adds little folding widgets to each of them. Leave it for a few minutes and Opera will jerk back into life, from whence onwards it's fine.

I may still file a bug report that this manages to lock it up for that time. What happened to the multithreading, eh?

Reply


Leave a comment

Up