Slashdot Mirror


WebKit As Broken As Older IE Versions?

An anonymous reader writes "It's not everyday that we get to hear about the potential downsides of using WebKit, but that's just what has happened as Dave Methvin, president of the jQuery foundation and a member of the core programming team that builds the widely used Web programming tool, lamented in a blog post yesterday. While most are happy to cheer for IE's demise, perhaps having three main browser engines is still a good thing. For those that work in the space, does the story ring true? Are we perhaps swearing at the wrong browser when implementing 'workarounds' for Firefox or IE?"

24 of 213 comments (clear)

  1. Peter Kasting's answer by alendit · · Score: 5, Insightful

    If you read TFA (haha!) make sure to scroll down to the comment of Pater Kasting (Chrome dev).

    1. Re:Peter Kasting's answer by Anonymous+Brave+Guy · · Score: 4, Interesting

      Speaking as another professional web guy who's extremely frustrated with the current situation for very much the reasons in TFA, I find comments like Kasting's frustrating. Yes, there are bug reports. Yes, they have been there for a while, many years in some cases. Yes, the bugs are sometimes in really basic, everyday functionality. Yes, Chrome is by far the worst major browser for reliability based on the objective bug tracking metrics across all the projects I work on. Yes, it has been so consistently for a long time. And yes, there are comments on quite a few of those bug reports making it clear that even glaring problems aren't going to get fixed any time soon despite the developers being well aware of them. In my experience, absolutely everything Methvin said is true, and actually he's being rather kind.

      Unfortunately, on most forums, if you suggest that this is the reality, even backing it up with citations of numerous bugs in basic functionality and even citing specific records in the relevant bug databases that go back years, it's a good bet that you'll be downvoted/moderated into oblivion, or just face the kind of "What, really?" reply Kasting posted as if it's hard to believe the almighty Chrome could actually be as bad as it is. This is the stereotype geek/OSS fanboi issue, where no amount of facts and actual evidence matter in most discussions.

      I've given up even trying to file bugs for everything I find now. I'm sorry, I know it's not constructive, but my clients don't pay me to be someone else's beta tester, and since Chrome is often beta quality software I really would be spending a significant amount of my working hours just doing that.

      Instead, these days we just say that we write to established web standards where possible but the only browsers we'll support officially are recent versions of IE. While these don't have all the bleeding edge shiny, the basic functionality does generally work very reliably, and actually IE9+ have a lot of the more useful recent developments anyway. Just as important, the relatively few serious bugs in the more recent versions of IE tend to be well-known, and the necessary workarounds are well-established and stable because the goalposts don't move every six weeks. That's worth far more to someone developing real software for real clients than scoring X% in some artificial benchmark for supporting standards that don't exist yet, where X% is the box-ticking score but not the number of features that actually work.

      --
      If you disagree, post your argument. (-1, Overrated) isn't your personal censorship tool for views you don't like.
  2. Re:I can say, after having upgraded to mountain li by FyRE666 · · Score: 4, Insightful

    Must admit, although I primarily use Firefox or Chome; I have no problems at all with IE. I don't understand why people would "cheer for its demise". IE9 is a good browser, and I'm all for competition. Less competition in any space is generally bad for users, if things swing too far toward one engine we'll be in the same position we were when IE6 was the "standard" and people ended up only bothering to test on that browser. That causes stagnation.

  3. Whether WebKit is "broken" or not by 93+Escort+Wagon · · Score: 5, Interesting

    I still want to see three viable rendering engines competing in the browser world - and that's what we currently have.

    I know there are a few people who live and die with Opera, but it didn't have enough market share to make any meaningful difference - its switch to WebKit is irrelevant to most of us.

    --
    #DeleteChrome
  4. Re:No really, it's jQuery that's broken by SJHillman · · Score: 5, Insightful

    Frameworks to do simple things may be stupid, but it's just as stupid to write your own code every time too. It's hard to say which one is worse, but I'm going to say it's worse to never use a framework than to always use one unless your time has no value and you always write perfect code.

  5. While most are happy to cheer for IE's demise by thereitis · · Score: 3, Insightful

    I've never been a fan of MSIE, but to say "most" would cheer for its demise seems a little gratuitous. Competition is good.

  6. 5 year old bug? by sl4shd0rk · · Score: 3, Interesting

    That's nothing. Look[1] how long some Flash bugs have been around, or holes in MS Word, Active-X exploites, Windows exploits... it's all a matter of how much time you have to maintain the codebase, and what you prioritize.

    Things with a 98% chance of never affecting anyone will go for a long time before getting the "half-line fix" just like any other software. Yes, including jQuery[2]

    [1] - http://web.nvd.nist.gov/view/vuln/search
    [2] - http://web.nvd.nist.gov/view/vuln/search-results?query=jquery&search_type=all&cves=on

    --
    Join the Slashcott! Feb 10 thru Feb 17!
  7. Re:I can say, after having upgraded to mountain li by Anonymous Coward · · Score: 4, Interesting

    In my current position, I have definitely had to implement at the very least twice as many Chrome workarounds as IE in the last six months. I was very surprised to see Chrome behaving oddly and Firefox and IE rendering the pages identically, as prior to that time period, I had never seen Chrome and Firefox render a page in a substantially different way.

    Most of the issues have revolved around Chrome "over-reacting" to what it perceived as an XSS attack.

  8. So let me get this straight... by Sarten-X · · Score: 4, Insightful

    According to the author, Opera should spend their time and money to fix old edge-case bugs in WebKit, but he shouldn't have any obligation to contribute patches himself.

    Sorry sir, but that's not how open-source development should work. If you're going to spend time rebuilding your own codebase, evaluating whether a ton of old workarounds are still necessary because of missing "half-line fix[es]", you should consider spending some of that time contributing such simple patches upstream to improve the situation. With IE, that was never an option, but it is with WebKit. In an open-source stack, the only workarounds that should be accepted as the regular course of business are ones that are prohibitively difficult to implement in the dependency, or where the patches have been submitted and rejected.

    What's most entertaining is the reference to the "tragedy of the commons" in TFA's title. Tragedy of the commons is not something being so commonly used that it's improved in places you don't like. Rather, it's where everybody using the common property thinks that maintenance is someone else's problem. Mr. Methvin, WebKit's maintenance is as much your problem as it is Opera's.

    --
    You do not have a moral or legal right to do absolutely anything you want.
    1. Re:So let me get this straight... by kawika · · Score: 5, Informative

      I'm the author.

      So let ME get this straight: I get paid nothing for my work on jQuery, where we clean up behind all the major browsers so that people don't need to wait months or years for bugs to be fixed. We also report these bugs to the appropriate vendors with clear test cases; as you can imagine we get our share of crappy bug reports and don't want to do that to these guys. You would also like me to donate more time to become an expert at Webkit to the point where I can fix these bugs immediately on their side, despite the fact that several major well-funded companies (Google, Apple, BlackBerry, and now Opera) are paying people to (NOT) fix these bugs. Sorry, but one unpaid volunteer open-source job is enough for me.

      I would love for all the WebKit contributors to get together and say, "We'll show that guy! HAHA we fixed all your bugs so THERE!" There are rumors, however, that Opera is laying off 200 engineers and I seriously doubt they'll keep a large staff of people on fixing WebKit bugs. I've emailed Peter Kasting privately and think he is sincere in trying to get some of these fixed though.

  9. Re:No really, it's jQuery that's broken by dingen · · Score: 5, Insightful

    I code everything by hand, if it doesn't work in some browser, then that browser's implementation is broken.

    You say this like that somehow is a solution.

    --
    Pretty good is actually pretty bad.
  10. Re:I can say, after having upgraded to mountain li by Anonymous Coward · · Score: 5, Insightful

    This isnt a 'WebKit' problem, this is a Mountain Lion + Safari problem. Safari started implementing a lot more things to leverage the GPU in rendering and it did not turn out very graceful.

  11. Re:I can say, after having upgraded to mountain li by Volanin · · Score: 5, Informative

    No, it is not just him. This corruption problem with Safari is a well known problem. It appears that this problem manifests strongly in the macbook retina. There are ongoing discussions about this in many forums, including apple's own:

    https://discussions.apple.com/thread/4148522?start=0&tstart=0

    As reported by many testers, these problems have NOT been fixed in the soon-to-be-released 10.8.3 update, and they are still present in the Webkit nightly. If you are not experiencing such problems, the most probable reason is that you're using a non-retina display.

    --
    If I clone myself, can I call it a thread?
    If a girl winks to us, can I call it a race condition?
  12. Re:Hmmm by Anonymous Coward · · Score: 3, Funny

    I can see a front page paper now:

    Is Betteridge's Law of Headlines True?

  13. Jesus, what a crappy headline. by sootman · · Score: 4, Insightful

    "WebKit As Broken As Older IE Versions?"

    Yes! Because any two things that are not perfect are equally bad. :-|

    --
    Dear Slashdot: next time you want to mess with the site, add a rich-text editor for comments.
    1. Re:Jesus, what a crappy headline. by Shatrat · · Score: 4, Funny

      On the Internet, it's Nazi's all the way down.

      --
      09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
  14. Re:I can say, after having upgraded to mountain li by Nemyst · · Score: 5, Insightful

    It's inertia. IE6 was a terrible browser. IE7 and 8 were better, but not markedly so. IE9 was a total turnaround for Microsoft, and IE10 is keeping with that trend.

    However, the damage is already done. On top of it being a Microsoft product and thus being automatically terrible, dangerous and likely to cause the death of a few Linux whackjobs, its bad reputation in the past has stuck to it like a skunk's stink. Is it deserved? Not anymore, no. But you probably have noticed by now that for all our claims of technology being a fast moving sector, a lot of the people working in it are old men shouting at you to get off their lawn ;)

    Opera's shift to WebKit should concern everyone. It's likely a good decision for them, but it consolidates WebKit's position as the dominant rendering engine, and having any dominant engine is bad, as you go from standards directing engines to the dominant engine imposing "standards".

    Ironically, it's Firefox which is still doing its job: never the dominating browser, but always a significant enough force to stop any one browser from entirely dominating. Those who think Mozilla's outlasted their welcome should think again.

  15. Web developers hate IE by PapayaSF · · Score: 4, Informative

    I have no problems at all with IE. I don't understand why people would "cheer for its demise".

    If you don't hate IE, then you haven't been building websites. For years, the standard process for me was to write perfectly valid HTML and CSS that would render the same way in every other browser, and then spend time screwing around with it until it looked correct in IE. It added 10%, easily, to the cost of every project, and I've read of others claiming 30% or more.

    --
    Q: What does the "B." in Benoit B. Mandelbrot stand for? A: Benoit B. Mandelbrot
    1. Re:Web developers hate IE by FyRE666 · · Score: 4, Insightful

      "If you don't hate IE, then you haven't been building websites."

      First website I built was around 20 years ago. Last website I built completed a couple of weeks ago.

      I've been through pretty much every version of IE, Netscape, Firefox, Chrome, Opera, Safari, (and Mozaic). If you're not charging clients extra now for IE6/7 support, then you really need to look at your business practices. I don't "hate" any platform; I just charge clients if they need a platform supported. Of course, you're free to go on some religious or idealogical crusade in your spare time if you like, but getting emotional about a browser doesn't make much sense.

      It's funny to me to hear people claiming IE6 is incapable of rending content etc, when we were making arcade style games, windowing systems, AJAX style requests (piggybacking data in cookies from image src requests) back with IE4 and NS4.

      tl;dr Charge clients for the extra work, or get new clients. Don't work for free and then moan about it.

  16. Re:I can say, after having upgraded to mountain li by Anonymous Coward · · Score: 5, Informative

    That's a little dishonest. When IE6 was released in 2001 it was quite good. There was also virtually nothing else on the market as AOL let Netscape flounder for five years and the earliest viable releases of Mozilla were still two years away and Firefox another year after that. IE6 also did quite a bit to tighten up the standards compliance at that time, including fixing the box model. Everything leading up to that point was a huge mess of feature-ramming on the parts of both AOL/Netscape and Microsoft while the W3C slowly toddled along.

    What Microsoft did that was blatantly stupid was to stagnate IE for five years between 6 and 7, effectively halting the development towards better standards compliance. And while Netscape at least had the excuses of recent acquisitions and bad project management Microsoft did this quite intentionally by all-but-disbanding the IE team entirely.

    IE has come a long way since then. IE9 and especially IE10 are very usable browsers in terms of speed and compliance. They're not perfect, but nothing is. What we need above everything else is an accurate measure of compliance. The W3C HTML/CSS Test Suites are the perfect avenue for that, very narrow unit tests of specific rendering functionality. The problem is that it's not as pretty or fancy as some colorful ACID test.

  17. Re:No really, it's jQuery that's broken by Lisias · · Score: 3, Insightful

    Frameworks to do simple things may be stupid, but it's just as stupid to write your own code every time too.

    Being that the reason that old school programmers make their own frameworks? :-)

    There's something very wrong when you spend less time building your own framework than learning a well known and stablished one to do your task.

    You can argue that a well known and stablished framework will save time on the long run. But I will counter-argue stating that this is only true if the guy knows the framework by heart - otherwise he will be screwed up on every single mistake did by someone's else.

    It's better to "waste" a little time now and in every project in the future, than to waste a huge one now and then in the hope that somewhere the future I will be able to throw up a new system every week without hassle - what's is not going to happen anyway, because in less than a year everything is changed, and things will start to break, and the cycle starts again.

    --
    Lisias@Earth.SolarSystem.OrionArm.MilkyWay.Local.Virgo.Universe.org
  18. Re:No really, it's jQuery that's broken by sdsucks · · Score: 4, Insightful

    Here's a few reasons to use libraries and frameworks:
    1) Development speed.
    2) Browser support and testing.
    3) Maintenance.

    I'll let you figure out how they help in those situations - and there are many other reasons, on top of those.

    developers need to stop using "frameworks" and "libraries" to do simple things.

    Seriously, this is a really fucking stupid thing to say. Imagine telling a C developer to re-implement printf() for every application (and every platform it will run on) that needs to print a line of output.

  19. Re:No really, it's jQuery that's broken by keytoe · · Score: 3, Insightful

    I hate to say it but web developers need to stop using "frameworks" and "libraries" to do simple things.

    People using the wrong tools for the wrong jobs is the problem - not frameworks in general.

    There's so many websites that load jQuery or TinyMCE for no good reason other than the developer was lazy.

    Laziness is one of the hallmarks of a good programmer. It's also an incredibly useful trait for aligning with management and/or a client. A programmer who saves himself having to reimplement tedious and repetitive things is a programmer that is saving money.

    I code everything by hand, if it doesn't work in some browser, then that browser's implementation is broken. There should be no need to write against jQuery and assume that the underlying browser isn't braindead or futureproof. If you're writing against the standards for HTML5, CSS3 and the DOM, then you're better off writing your own code.

    Eight years ago for an internal project, I wrote all my own DOM wrappers from scratch. It was fast, I knew every inch inside and out, and it worked in all DOM compliant browsers. It took a bit of foresight and prep work to get there, but the payoff was sound. There weren't a lot of options out there at the time, so this was pretty much the only option.

    A year ago I started a contract job for a client. I elected to use jquery as a standardized DOM manipulation tool. The actual application code from a developer/client perspective all worked roughly the same as the hand-tooled code from before - except I didn't have to write, and more importantly bill the client, for any of that time. The jquery element traversal utilities alone will save you so much time you won't even believe it.

    In the end, both projects ended up with chunk of code being loaded by the browser to make fiddling the DOM in a cross platform manner easier and more reliable for the application code. In the first case, that cost the company money. In the second case, it was 'free'. In both cases, the browser is downloading a dependency 'framework' in order for the application to function.