Filed under: Software, Internet
Firefox 3 under the hood
Firefox developer Josh Aas has an interesting technical discussion about what's new in Firefox 3 for Mac OS X. Chiefly, he talks about Gecko 1.9, the updated rendering engine for Firefox 3.
The most significant change, he notes, is that Gecko 1.9 is now written in Cocoa instead of Carbon. Also, Gecko 1.9 uses Core Graphics and ATSUI instead of QuickDraw. QuickDraw is deprecated and the writing is on the wall for Carbon, so moving to newer APIs was a priority for the Gecko team.
Firefox 3 release candidate 2 3 is available in over 45 languages. Mozilla has not yet announced when the final release of Firefox 3 will be available.
Update: 6:00 p.m.: Release Candidate 3 is now available due to a bug related to Mac OS X 10.5.3. Check out the Macworld story for more details.

![TUAW [Cafepress]](http://www.blogsmithmedia.com/www.tuaw.com/media/tuaw-cafepress-promo.png)


Reader Comments (Page 1 of 2)
mingistech said 11:19AM on 6-11-2008
Ok... if Firefox is all Cocoa now... whats the point of Camino.
Camino's claim to fame has always been the Gecko engine and UI being fully Cocoa.
Now that Firefox is Cocoa, and you get all the extension goodness why would anyone still be hanging onto Camino.
Reply
Andy said 5:09PM on 6-11-2008
While I haven't used Camino much, I think that it has much better overall integration with the OS than Firefox does (although Firefox 3 is much better than 2). Someone above mentioned Keychain integration, which is the big one - I think it has others as well, although I'm not sure off hand.
Michael said 12:51PM on 6-11-2008
"Ok... if Firefox is all Cocoa now... whats the point of Camino. "
But it's *not* "all Cocoa". Much of Firefox is done with XUL, Mozilla's own interface language:
http://developer.mozilla.org/en/docs/The_Joy_of_XUL
And Camino isn't all Cocoa, in any case (it uses some Carbon stuff as well). But Camino *is* all native. Firefox never was, still isn't, and never will be. It's a cross-platform app.
It just uses *more* Cocoa than it did. That's all.
Think Firefox is "all Cocoa"? Open its Preferences and click the "Advanced" tab. Look at the tabs "General, Network, Update, Encryption". The tabs aren't like that in a Cocoa app. Look at the tabs at the top of the Preferences in TextEdit. They're not like that, are they? Firefox doesn't even *look* like a Cocoa app. Similarly the title bar is the same color whether the app has focus or whether it doesn't. That's not true of native Cocoa (or Carbon) apps
Can you use the default keybindings that work in any Cocoa app in Firefox?
http://www.hcs.harvard.edu/~jrus/Site/System%20Bindings.html
No.
Have you got access to the Services menu? No. Can you get word-completion by hitting F5 after you begin typing a word in a text-field in Firefox, as you can in any Cocoa text-field. No, because those aren't Cocoa text-fields. Can you call the OS X dictionary by pressing Control+Command+D, as you can in any Cocoa app? No.
And so on, and so forth. ...
In fact, you can see the application isn't built entirely from Cocoa by looking in the package. Right-click on Firefox's icon in the Finder and choose "Show Package Contents". Now navigate to the directory called "Mac OS" and have a look. In any native app there will be an executable in there, and that's all. That's not true of Firefox. Compare what's in Mail.app in the "Mac OS" directory, for example.
"What's the point of Camino?" is a different question. I don't really know. Why would I want an alternative browser, even one that integrates better with the system than Firefox does, when Safari is now mature enough to cope with most sites and now ubiquitous enough that most sites take care to make sure they work with it?
Nick K. said 11:21AM on 6-11-2008
I downloaded it yesterday-
Still has a huge memory footprint. I want it to stay at UNDER 100MB, please. A web browser shouldn't get to 300MB *coughcoughSafaricoughcough*
I changed the Quicktime preference to not save videos in the cache, etc, but it still doesn't help at all. With 3GB of RAM, I still have swapping...
Reply
Rhywun said 12:30PM on 6-11-2008
> A web browser shouldn't get to 300MB *coughcoughSafaricoughcough*
I thought this myth was dispelled ages ago. Browsers cache stuff. If you need the memory for something else, it will release it. Otherwise, there's no point letting your RAM sit around doing nothing.
dysproseum said 12:35PM on 6-11-2008
i still have this problem too, that was the one thing i wanted fixed in FF3.
Nick K. said 12:35PM on 6-11-2008
But that's not the problem- It gets out of hand, after 5 minutes, it gets to 200MB. There's no way one website caused Safari to cache over 150MB of data. And right now, with only Safari, my 3GB 10.5.3 Macbook is hovering at around 44% RAM usage.
Tim F. said 11:44AM on 6-11-2008
How come no one is saying anything about one major benefit Camino has over Firefox? Weren't we promised keychain integration with FF 3?
Reply
Farmer Joe said 11:52AM on 6-11-2008
Firefox 3 still crashes on certain websites. Camino handles them fine.
Reply
mingistech said 12:07PM on 6-11-2008
Can you provide an example site that crashes FF and not Camino... I'd be interested in seeing this first hand.
pythonic said 3:27PM on 6-11-2008
FF3 RC2 on OS X has a nasty bug that causes crashes when certain plugins (Flash, Java) are loaded. This should go away in RC3.
Nick K. said 12:07PM on 6-11-2008
Firefox 3 gets a 71/100 on the ACID3 test. Safari 3.1.1 (current version) gets a 75/100.
Reply
Mr Lizard said 6:01PM on 6-11-2008
What does that mean for me as a user?
jasonpoon said 12:14PM on 6-11-2008
So is it possible to use the dictionary tooltip (ctril+cmd+D) in Firefox?
Reply
William Donelson said 1:06PM on 6-11-2008
Firefox is a bloated hippo, and Sloooooow.
Reply
Joe said 1:30PM on 6-11-2008
Have you tried the latest release candidate (which is the subject of this post)? It is nearly as fast as Safari. I haven't used Camino since just after I switched to the Mac last summer, but its lack of drag and drop tabs prevented me from ever considering it. Firefox may not be completely Cocoa, nor will it ever be because of its cross-platform nature, but it is actually and finally a really good browser on the Mac. I still use Safari most of the time, but Firefox works just as well, especially if you install Grapple instead of the lame default theme.
Simon Arch said 1:30PM on 6-11-2008
Spoken like someone who hasn't tried it since 2.0 was released.
koda said 3:24PM on 6-11-2008
i wonder why in every mac blog that's speaking about firefox, we must always end up in browser war!
firefox 3 is more cocoa than before? very nice :)
i hope that future realeases will continue developing more this wonderful app!
Reply
Wheelie4 said 4:43PM on 6-11-2008
They never said FF3 is all Cocoa. They said the browser ENGINE (Geiko v1.9) is all Cocoa.
Reply
David said 5:26PM on 6-11-2008
I might want to comment that RC3 is now out...
Reply