Safari enters a state where certain Javascript actions don't work

Originator:joshhudnall
Number:rdar://15362452 Date Originated:31-Oct-2013 10:35 AM
Status:Open Resolved:
Product:Safari Product Version:7.0 (9537.71)
Classification:Serious Bug Reproducible:Sometimes
 
Summary:
Since updating to Mavericks, Safari has stopped working correctly on certain sites, Facebook and Pinterest being two major sites. It seems that Javascript (and maybe CSS) isn't executing (or isn't executing completely) unless triggered by an unrelated event such as using Mission Control.

Steps to Reproduce:
Open a browser tab, load Pinterest.com, mouse over any pins and see that no hover items (like, repin, etc.) show up. You also can't click to expand a pin. Also, scroll to the bottom of the page, the infinite scrolling doesn't work.

Next, activate Mission Control and simply return to Safari, now hover states work and infinite scrolling loaded the next page, but you have to enter Mission Control again to get the third page, and so on.

The same is true for Facebook.com. Infinite scrolling only loads each page after entering and exiting Mission Control.

Expected Results:
These tasks (rollovers, infinite scrolling, etc.) should just work based on their respective triggers. No outside trigger (i.e. Mission Control) should be required.

Actual Results:
I will attach a video file of the bug in action, but the actual results are described above.

Regression:
Restarting the computer solves the problem temporarily. But eventually Safari enters a state where this starts occurring. Once it does, there is no fix I've found other than restarting (possibly logging out/in, but haven't tried). Simply restarting Safari does not fix the problem.

Notes:
Provide additional information, such as references to related problems, workarounds and relevant attachments.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!