Slashdot Mirror


ADC Rates Web Browsers For Javascript Compatibility

blamanj writes "The Apple Developer's site has an article about Javascript compatibility. They rate the 6 Mac browsers for feature-completeness in the Javascript arena. For those who don't read articles, Mozilla wins by a nose."

12 of 42 comments (clear)

  1. Apple: "We're Great" by quandrum · · Score: 3, Interesting
    Seriously... even though Mozilla "won", it was only because it could do XML, which safari can't handle properly yet. Excluding that test.. Safari was the only browser that was perfect on all tests. I could certainly develop some tests that safari would fail....

    Seriously, is this meaningful in any way whatsoever?

  2. Mozilla do ALL the test OK. by TulioSerpio · · Score: 5, Informative

    I'm not using a mac, but in mozillazine.org someone said the Mozilla team corrected the scrollbars bug in the latest builds.
    In my pc seems to work, too.

    --

    I'm from Argentina: Tango, Asado, Mate, Gaucho, Maradona, YPF

  3. I wonder by KnightStalker · · Score: 3, Informative

    I'll bet the reason Safari couldn't handle that XML -- which Mozilla 1.3b didn't run on my debian system until I copied it locally and fixed the XML problems -- was that it wasn't really XML. The MIME type is "text/plain" and it didn't have a proper XML declaration.

    --
    * And remember, it's spelled N-e-t-s-c-a-p-e, but it's pronounced "Mozilla."
  4. Re:interesting... by kristjansson · · Score: 3, Funny
    Well, some of the potshots seem to be justified -- false claims of feature support, for example. Hopefully, the next version of opera for mac will fix some of the worst offenses.
    Anyway, I kind of like the Bork edition for windows... it adds quite a bit of entertainment value to the msn site. For example:
    Sey it eeen't su
    Is yuoor credeet vurse-a thun yuoo theenk? Feend oooot noo free-a

  5. Re:I wonder... by ip_vjl · · Score: 4, Informative

    Running IE6 on w2k, it fares quite well.

    The only test it seems to have some issue with is the W3CDOM test where it creates form fields on the fly.

    It creates the fields, but the radio buttons don't seem to accept a click. This may have to do with the fact that the radio buttons don't have a name attribute. I've noticed before that IE (at least mine) doesn't like unnamed radio buttons (as that's how it knows how to group them).

    Otherwise, the other tests worked quite well.

    --

    Using Mozilla/Phoenix on win - the 'Import XML' test fails on my system.

    From the Phoenix JS console:
    Error: xmlDoc.getElementsByTagName("apple")[0] has no properties
    Source File: http://developer.apple.com/internet/javascript/tes ts/import.html
    Line: 31

  6. Re:I still prefer Safari! by Anonymous Coward · · Score: 3, Funny

    If it doesn't work in Safari, then you try the first one on your list, which is ... let's see ... Safari. I don't think that is an optimal strategy.

  7. not a total waste of time... by russcoon · · Score: 5, Informative

    This article isn't bad, but it only scratches the surface of a lot of more insidious problems with all the browsers "tested".

    For instance, no real differentiation is made between DOM 0, DOM 1, and DOM 2 style events and their setters. There's not even a whisper about mutation events. The section on "display" properties totally misses the related (and more useful) problems of using attribute getters and setters in the various browsers. Ever tried setting a div to have overflow="scroll" on Safari?

    One last nit: does anyone else find it uber-annoying that ADC's articles don't have authorship attribution?

  8. Re:interesting... by russcoon · · Score: 4, Informative

    Um, it's because Opera 6.x has no DOM support to speak of. V7 is showing real promise on the platforms it's available on, but the Opera 6 series is notoriously bad at anything that isn't straight-up HTML w/ CSS.

  9. They did not test JavaScript by DeadSea · · Score: 3, Interesting
    I would be very interested to see how regular expressions (a core part of the JavaScript language) stack up in various browsers. Netscape has had good support for regexps since 4.0, IE since 5.0. Opera still seems to be lacking in these regards.

    I'm basing this on my experience writing a contact form that thwarts spam. It has (optional) client side verification of the fields based on regular expressions. (The same regular expressions are then used again on the server, the client side stuff just makes it fail fast.) When a web browser thinks it supports JavaScript, but doesn't do it well enough this runs into problems. I keep finding browsers that like the regular expressions I use.

    If you are using an uncommon browser, I would appretiate the testing. Please go to my contact page and fill out a valid email address but no subject or message. If your browser works correctly, you should not get an error about the email address. Then send me the results. (If you do have problems, disable JavaScript first.)

  10. Re:The XML test... by russcoon · · Score: 3, Interesting

    navigator.appName checking isn't portable, and it can be quite verbose (requires a check per browser per feature), whereas object detection (which is what they're doing here) allows you to detect whether or not a specific feature is supported without knowing what browsers support it.

    Browser specific hacks are what got us into the document.all vs. document.layers mess in the 4.0 days anyway.

    As for browser-specific-code WRT to the XML loading thing, there's little (if any) support for DOM 3 Load And Save (as there's no public spec yet), so executing conditional, browser specific code to get this functionality is necessaray. Mozilla has implemented the XMLHTTP object that first appeared in IE, and so it's kind of the defacto standard (similar to innerHTML, which would also go away with DOM 3 Load And Save), however creating these objects is different on the various platforms, and is again not standard.

  11. Re:People are concerned about this? by russcoon · · Score: 3, Insightful

    If you consider that the web is used for a lot more than academic papers in the year 2003, you'll be quite suprised to find that JavaScript w/ DOM bindings can be quite useful in helping to make web _application_ interfaces suck less. HTML makes an....um...interesting presentation layer for lots of stuff, application data included, but when you want to do something with that data, HTML's cracks start to show.

    http://netWindows.org/docs/round_trips.html

  12. Safari debugger by mcgroarty · · Score: 3, Interesting
    The article comments on Safari not having much in the way of Javascript debugging.

    Konqueror just got better Javascript debugging. It's in CVS now and it's slated to be part of 3.2. I wonder if Apple will pick this up sooner?