Slashdot Mirror


DHTML Bug Found in Mozilla 1.2

joyoflinux writes "The people at Mozilla have announced that Mozilla 1.2 contained a bug that caused sites that use DHTML to fail (more on the front page). They have pulled 1.2 from the releases page, pending a 1.2.1 release."

27 of 351 comments (clear)

  1. Interesting by fucksl4shd0t · · Score: 5, Insightful
    Interesting that every couple of months when Mozilla has a bug or exploit or something people talk all kinds of trash, but forget about other competitors (IE) that have new exploits almost daily.

    All in all, bug for bug, line by line, even accounting for the massive differences in complexity (mozilla is by far a more complex project that IE ever wanted to be), I'd have to say that Mozilla has less show-stopping bugs and fewer exploits than IE.

    --
    Like what I said? You might like my music
    1. Re:Interesting by whereiswaldo · · Score: 5, Insightful

      OK, maybe you're right about the fact that MSIE has more security flaws than other browsers. That's also because more people are using it and more people found bugs.

      I see your point, but it's not exactly that simple. A good example I can point out is the Apache webserver. It got hit hard with the Code Red virus just like IIS did. Only it wasn't susceptible like IIS was.

      Still, Mozilla and Netscape will never be first class browser with large user base.

      How can you say that? Linux stared out as a tiny OS which only supported IDE hard drives. Now look at it. OSS projects can mature at a rapid pace, especially those which are fueled by many people. How many people work on IE? How many on Mozilla? Is there much of a difference? (I don't know)

      Don't even think about commercializing Mozilla when it can't open certain DHTML sites.

      FYI: AOL's Netscape is based on Mozilla. I'd say it's been commercialized. Don't worry, the bug will be fixed shortly, most likely.

      Progressive JPEG rendering

      That's a minor bug, IMO.

      Keep tabs on mozilla.org in the next week and see how things happen.

    2. Re:Interesting by Blkdeath · · Score: 2, Insightful
      You're not actually blind enough to think that linux is "first class with a large user base" are you? Linux still is a "tiny OS".
      You're not actually silly enough to think the end-(l)user base is the only market that defines an OS's userbase, are you? Why is Microsoft so afraid of our "tiny OS"?
      --
      BD Phone Home!

      Shameless plug. Like you weren't expecting it.

    3. Re:Interesting by ColdGrits · · Score: 4, Insightful

      There is no security flaw primarily because your code is fataly flawed in terms of syntax and won't even compile.

      Kinda tricky to exploiut security flaws in something that won't even compile, let alone run.

      --
      People should not be afraid of their governments - Governments should be afraid of their people.
    4. Re:Interesting by atam · · Score: 4, Insightful

      How can you say that? Linux stared out as a tiny OS which only supported IDE hard drives. Now look at it. OSS projects can mature at a rapid pace, especially those which are fueled by many people. How many people work on IE? How many on Mozilla? Is there much of a difference? (I don't know)

      A lot of people forgot that IE also started off as an also-ran (maybe they were too young and joined the internet too late to observe that). People at that time joked and ignored IE when comparing it to the then de facto standard Netscape. But then MS, thru innovations as well as dirty tactics while Netscape showed little improvement, the IE became the new king. I can't see why Mozilla could not repeat this history to dethrone IE.

  2. What?!?! by trotski · · Score: 5, Insightful

    A bug in mozilla??? No way, you've got to be jokeing!!!

    Seriously though, although Mozilla has it's faults, (this being a prime example). It is still the cutting edge of browser technology. I mean, theres one feature that wins over every person I've recommended Mozilla to: the ability to stop pop ups from apearing. ALthough Mozilla is still rough around the edges, it is still my browser of choice.

    --

    "Entropy is the bad-guy, and he is everywhere"
    1. Re:What?!?! by Blkdeath · · Score: 2, Insightful
      I don't get it. Why give every app have a half-assed window manager with its own quirky UI rather than making the system window manager usable?
      Remember that Mozilla is in use across many OSs, each with their own quirks when it comes to window managers. It makes Mozilla more streamlined across all of them; configuring the same profile across Linux, FreeBSD, Win'98, Win2k, WinXP, OS/2, etc. I get the exact same UI. Besides that; tabs are way more convenient than new windows. New windows = more clutter on your desktop and taskbar (very important for those of us who perpetually have a dozen or two windows open), more clutter on your desktop itself ('How many layers deep is Mozilla window eighteen of thirty?'), and having short summaries of each tab right in front of my face is extremely convenient. It's not replicating a window manager's functionality because it's only one window.

      To summarize (and support) what others here have been saying; you don't know how nice tabbed browsing is until you've tried it. I used to be skeptical myself until I started using it, now I hate browsing without it.

      (For fun; use tabbed browsing, disable pop-ups and most of the annoying JavaScript functionality and use Mozilla exclusively for a month or two, then use IE. If you don't want to claw your eyes out within the first ten minutes, I'll mail you $20 of your country's currency)

      --
      BD Phone Home!

      Shameless plug. Like you weren't expecting it.

  3. Mozilla Bugs... by trotski · · Score: 5, Insightful

    Finding Bugs like this is proof that Mozilla is well on the way to becoming the world's best browser. With open source and lots of people contributing, bugs are found and elliminated quickly.

    Microsoft IE on the other hand, bugs take time to find and even more time to repair due to the slow reaction of a large organization. This is probably why we hear so much about Mozilla bugs, they're far easier to uncover than bugs in IE or other browser.

    PErsonally, I think Mozilla users should concider this a Good Thing, it means that your browser of choice is getting better!

    --

    "Entropy is the bad-guy, and he is everywhere"
  4. Re:Some bugs are more buggy than others? by fucksl4shd0t · · Score: 2, Insightful

    That could be a limitation caused by the cross-platform nature of the application. In wxWindows, a textbox widget can only store about 4000 bytes, but a richtext widget can store a lot more. Problem is, richtext isn't available for GNU/Linux, it's only for windows. I'd like to see it dealt with too, though, just because that's an irritating bug to have.

    --
    Like what I said? You might like my music
  5. Re:Oh, the OSS zealots would say this is a "featur by eloki · · Score: 2, Insightful

    They would never admit this was a bug.

    Sure it is.

    If this were an IE bug, you'd never hear the end of it.

    It's bad that this bug wasn't caught before the release - you'd think someone would have tried out a few DHTML sites, though I don't know the details. But at least it's not a security flaw, which we can be thankful for. That's what the last couple of IE bugs have been.

  6. but HOW? by FuegoFuerte · · Score: 5, Insightful

    What I'd like to know (and this is NOT meant as a flame any way, I love mozilla), is HOW exactly do big bugs like this get into final releases? I mean, the 1.2 release was more than a month behind what was scheduled on the roadmap, and yet it still ends up with this in it? Is it just the number of people who don't bother with nightlies or reporting bugs? I would think there would be enough people using the nightlies to find fairly significant bugs like this. Perhaps the fine mozilla people need to add a "gamma" release after "alpha" and "beta" but before "final"? Have the gamma and final be seperated by one week, and ONLY incorporate bugfixes which don't affect major parts of the code? I don't quite know what the answer is, but it seems something should be done. All in all though, great browser.

  7. Re:Talk about spin and hyposcrisy. by IamNotWitchboy · · Score: 5, Insightful
    it's not really the presence or absence of bugs in the software. We all know that every softwarehas bugs.

    it's rather the way these bugs are treated and fixed. With a MS product, some bugs are not acknowledged until they have a fix, sometime months after the first discovery.

    with an open source model, bugs are public and are generally much quicker to be patched.

    --
    The best cure for insomnia is realizing that it is already time to get up. EsteEncanto.com - Blog on technology, urban
  8. Re:Oh, the OSS zealots would say this is a "featur by Spy+Hunter · · Score: 5, Insightful
    If this were an IE bug, you'd never hear the end of it.

    No, if this were an IE bug, sites would have been designed around it in the first place and no one would ever notice except for the web designers.

    --
    main(c,r){for(r=32;r;) printf(++c>31?c=!r--,"\n":c<r?" ":~c&r?" `":" #");}
  9. Re:1.0.1 and 1.1 too good! by Querty · · Score: 4, Insightful

    That's actually not entirely true.

    One of the websites I helped build is broken in 1.2 (just noticed it yesterday). This was working fine in 1.2b, as well as in a homebuilt CVS version somewhere in the cycle leading up to 1.2.

    I think a "Release Candidate" should have been put out, which when tested for a while should have become 1.2 final without any further changes.

  10. Pardon? by Shade,+The · · Score: 3, Insightful

    This was a pretty major(ish) bug (though not security related, like the majority of IE's) that they found in a major release. In short, the Mozilla crew, programming gurus though they may be, screwed up.

    They don't make excuses. They've pulled the browser and are working on an update. Please don't make excuses for them.

  11. Composer & scripting issues. by Anonymous Coward · · Score: 5, Insightful

    As Mozilla issues go, this has got to be one of the more annoying ones, but apparently nobody wants to actively work on it. "Composer" is actually not a bad WYSIWYG html editor at all - it has alot of potential. But as long as it strips / corrupts PHP and other scripting code, it will never be very useful to anyone doing anything beyond the most trivial of web pages.

    The Mozilla-dev folks need to wake up and realize that just about any web designer these days is using some degree of scripting.. Composer needs to at the very least ignore (and not corrupt) scripting blocks. Composer is quite an excellent html editor generally, but as long as it continues to act brain-damaged in regards to any unknown blocks it encounters, it is not going to be truly useful for anybody other than your Great Aunt Emma working on her Geocities homepage.

    Right now, if you need PHP and still want to do your page design in Composer, you have only two options: (1) Every time you tweak the page in Composer, insert all your PHP by hand, or (2) Put your own "#PHPBlock1" tags in the html and have a script replace it with the neccessary PHP code later. Having to do either is annoying. Composer simply shouldn't mangle PHP blocks at all.

    I'm pretty sure there's another outstanding bug regarding the fact that Composer cannot save 'fragments' - if you're merely designing a table or template to be generated via PHP, there is no way to have Mozilla save it as a fragment, without header tags etc. A bit of a nitpick, but really, how much effort would it take to code in a "Save as fragment" option?

    Mozilla is quite an impressive accomplishment for open source, I really do think Mozilla smokes IE hands down these days.. but these Composer bugs should have been fixed long ago - not enough people care about this aspect of Mozilla. A little bit of work here could go a long ways towards undercutting commercial HTML editors in a big way.

  12. Why this bug is considered "serious" by caillon · · Score: 5, Insightful
    I'm surprised that: A) this is considered a serious bug--who actually uses DHTML? and B) they're "recalling" the release, as it were. Tainted Mozilla meat.

    Is it not enough reason that this is a bug? We should stop release for all bugs! But seriously....

    A big reason is that DHTML is pretty much just a way of saying the W3C DOM and a few DOM Level 0 (no spec) APIs. This bug effectively cripples our standards support and I would definitely call that serious.

    On top of that, with every release, there is a chance that some embeddor will want to base their product off of it. Embeddors generally like DHTML, and this would be a show stopper for them.

  13. OSS Bug Jumping vs Commercial by Anonymous Coward · · Score: 3, Insightful

    It's really sad to see advocates of Windows/Microsoft jumping on every bug in OSS. Surely, we [OSS developers, users, lovers] criticize the downsides of commercial, closed-source software - but we don't go party, if there is a bug announced and say "ha ha, you aren't any better than we".
    Surely we are all human and we make mistakes - commercial programmers do and those who do it in their spare time. I don't like closed-source either, but that is, because I can't go edit the source if theres something strange going on and maybe aid the developer hunting that down.

    OSS is about something totally different, that is, _contribution_, fun and a good feeling to help others.
    Most of us aren't elitists who cry "foul", when someone is actually using Windows, be it to play a game or use Excel (imho the only good programm of MS). But we don't hesitate to explain users when they are expiriencing the typical down-sides how this would be totally different with Linux/....

    I have contributed to mplayer (that DVD-key-caching-patch) and it's a wonderful feeling to know that you made the life of other users as well better and easier. A friend of mine did the "devfs" support - and it's a great feeling knowing all you around the world enjoy this.

    1. Re:OSS Bug Jumping vs Commercial by Izeickl · · Score: 3, Insightful

      "It's really sad to see advocates of Windows/Microsoft jumping on every bug in OSS. Surely, we [OSS developers, users, lovers] criticize the downsides of commercial, closed-source software - but we don't go party, if there is a bug announced and say "ha ha, you aren't any better than we"."

      Erm, is there another Slashdot site out there I dont know about?? I dont feel the need to post links to prove my point, one just has to go through Slashdot archives to prove otherwise to your argument.

    2. Re:OSS Bug Jumping vs Commercial by Alomex · · Score: 5, Insightful

      but we don't go party, if there is a bug announced and say "ha ha, you aren't any better than we".

      Hello? For years when IE was still in its infancy, every bug was celebrated and shown as "proof of incompetency" on Microsoft's part.

      Even now every time a severe bug is found in Microsoft /.ers celebrate like a bunch of immature teenagers, fogetting that OSS is not going to succeed because how bad the competition is, but because how good a given OSS is.

  14. Re:Mozilla 1.2 - The Release that Shouldn't Have B by caillon · · Score: 5, Insightful

    "The Mozilla team had been alerted to major bugs which only recently appeared in the browser"

    Sorry. Just because you filed a bug and posted a comment on another does not mean the Mozilla team was alerted. If there is a showstopper bug, filing it in Bugzilla does not guarantee it will get noticed if everyone is busy with final preparations for a release, and trying to get ready for the impending alpha. Don't forget that the people involved with Mozilla get tons of email from bugs, review requests, etc. as well as have real lives in which they eat turkey and go Christmas shopping. Bugs sometimes slip through the cracks. Hop on to IRC next time and make sure that one of the drivers, or even a developer or QA person knows about your bug if you think it is an absolute showstopper.

    It definitely sucks that this bug was in a release. But things happen. Hopefully it won't again.

  15. Mozilla as AOL/TW corporate initiative...? by nazgul000 · · Score: 5, Insightful

    Caveat: I use Mozilla as my primary browser. That said, I'd like to make this observation:

    It seems to me that we spend a lot of time on Slashdot talking about Mozilla as a premiere project of the open source community. However, my impression is that Mozilla is largely still an internal project of Netscape (and by extension of AOL Time Warner). This impression is based on, among other things, the very large number of @netscape.com email addresses that pervade Bugzilla, the mozilla.org web site, etc. I can't believe that Netscape's engineers restrict themselves to working solely on their release branch of the Mozilla codebase during working hours.

    I don't think it at all diminishes the magnitude of the Mozilla project's achievement to say that it has made progress largely under the aegis of AOL/TW. But we should at least be honest that Mozilla is furthering the agenda of a very large corporation that is just as rapacious and profit-motivated as Microsoft.

    Anyone have any hard data about the investment that AOL has made in Mozilla development?

    1. Re:Mozilla as AOL/TW corporate initiative...? by caillon · · Score: 3, Insightful
      Without a doubt, Netscape has been the largest single contributor to the Mozilla project. Of course, they want to see Mozilla (and their Netscape branded derivative in particular) succeed. But Netscape does not control the project. Sure, they have their influences with what their developers work on, but there's nothing wrong with that. Outside contributors have their influence of what they work on too.

      You said "Mozilla is furthering the agenda of a very large corporation" which I would agree with. Mozilla furthers the agenda of several other companies as well: OEone, ActiveState, IBM, etc... But Mozilla could not do that alone. If Mozilla has played a part in furthering Netscape's agenda, Netscape has played an even bigger part in furthering Mozilla's agenda. The staff and drivers of mozilla.org try hard to ensure that happens.

      This may not be the best example (there are many others that would suit better) but I was reading bug 7 0 7 4 6 at the time, and figured I would post a few comments from it:

      ------- Additional Comment #13 From Blake Ross 2001-03-20 14:35 -------

      By the way, having sat on these changes for over two weeks (and enduring
      multiple merge conflicts), I'm not particularly interested in waiting until
      someone finds the time to fix the other commercial cases. These changes are
      going to break Alphanumerica and MozDev products also, as well as potentially
      any other xul-based app out there, and while I'm certainly willing to help,
      they're not waiting until every commercial vendor's branch is ready (such is
      pre-1.0 development).

      ------- Additional Comment #17 From David Hyatt 2001-03-20 16:21 -------

      Blake, I feel your pain, but I work for Netscape, and therefore can't approve a
      patch that will bust up the commercial tree.

      Are there any volunteers to convert the rest of commercial (outside of AIM)? I
      would do it myself, but this kind of bug just kills my hands.

      ------- Additional Comment #18 From Mike Shaver 2001-03-20 17:05 -------

      Hyatt: acting as module owner, you certainly _can_ permit a change that will
      break a closed source base, especially after the developer (Blake) has gone to
      such reasonable lengths to get someone to fix said closed source base. There
      are lots of other source trees, as Blake points out, that will break because of
      this (in the short term), and he's offered to help with the ones whose authors
      are not actively preventing them from providing such assistance (as is
      Netscape/AOL, in this case). We held off until 0.8.1 to minimize the pain of
      this checkin, and the time has come to bear what pain remains.

      If you don't feel that your employer will let you fulfill your
      Mozilla-module-owner responsibilities, please let us know, because that's the
      kind of problem that we have to solve quickly.

      ------- Additional Comment #19 From Brendan Eich 2001-03-20 17:42 -------

      Module owners whose employers pay them to keep commercial add-ons working along
      with their Mozilla modules have to wear two hats: one for their employer, one
      for Mozilla. If there's a conflict, Mozilla wins, or we need a new module owner
      (at least _pro tem_). Life's rough. Let's get these changes landed.

      It sounds like all but Mac builds have been tested in any case. True?

      /be
  16. Way to go Mozilla team! by Lokist · · Score: 2, Insightful

    We've discovered a bug in Mozilla 1.2 that can cause DHTML on some sites to fail. We plan to release Mozilla 1.2.1 with a fix shortly
    This is what I like to see! This is why Open Source is a very good thing... They discovered there was a bug.... They officially announced that they will be releasing a patch soon... If I can make an educated guess I probably would say a patch would be out by Monday or Tuesday...

    The point I am trying to make...Companies or groups of developers that are not obsessed on how much money they make with there code are more likely to take pride in what they do and patch exploits or bugs really quickly...

    It has been proven hasn't it?

  17. Re:Great browser for half the Internet by Blkdeath · · Score: 2, Insightful
    Just spent half an hour trying (unsuccessfully) to persuade Mozilla not to reduce all the pages on a French government site to 4 point text (why would this be a feature for anyone unless your name is Stuart Little?).
    Mind sharing a URL? I've got a minimum font size of 13 configured (my eyes, well, suck. :/ ) and I haven't had many problems. ATI's site used to be horrendous in that regard (I swear they were using 2pt fonts!) but now the web is readable.

    BTW - a lot of the sites that won't work with Mozilla are in such a state due to retarded webmasters who do browser-checks. For whatever reason, Sprint Canada has decided that "Netscape 7 is not supported", whereas Netscape Communicator is. Wait - scratch that. I seem to be able to browse their entire site using Phoenix and Mozilla 1.2. Ok, so they've fixed themselves.

    If you don't like the fact that a site doesn't work in a standards-compliant browser like Mozilla, complain to the webmaster not Slashdot.

    --
    BD Phone Home!

    Shameless plug. Like you weren't expecting it.

  18. The real cause of the DHTML bug by jesup · · Score: 4, Insightful

    The DHTML bug was caused by an 1-character-incorrect backout of a patch that I did in too much of a hurry (removed the entry from the list, but didn't adjust the count). Mea Culpa. This happened 2 weeks before 1.2 final, but most testers were working on 1.3 by that time, and the ones that weren't didn't visit the type of DHTML that causes the problem (most DHTML doesn't have the problem). There was a separate problem where the wrong files were tagged (some recent fixes weren't included).

    We're fixing these and will have an updated build up soon. How long would Microsoft take to fix this sort of problem?... (Let alone tell you why the problem happened.)

  19. Re: Ha.. no humor left on slashdot by Jimithing+DMB · · Score: 3, Insightful

    Man.. back in the day the parent post would have been +5 funny. It's not a goatse.cx link, just a decent looking girl (being penetrated in an awfully strange position, but yes, it is porn after all). Besides, linking to CoolSweetGirls.com might be a tip-off that it is porn... just maybe

    Please.... please... have a sense of humor once in a while.

    The original comment follows (without the link, which originally went to an image on a porn site)

    I actually tried and downloaded Mozilla 1.2.1 for Windows today. Having installed it on my computer, I tried going to some DHTML-based sites. However, I still keep getting the same error message as 1.2.0 :(
    For example: this site won't work

    Of course now the joke is completely ruined.. dickhead trolls and moderators