Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Javascript bugs in Safari 6 on Mountain Lion

Since I've upgraded to Safari 6 on Mountain Lion I'm having several problems that seem to be javascript-related. On many sites, for no apparent reason, interface elements will stop receiving click events. For example, checkboxes and buttons don't respond when clicked. Links don't respond if they have a "click" handler but they will work if they are plain links with an href. If I try to reload the page it stalls, as if the server is not responding. I have to relaunch safari in order for the site to load and it will inevitably happen again... just not sure when.


Other points:


1. I've seen this problem on several different sites across many domains, it's not limited to a particular site.


2. There are no javascript errors (that I can attribute to this problem) and javascript is enabled (of course).


3. For all the sites that I've experienced this problem I've loaded the same site in chrome with no problems.


4. Safari was my default browser before the upgrade and I've never experienced this problem before.


5. The only extension I have is 1Password. I tried disabling it but it hasn't improved the problem.


I'm hoping that someone else is esperiencing this problem and either has a fix or can help me get Apple's attention so they will issue a fix.


Thanks!

MacBook Pro (Retina, Mid 2012), OS X Mountain Lion, Safari 6

Posted on Jul 27, 2012 8:39 AM

Reply
135 replies

Jan 14, 2013 6:48 PM in response to Chris Shed

Your post is off-topic, but in any case what you're describing sounds like a GPU problem. My iMac had this exact problem and it also died, but I can't remember whether it was 3 days or 3 weeks of the warranty. I argued my case and they allowed me to get it replaced under an 'extended' warranty. You should do the same, be firm but don't lose your top.


In my case, they kept giving me a dodgy replacement motherboard. It took 3 motherboard replacements for a semi-decent one to arrive (it still didn't feel quite as right as the original). After another 3 years this replacement's GPU is dying again (not completely dead as I've taken the iMac out of service and replaced it with a 15" Macbook Pro with 2 GPUs I'm feeling a bit lucky).


Wish you well.

Jan 25, 2013 6:48 PM in response to chrisbrantley

I thought I saw a post in here from someone saying that it will be corrected in a 10.8.3 update, which now appears to be missing. I'm still having a problem, but I found a temporary workaround that seems to correct the problem.


I believe it's related to the Dynamic GPU switching on my non-Retina Macbook Pro, and only seems to show up when I'm using the integrated graphics card, when it switches to the more powerful card, the problem goes away.


I've been using gfxCardStatus to switch to the Nvidia card and it seems to correct the problem. Your mileage may very, but here's a link: http://gfx.io

Jan 25, 2013 7:38 PM in response to scottorchard

I really don't understand how any particular graphics card can affect the way that CSS is rendered. That seems like a browser engine task to me. These problems do not show up in Chrome or other browsers. I've had a hunch for a while now that corruption is occurring in the browser cache. The problem of broken website layouts seems to occur on sites after a subsequent visits (which is why this issue tends to occur most on GMail, Facebook and other favorite sites). When the browser is reset, everything works perfect for a short while because the corrupted cache is cleared and must be recached. Also, there is the reported issue of people going back one page and seeing only a white screen; again, the browser is not loading the history correctly. This is all just a hunch though.


I've been pretty luke warm about the direction Apple has been going over the past 6 months. If they don't fix this problem on 10.8.3, my feelings will go from luke warm to dislike and I won't be purchasing an Apple product again. It will mean that they don't listen to user feedback and don't quality-control their products. But I'm pretty confident they'll fix it, because it's just so blatently bad.

Jun 18, 2013 7:51 AM in response to chrisbrantley

I am currently finding that any amount of javascript causes weird CSS issues with my site that happens no where else (not even on my iphone).


There are no JS errors being reported in the console, everything works smoothly in every other browser, and when I disable javascript in safari everything works fine.


Is there anything further I can do to troubleshoot this?

Javascript bugs in Safari 6 on Mountain Lion

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.