Firefox 2 Alpha 2 Reviewed 551
pcabello writes "Firefox 2 Alpha 2 was released yesterday. Check what's new in this review at mozillalinks.org with screenshots."
Top Ten Things Overheard At The ANSI C Draft Committee Meetings: (5) All right, who's the wiseguy who stuck this trigraph stuff in here?
Re:Memory (Score:5, Informative)
Browser Speed (Score:3, Informative)
He concludes, " So overall, Opera seems to be the fastest browser for windows. Firefox is not faster than Internet Explorer, except for scripting, but for standards support, security and features, it is a better choice. However, it is still not as fast as Opera, and Opera also offers a high level of standards support, security and features. "
Wilton-Jones tested both version 1.0 and version 1.5 of Firefox. Does anyone have any thoughts on the performance of version 2.0?
CoralCDN - just in case (Score:4, Informative)
Re:Memory (Score:1, Informative)
I have had memory leaks since the 1.0 days, so this new enhanced session history thingy isn't the cause (and yes, I have actually tried it and it does not help one bit).
Even if it was the problem, why would I still have hundreds of megs being eaten when I have opened a new window and closed all other windows.. If this was the cause, Firefox should be destroying all the other sessions because I closed everything else out and opened a new window that has no session information, no tabs, and no back/forward buttons to click.
Please stop the spin.
Close button at same tab (Score:5, Informative)
There's no reason to not let the user be able to pick the old way of handling a UI functionality that a reasonable amount of people don't agree with.
Re:Close button at same tab (Score:5, Informative)
There's an extension for the alpha already that turns it off.
I like extensions, but sometimes it seems like you have to have 80 of them just to get options that seem like they should be common sense.
Re:Public Download? (Score:3, Informative)
Re:Memory (Score:5, Informative)
Whenever you close a tab or window and a leak is detected, you'll get a message about it. I used it for a few days and discovered several minor extentions I'd been using were causing some very large leaks.
Re:Memory (Score:2, Informative)
Re:Memory (Score:2, Informative)
Re:Except (Score:3, Informative)
Re:Memory (Score:4, Informative)
Re:Memory (Score:5, Informative)
Even web pages can create circular JavaScript references that result in leaks. FF isn't alone in this area either. IE has always been vulnerable to memory leaks via JavaScript, theirs are just confined to bad pages. However, FF 3 will have a cycle detector that identifies unused cyclic references and frees the objects. But that still won't fix sloppy extensions that hang on to large objects for no goood reason.
In my experience, Plugins are pretty bad too. They operate outside the scope of the garbage collection and often don't clean up after themselves. For instance, my installation of Acrobat eats up a large chunk memory just for loading, and doesn't let it go after I navigate away from the page. The PDF Download extension helps, but it isn't perfect.
Download link (Score:3, Informative)
Re:Questions . Features. (Score:3, Informative)
Re:For new users (Score:5, Informative)
I used to think this too, which is why I used to use the TabX extension. However, since at least Firefox 1.5 I've been able to "middle-click" a tab to close it (without giving it focus.) Once I learned that, TabX was gone.
Re:Memory (Score:4, Informative)
Then I shall amend my statement for both you and the other poster. The vast *vast* majority of extensions are written in Javascript, with a few exceptions.
It just needs to maintain references to unused objects or create cyclic references.
Certainly, but I don't believe most extension leaks are caused by such things, as they're rather difficult to trigger in practice. As far as I'm aware, most leaks caused by extensions are due to interactions with the XPCOM layer.
Re:Memory (Score:3, Informative)
So why does this "feature" remain the default?
To disable this feature, do the following: 1. type about:config in you address bar 2. scroll down to browser.sessionhistory.max_total_viewers 3. set its value to 0 (zero)
This is something less than obvious or user friendly. Unlike the advanced options that can simply be checked and unchecked in IE's "Internet Options."
Re:Browser Speed (Score:3, Informative)
Then click on whichever toolbar ("control bar") you want to change, and change "Placement" to top/left/right/bottom/off. I have the tab bar at the top, then the address bar, and the status bar at the bottom. (No other toolbars visible. Since the address bar has forward/back/reload I don't like wasting screen real-estate with a "control bar".) Opera is probably the most configurable UI I've used--I guess you just have to know.
Re:I just went trhough the changelog... (Score:5, Informative)
It does. I like Firefox a lot, but i'm not blind - every single feature that it's available in both and works better in Opera. With a fraction of the memory usage, and much faster to boot. Much more stable too - i only had Opera hangning on me a couple of times (both on Windows and Linux) - when it happens, it promptly apologizes and offers you to open the windows you were browsing at the moment of the crash. Priceless!
Also, Oprera has a shitload of functionality not available on FF or not needing extensions (gesture browsing, searches in the url bar, etc...). Those are the reasons it has been my main browser of choice for years now.
Re:Memory (Score:5, Informative)
Poorly coded extensions definitely are the biggest memory leak problem. I was using forecastfox for a while and Firefox was leaking like a rusty bucket, even with the sessionistory fix. One day, forecastfox popped up with the latest temperature over an hour after I'd closed Firefox. I uninstalled it right then and Firefox has been pretty well-behaved memory-wise ever since; I haven't seen it's memory usage go over 85 mb.
Also, this fix helps too:
1. Open Firefox and go to the Address Bar. Type in about:config and then press Enter.
2. Right Click in the page and select New -> Boolean.
3. In the box that pops up enter config.trim_on_minimize. Press Enter.
4. Now select True and then press Enter.
5. Restart Firefox.
Re:I'll switch, but only ... (Score:3, Informative)
Re:Memory (Score:3, Informative)
Re:I just went trhough the changelog... (Score:3, Informative)
FYI, Opera is free (as in beer for the pedants) now.
Re:Did I miss this feature? (Score:5, Informative)
http://www.google.com/ [google.com]|http://www.slashdot.org|ht
And when you open firefox, the urls you put in the home page box will be tabbed.
Re:so I'll just keep asking...and getting no answe (Score:5, Informative)
https://bugzilla.mozilla.org/show_bug.cgi?id=3262
here are you dl links (Score:2, Informative)
Re:Here's something to fix (Score:2, Informative)
Re:Memory-- collective? Contradictory? (Score:4, Informative)
Re:Memory (Score:3, Informative)
Re:Memory (Score:2, Informative)
Re:Browser Speed (Score:3, Informative)
One major exception is the work on memory leaks. Firefox 1.5.0.x releases have been getting [mozilla.org] the simpler (less risky) leak fixes, and it looks like Firefox 2 will get most of the less simple memory leak fixes that are going into the trunk, including the nsIDOMGCParticipant work [mozilla.org] that fixes the large leaks with Gmail and most Greasemonkey scripts.
Re:Download manager still broken? (Score:2, Informative)
And Fielding et al. made the HEAD [w3.org] method: and it was so.
Re:Memory (Score:3, Informative)
Er... Everyone I've ever talked to who runs Firefox on linux has told me that they've got creeping memory leaks that will eat all of their RAM given time. None of them have been able to fix it through reinstallation shenanigans. Maybe the people you've been talking to just close their browser every half-hour so they never have a chance to run into problems? There's a memory leak, and it sucks. Badly.
Re:Memory (Score:1, Informative)
You would be correct.
XPCOM objects are reference counted. JavaScript objects are mark-and-sweep garbage collected.
The problem comes when an XPCOM object holds a reference to an XPConnect-wrapped JavaScript object. The XPConnect object holds a "root" reference to the JavaScript object. This means that the JavaScript object will never be GCed, and anything it references will never be GCed.
So, now, if you create a circular reference between a JavaScript object and an XPCOM object, the XPCOM object will mark the JavaScript object as a root object, preventing it from ever being released, and the JavaScript object will prevent the reference count of the XPCOM object from ever falling below 1.
Hence, neither will ever be collected.
What's a good way to create a circular reference between JavaScript objects and XPCOM objects? Generally speaking, adding JavaScript objects as event handlers, and having those JavaScript objects hold a reference to some XPCOM object. Screw it up, and you can easily have a JavaScript object added as an event handler hold a reference to the entire DOM tree (hold on to one DOM node, you have access to the entire tree - ie, the entire page).
So, yeah, it's easy for extensions to make a small mistake (mostly involving not being aware that JavaScript supports closures and making a closure that accedently contains a DOM object, and then forgetting to remove an event handler), and leak massive amounts of memory.
Re:Where are the rants? (Score:2, Informative)
Re:Questions . Features. (Score:3, Informative)
Nope. XUL is rendered using the same rendering engine that renders the webpages.
Simplest way to prove this is to install the DOM inspector and poke around the various XUL elements and corresponding CSS rules. Another way is to note the differences between how Firefox widgets work on Windows XP and how actual Windows XP widgets work.
First off, Firefox menus do not fade in and out like Windows menus do. When you open a menu, it's supposed to fade in. Selecting a menu options should cause the menu to fade out, with the selected menu options fading out slower than the rest of the menu. Firefox menus just appear and then vanish.
Next off, on the Options screen, group labels in Firefox are black. They should be blue (in the default blue Windows XP theme). Drop-down menus should slide down when clicked, they don't.
Under GNOME when I used it, Firefox screwed up the menus in one theme, but none of the others.
Anyway, XUL is rendered with the exact same engine that renders webpages. Mozilla just implemented some non-standard CSS rules that indicate that certain CSS blocks should be drawn like native widgets. But they most certainly are not rendered using native widgets.
Re:Browser Speed (Score:4, Informative)
Re:Here's something to fix (Score:2, Informative)
Re:Mod Parent Up (Score:2, Informative)