Slashdot Mirror


A First Look At Firefox 3 Alpha 5

abhinav_pc writes "PC World is reporting that Mozilla today made an early testing release available from its Firefox 3 browser. This alpha version (code-named Gran Paradiso) for the first time adds the anticipated Places feature for bookmarks. Firefox 3 alpha 5 also features a new password manager. A new crash reporting system called Breakpad is also now available in some Mac OS X and Windows builds but is not yet supported on Linux. 'Places will also be less likely to lose data in the event of program or Windows crashes. In fact, according to Connor, "We haven't figured out how to make Places lose data." For backwards compatibility and manual backups, Firefox 3 will save bookmarks in the traditional bookmarks.htm file when it closes. For other bookmark upgrades, Mozilla is planning to enable bookmark tagging, and is considering building its own synchronization client into the browser capable of backing up and sharing bookmarks. '"

22 of 217 comments (clear)

  1. my seemingly eternal question: by Tumbleweed · · Score: 5, Interesting

    Multithreaded UI yet?

    1. Re:my seemingly eternal question: by starwed · · Score: 5, Interesting
      Well, here's what Brendan Eich, Mozilla's chief technology officer, has to say about multithreading: Threads suck

      I'm not very clueful on such matters, but it seems like maybe the most important statement is:

      A requirement for JS3 (along with hygienic macros) is to do something along these more implicit lines of concurrency support. In all the fast yet maintainable MT systems I've built or worked on, the key idea (which Will Clinger stated clearly to me over lunch last fall) is to separate the mutable unshared data from the immutable shared data. Do that well, with language and VM support, and threads become what they should be: not an abstraction violator from hell, but a scaling device that can be composed with existing abstractions.
    2. Re:my seemingly eternal question: by Fastolfe · · Score: 5, Insightful

      I can't speak for the other poster, but one of my chief complaints about Firefox is when the UI hangs because a web page is doing something (loading or executing some bad javascript). I like to spawn off tabs to load in the background while I'm reading something else, and I regularly find Firefox completely unresponsive until one of those background tabs wraps up whatever the hell it's doing.

    3. Re:my seemingly eternal question: by kat_skan · · Score: 5, Insightful

      Yeah, that's great. Know what else sucks, Mr. Eich? The whole app becoming completely inoperative because one script on one tab is stuck doing who knows what. Smacks of the old "dialog boxes suck" line that was used to explain why we couldn't have a confirmation box to avoid accidentally shutting down the entire app when we were just trying to close a tab.

    4. Re:my seemingly eternal question: by starwed · · Score: 4, Insightful

      You do realize the statement that X is not a solution to problem Y is not the same as saying that problem Y won't or shouldn't be solved. Right?

      (And make sure to read his comments on the main post for specific responses to the issue of UI.

    5. Re:my seemingly eternal question: by zig007 · · Score: 5, Interesting

      That they don't fix that raises a different question that is quite interesting. Well at least i think so.. :-)

      A friend of mine recently talked about someone..who's name i don't remember right now(a couple of beers were involved), that worked with systems security on fighter airplanes, claimed that fixing almost only high-priority bugs made the system worse.

      This was very well documented, about 20 or 30 years of development had been analyzed.
      He said that if the users seemingly low-priority complaints was given more weight(adressed more often), it made problems of all severities go down. Significantly.

      His conclusion was that the smaller problems contributed to a more messy system where more serious problems might go unnoticed.

      Not to mention that a happy customer is better than a dead one for other reasons :-)

      --
      Baboons are cute.
    6. Re:my seemingly eternal question: by gbjbaanb · · Score: 5, Insightful

      After reading his blog entry, I think that I know the reason he doesn't like threads. If he codes even a tiny bit like he writes then I wouldn't be surprised if his single-threaded apps had race conditions and deadlocks.

      I think he's also a little stuck in the 80s - 'virtual method calls cost'. yup they do, but on a 3GHz machine, the cost is literally negligible. The cost to allocate 1 byte of memory from main ram costs more than the entire time spent fixing up virtual method calls for an entire day! (and if I exaggerate about the comparison, let me remind you firefox allocates a little more than 1 byte of memory...)

      He could easily put 1 thread per tab and not have any concurrency issues, no race conditions, no deadlocks. As long as he slapped a single mutex around memory shared between tabs and held it for as short a time as possible, then there will be no problems. Simple, easy, safe and yet so effective! You don't need to add threading within a javascript script - that'd be overengineering worthy of the FF memory leak.

      Mozilla needs a new CTO, someone who can talk abotu stuff they know what they're talking about, not someone who likes to speak as eruditely as possibly (probably to make himself sound more intelligent) and leave the incomprehensible, management-style buzzword-speak alone.

    7. Re:my seemingly eternal question: by suv4x4 · · Score: 4, Insightful

      I can't speak for the other poster, but one of my chief complaints about Firefox is when the UI hangs because a web page is doing something (loading or executing some bad javascript). I like to spawn off tabs to load in the background while I'm reading something else, and I regularly find Firefox completely unresponsive until one of those background tabs wraps up whatever the hell it's doing.

      I second, triple, quadruple that. I absolutely hate the responsiveness of Firefox.

      It's as if it's not waiting for a simple stream to send data, but doing something extremely CPU intensive. It truly seems like it locks up the entire process while it's doing something.

      Neither IE7 or Opera do that and the browsing experience with those two is completely different just because of this performance issue in Firefox.

    8. Re:my seemingly eternal question: by romcabrera · · Score: 5, Informative
      Opening PDF files in the browser

      enough said.

    9. Re:my seemingly eternal question: by suv4x4 · · Score: 5, Insightful

      A requirement for JS3 (along with hygienic macros) is to do something along these more implicit lines of concurrency support.

      He said that? Shit.

      Let me put things perspective. Tamarin (the Adobe Flash script engine) is currently implementation of JavaScript 2.0 and not 3.0. It'll show up not in Firefox 3, but Firefox 4 earliest.

      To get it from JS 2.0 to 3.0 (which doesn't exist even in the form of a draft yet), it'll probably mean few more major versions, Firefox 7, Firefox 8 maybe?

      Firefox doesn't just run JavaScript in the pages on JavaScript. Instead, the whole damn thing is a big swat of JavaScript, that talks to the XUL/Gecko components.

      So it'll be some 5-10 years before we see multithreaded Firefox? Nice. Perfect.

      Now.. when do we expect multicore desktops and laptops to start showing up, and the competition (IE/Opera/Safari) making use of multiple threads to massively improve the responsiveness of their UI? Oh yes... yesterday.

      Why is this whole story so familiar? It's Netscape all over again:

      "Let's just wait and add bloat and not do much about our biggest problem, since The Solution Has To Be Perfect. Threads suck, instead we'll wait for Something Perfect to manifest in reality for us."

      At the same time the competition uses whatever's out there and works, and runs past them.

      And they will be like "oh shoot, we can never fix this in time, it's all based on JavaScript/XUL, we need a rewrite". Then they disappear for 5 years while trying to rewrite their newly formed mess, and Microsoft stops development at IE8 and stagnates.

      Nice.

    10. Re:my seemingly eternal question: by Chandon+Seldon · · Score: 3, Insightful

      But just as a general thing, unless you are talking about spreading stuff between cores, an event-driven model will almost always beat a multithreaded model, at least performance-wise.

      It's true that a synchronous event loop generally has better throughput on a single processor core than any sort of multi-threaded construct. But, that doesn't make it the right architectural choice for a web browser. First, computers are fast enough that a 15% throughput penalty is irrelevant compared to the much more important issue of latency - when I click in a Firefox window, I want there to be a thread listening, I don't want my event to wait in a queue for half a second for the event loop to get to it. Second, I hear multi-core processors are pretty common, and my guess would be that they're getting more common rather than less common.

      --
      -- The act of censorship is always worse than whatever is being censored. Always.
  2. Places by morgan_greywolf · · Score: 5, Funny

    "We haven't figured out how to make Places lose data."


    rm -rf .mozilla

    1. Re:Places by WhyDoYouWantToKnow · · Score: 5, Funny

      Come on, that's hardly a cross platform solution.

      --
      "Oh drat these computers, they're so naughty and so complex. I could pinch them."
      Marvin the Martian
  3. Re:Memory Hog by CastrTroy · · Score: 3, Interesting

    What are you doing? Opening up a 150 MB XML file in that one tab? Seriously. I know Firefox has some memory problems, but that is not anything like I have ever seen. Most of the actual "leaks" i've seen involve flash and web pages that continually add stuff to the DOM with javascript and leaving them open overnight. I haven't seen many other huge memory problems. I've had Firefox open for days and have browsed to hundreds of pages and I'm still only using 132 MB.

    --

    Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.
  4. DId they fix the print bug? by lhouk281 · · Score: 4, Insightful
  5. I don't care about new features by Anonymous Coward · · Score: 3, Interesting

    I want to know if the geriatric, yet debilitating, bugs have been fixed. For example, bug #154892, "splitting absolutely positioned frames" that prevents people from printing many web pages from Firefox.

    I'd also like the developers to think about the little subtleties that, as a Mac user, I take for granted from other applications. For example, when Firefox creates a new window it shouldn't be falling off the bottom of the screen.

    Also, why does Firefox insist on displaying two different Mozilla pages after Firefox has been updated rather than just displaying my regular start page? This is rude and insulting. It does nothing for me. Finally, after 45 minutes with Google, I did figure out how to effectively disable this "feature" (about:config then change the keys named startup.homepage_welcome_url and startup.homepage_override_url to my regular start page) so that I merely get two start pages instead. (BTW, this "feature" cannot be disabled in Camino -- it appears to be hard coded in to the application bundle.)

    There are many things I like about Firefox, specifically several extensions, but other things like those mentioned above that routinely drive me nuts -- I could keep listing them, but will spare everyone.

    I would like to kindly suggest that the Firefox developers sit down and fix the irritating quirks, ancient bugs, and brain dead behaviors before adding new ones.

  6. Good idea... by eddan · · Score: 5, Funny
    Quote from the blog entry on the new password manager:

    The first part, a long slog of untangling and porting the old C++ code to JS, is now complete. Now, THAT sounds like something you want to do. I always mock up something quick in C++ and port it to JS afterwards.
  7. Nothing to see here. by the_kanzure · · Score: 3, Interesting

    Maybe it is time that we seriously discuss the state of browsing the world wide web and suggest some new browser features to implement, not just "bookmark tagging". Can't we come up with something to increase browsing productivity more than "bookmark sharing" ? Brainstorming in groups is useful in this situation.

    I use the Opera browser to open up 200+ tabs in one single session at a time, and it would be useful if they implemented more session management, such as the ability to add tabs to specifically saved sessions. Same goes for Firefox.

    Let's increase the number of pages that we can view per day. When you look at the numbers, we view a surprisingly small percentage of the content available on the WWW re: nearly any subject. The fact that the limit to the number of tabs that can be opened in one active browsing session is somewhat dependent on how much the browser can handle at once seems silly- cached tabs and an ability to predict which tabs the user might pull up next would be useful (though no fancy prediction algorithms, that would be too much).

    There is a suggestion on the Opera discussion boards about a "rush mode" for viewing tabs such that you can strategize which tabs you are to go to next when you close the current tab. That would be a useful plugin to implement. Speaking of which, where do we draw the line between plugin and component to distribute with the browser?

    The web history features can also be improved, perhaps graphical illustrations of the pathways through the world wide web would be an improvement, such that there is no longer this linear time dependency, when in truth we go through many tabs and have many separate histories building at once. There's lots of information being lost in current history tracking.

    And, does anybody else use browsers as extensively as I do? I would be interested in meeting with some of you and discussing strategies for increasing web browsing and content consumption rates.

  8. Re:bloat bloat code your bloat... by fullphaser · · Score: 3, Funny

    merrily merrily merrily, bug free is but a dream

    --
    Did someone say cake?
  9. Re:Does it pass ACID2? by suv4x4 · · Score: 4, Insightful

    IMHO, they should first focus on making Firefox 2.x pass ACID2. I'm using Opera 9.21, because it passes ACID2 and had the fewest security bugs. Web standards compliance matters, because non-compliance makes creating rich web sites a royal pain.

    Passing ACID2? Is this sort of like passing GAS3, maybe?

    While busy explaining how important standard are, you forgot to mention ACID2 isn't anything like an official standards test, and doesn't confirm standards compliance.

    It just confirms it supports the features used in ACID2, in the precise context of the ACID2 page. Opera has rendering bugs and many unsupported features just like Firefox.

  10. Re:Why doesn't anyone port Dillo to windows? by Kelson · · Score: 3, Informative

    Remember, that 400k does *not* get you scripting, CSS, or plugins. You aren't going to be viewing YouTube with Dillo anytime soon.

  11. Re:bloat bloat code your bloat... by ampathee · · Score: 4, Insightful

    I'm getting pretty sick of this kneejerk comment to any firefox related story. Seriously mods, that was insightful?